You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb halfdan.ingvarsson #jira na #preflight https://horde.devtools.epicgames.com/job/614382398169560001036499 #ROBOMERGE-AUTHOR: helge.mathee #ROBOMERGE-SOURCE: CL 17735754 in //UE5/Main/... #ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426) [CL 17735765 by helge mathee in ue5-release-engine-test branch]
43 lines
900 B
C++
43 lines
900 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "VisualGraphElement.h"
|
|
#include "VisualGraphEdge.generated.h"
|
|
|
|
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;
|
|
};
|
|
|