Class FlowGraphEditorWindow
Inheritance
object
FlowGraphEditorWindow
Implements
IHasCustomMenu
Inherited Members
Namespace: Ceres.Editor.Graph.Flow
Assembly: cs.temp.dll.dll
Syntax
public class FlowGraphEditorWindow : CeresGraphEditorWindow<IFlowGraphContainer, FlowGraphEditorWindow>, IHasCustomMenu
Properties
DebugState
Editor debug state
Declaration
public FlowGraphDebugState DebugState { get; }
Property Value
Type | Description |
---|---|
FlowGraphDebugState |
EditorObject
Editor view model
Declaration
public FlowGraphEditorObject EditorObject { get; }
Property Value
Type | Description |
---|---|
FlowGraphEditorObject |
GraphIndex
Editing graph view index
Declaration
public int GraphIndex { get; }
Property Value
Type | Description |
---|---|
int |
Methods
CanCreateFunctionSubGraph()
Declaration
public bool CanCreateFunctionSubGraph()
Returns
Type | Description |
---|---|
bool |
CreateFunctionSubGraph()
Create a new subGraph to present custom function
Declaration
public void CreateFunctionSubGraph()
GetGraphView()
Get current editing graph view
Declaration
public FlowGraphView GetGraphView()
Returns
Type | Description |
---|---|
FlowGraphView |
GetOrCreateGraphView(int)
Get or create graph view by id
Declaration
public FlowGraphView GetOrCreateGraphView(int id)
Parameters
Type | Name | Description |
---|---|---|
int | id |
Returns
Type | Description |
---|---|
FlowGraphView |
OnDisable()
Declaration
protected override void OnDisable()
Overrides
Ceres.Editor.Graph.CeresGraphEditorWindow<Ceres.Graph.Flow.IFlowGraphContainer, Ceres.Editor.Graph.Flow.FlowGraphEditorWindow>.OnDisable()
OnInitialize()
Declaration
protected override void OnInitialize()
Overrides
OnReloadGraphView()
Declaration
protected override void OnReloadGraphView()
Overrides
Ceres.Editor.Graph.CeresGraphEditorWindow<Ceres.Graph.Flow.IFlowGraphContainer, Ceres.Editor.Graph.Flow.FlowGraphEditorWindow>.OnReloadGraphView()
OpenSubgraphView(string)
Open subGraph view by name
Declaration
public void OpenSubgraphView(string subGraphName)
Parameters
Type | Name | Description |
---|---|---|
string | subGraphName |
RemoveSubgraph(string)
Remove subGraph and update view
Declaration
public void RemoveSubgraph(string guid)
Parameters
Type | Name | Description |
---|---|---|
string | guid |
RenameSubgraph(string, string)
Rename subGraph and update view
Declaration
public void RenameSubgraph(string guid, string newName)
Parameters
Type | Name | Description |
---|---|---|
string | guid | |
string | newName |
ResolveFunctionInputParameters(LocalFunction)
Resolve custom function input parameters
Declaration
public CustomFunctionInputParameter[] ResolveFunctionInputParameters(LocalFunction localFunction)
Parameters
Type | Name | Description |
---|---|---|
LocalFunction | localFunction |
Returns
Type | Description |
---|---|
CustomFunctionInputParameter[] |
ResolveFunctionTypes(LocalFunction)
Resolve custom function parameter types
Declaration
public (Type, Type[]) ResolveFunctionTypes(LocalFunction localFunction)
Parameters
Type | Name | Description |
---|---|---|
LocalFunction | localFunction |
Returns
Type | Description |
---|---|
(Type, Type[]) |
SaveGraphData()
Save current editing flow graph
Declaration
public void SaveGraphData()
Implements
IHasCustomMenu