Class FlowGraphEditorWindow
public class FlowGraphEditorWindow : CeresGraphEditorWindow<IFlowGraphContainer, FlowGraphEditorWindow>, IHasCustomMenu
- Inheritance
-
FlowGraphEditorWindow
- Implements
-
IHasCustomMenu
- Inherited Members
Constructors
FlowGraphEditorWindow()
public FlowGraphEditorWindow()
Properties
DebugState
Editor debug state
public FlowGraphDebugState DebugState { get; }
Property Value
EditorObject
Editor view model
public FlowGraphEditorObject EditorObject { get; }
Property Value
GraphIndex
Editing graph view index
public int GraphIndex { get; }
Property Value
Methods
CanCreateFunctionSubGraph()
public bool CanCreateFunctionSubGraph()
Returns
CreateFunctionSubGraph()
Create a new subGraph to present custom function
public void CreateFunctionSubGraph()
GetGraphView()
Get current editing graph view
public FlowGraphView GetGraphView()
Returns
GetOrCreateGraphView(int)
Get or create graph view by id
public FlowGraphView GetOrCreateGraphView(int id)
Parameters
idint
Returns
OnDisable()
protected override void OnDisable()
OnInitialize()
Initialize graph view in this stage
protected override void OnInitialize()
OnReloadGraphView()
Construct graph view after reloading
protected override void OnReloadGraphView()
OpenSubgraphView(string)
Open subGraph view by name
public void OpenSubgraphView(string subGraphName)
Parameters
subGraphNamestring
RemoveSubgraph(string)
Remove subGraph and update view
public void RemoveSubgraph(string guid)
Parameters
guidstring
RenameSubgraph(string, string)
Rename subGraph and update view
public void RenameSubgraph(string guid, string newName)
Parameters
ResolveFunctionInputParameters(LocalFunction)
Resolve custom function input parameters
public CustomFunctionInputParameter[] ResolveFunctionInputParameters(LocalFunction localFunction)
Parameters
localFunctionLocalFunction
Returns
ResolveFunctionTypes(LocalFunction)
Resolve custom function parameter types
public (Type, Type[]) ResolveFunctionTypes(LocalFunction localFunction)
Parameters
localFunctionLocalFunction
Returns
SaveGraphData()
Save current editing flow graph
public void SaveGraphData()