Files
UnrealEngineUWP/Engine/Source/Developer/VisualGraphUtils/Public/VisualGraphNode.h
Helge Mathee b741423387 Graph Visualizer: Replacing Control Rig AST visualizer with common service
#rb halfdan.ingvarsson
#jira na
#preflight https://horde.devtools.epicgames.com/job/614382398169560001036499

[CL 17735754 by Helge Mathee in ue5-main branch]
2021-10-06 11:19:01 -04:00

32 lines
678 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "VisualGraphElement.h"
class VISUALGRAPHUTILS_API FVisualGraphNode : public FVisualGraphElement
{
public:
FVisualGraphNode()
: FVisualGraphElement()
, Shape()
, SubGraphIndex(INDEX_NONE)
{}
virtual ~FVisualGraphNode() override {}
TOptional<EVisualGraphShape> GetShape() const { return Shape; }
void SetShape(EVisualGraphShape InValue) { Shape = InValue; }
protected:
virtual FString DumpDot(const FVisualGraph* InGraph, int32 InIndendation) const override;
TOptional<EVisualGraphShape> Shape;
int32 SubGraphIndex;
friend class FVisualGraph;
friend class FVisualGraphSubGraph;
};