Table of Contents

Class FlowGraphView

Namespace
Ceres.Editor.Flow
Assembly
Ceres.Flow.Editor.dll
public class FlowGraphView : CeresGraphView, IVariableSource, IDisposable
Inheritance
FlowGraphView
Implements
Inherited Members

Constructors

FlowGraphView(FlowGraphEditorWindow)

public FlowGraphView(FlowGraphEditorWindow editorWindow)

Parameters

editorWindow FlowGraphEditorWindow

Properties

DebugState

Editor debug state

public FlowGraphDebugState DebugState { get; }

Property Value

FlowGraphDebugState

FlowGraphEditorWindow

Bound editor window

public FlowGraphEditorWindow FlowGraphEditorWindow { get; }

Property Value

FlowGraphEditorWindow

GraphName

Bound graph verified name

public string GraphName { get; }

Property Value

string

Methods

CanPasteSerializedGraph(string)

protected override bool CanPasteSerializedGraph(string serializedData)

Parameters

serializedData string

Returns

bool

CanSimulate()

public bool CanSimulate()

Returns

bool

DeserializeGraph(FlowGraphEditorObject)

public void DeserializeGraph(FlowGraphEditorObject editorObject)

Parameters

editorObject FlowGraphEditorObject

DeserializeSubGraph(FlowGraphEditorObject, string)

public void DeserializeSubGraph(FlowGraphEditorObject editorObject, string slotName)

Parameters

editorObject FlowGraphEditorObject
slotName string

Dispose()

public void Dispose()

IsPaused()

public bool IsPaused()

Returns

bool

NextBreakpoint()

public void NextBreakpoint()

NextFrame()

public void NextFrame()

OnCopySerializedGraph(IEnumerable<GraphElement>)

protected override string OnCopySerializedGraph(IEnumerable<GraphElement> elements)

Parameters

elements IEnumerable<GraphElement>

Returns

string

OnDestroy()

Called after detached from editor window

protected override void OnDestroy()

OnDragDropElementPerform(List<ISelectable>, GraphElement, Vector2)

protected override void OnDragDropElementPerform(List<ISelectable> selectables, GraphElement graphElement, Vector2 mousePosition)

Parameters

selectables List<ISelectable>
graphElement GraphElement
mousePosition Vector2

OnPasteSerializedGraph(string, string)

protected override void OnPasteSerializedGraph(string operationName, string serializedData)

Parameters

operationName string
serializedData string

SerializeGraph(FlowGraphEditorObject)

Serialize flow graph to editor data container

public bool SerializeGraph(FlowGraphEditorObject editorObject)

Parameters

editorObject FlowGraphEditorObject

Serialization target

Returns

bool

Whether serialization is succeeded

SetDebugEnabled(bool)

public void SetDebugEnabled(bool enabled)

Parameters

enabled bool

SimulateExecution()

Execute simulate event in editor if existed

public UniTask SimulateExecution()

Returns

UniTask