Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

42 lines
853 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Containers/UnrealString.h"
#include "CoreTypes.h"
#include "HAL/PlatformCrt.h"
#include "Misc/Optional.h"
#include "VisualGraphElement.h"
#define UE_API VISUALGRAPHUTILS_API
class FVisualGraph;
class 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:
UE_API virtual FString DumpDot(const FVisualGraph* InGraph, int32 InIndendation) const override;
TOptional<EVisualGraphShape> Shape;
int32 SubGraphIndex;
friend class FVisualGraph;
friend class FVisualGraphSubGraph;
};
#undef UE_API