You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Headers are updated to contain any missing #includes needed to compile and #includes are sorted. Nothing is removed. #ushell-cherrypick of 21064294 by bryan.sefcik #jira #preflight 62d5c2111062f2e63015e598 #ROBOMERGE-OWNER: bryan.sefcik #ROBOMERGE-AUTHOR: bryan.sefcik #ROBOMERGE-SOURCE: CL 21155249 via CL 21158121 via CL 21161259 #ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824) [CL 21182053 by bryan sefcik in ue5-main branch]
49 lines
1019 B
C++
49 lines
1019 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Containers/UnrealString.h"
|
|
#include "HAL/Platform.h"
|
|
#include "UObject/ObjectMacros.h"
|
|
#include "VisualGraphElement.h"
|
|
|
|
#include "VisualGraphEdge.generated.h"
|
|
|
|
class FVisualGraph;
|
|
|
|
UENUM()
|
|
enum class EVisualGraphEdgeDirection : uint8
|
|
{
|
|
SourceToTarget,
|
|
TargetToSource,
|
|
BothWays
|
|
};
|
|
|
|
class VISUALGRAPHUTILS_API FVisualGraphEdge : public FVisualGraphElement
|
|
{
|
|
public:
|
|
|
|
FVisualGraphEdge()
|
|
: FVisualGraphElement()
|
|
, Direction(EVisualGraphEdgeDirection::SourceToTarget)
|
|
{}
|
|
|
|
virtual ~FVisualGraphEdge() override {}
|
|
|
|
int32 GetSourceNode() const { return SourceNode; }
|
|
int32 GetTargetNode() const { return TargetNode; }
|
|
EVisualGraphEdgeDirection GetDirection() const { return Direction; }
|
|
|
|
protected:
|
|
|
|
virtual FString DumpDot(const FVisualGraph* InGraph, int32 InIndendation) const override;
|
|
|
|
int32 SourceNode;
|
|
int32 TargetNode;
|
|
EVisualGraphEdgeDirection Direction;
|
|
|
|
friend class FVisualGraph;
|
|
friend class FVisualGraphSubGraph;
|
|
};
|
|
|