Class GraphEditorView
GraphEditorView represents the graph view container that lives in the editor window. Implements the VisualElement
Implements
Inherited Members
Namespace: Mechatronics.SystemGraph
Assembly: solution.dll
Syntax
public class GraphEditorView : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle
Constructors
Name | Description |
---|---|
GraphEditorView(GraphEditorWindow, GraphEditorObject) | Initializes a new instance of the GraphEditorView class. |
Properties
Name | Description |
---|---|
DebugMode | Gets a value indicating whether [debug mode]. |
Dirty | Gets or sets a value indicating whether this GraphEditorView is dirty. |
GraphInstance | Gets the graph instance. |
GraphObject | Gets the graph object representation. |
LogicGraphView | Gets the logic graph view. |
ReloadGraph | Sets a value indicating whether [reload graph]. |
ToolbarDetail | Gets the toolbar detail. |
Window | Gets the window. |
saveRequested | Gets or sets the save requested. |
showInProjectRequested | Gets or sets the show in project requested. |
Methods
Name | Description |
---|---|
AddEdge(SystemEdge) | Adds the edge. |
AddGroup(SystemGroupView) | Adds the group. |
AddNode(NodeEditor) | Adds the node. |
AddParameterFromLoad(ParameterDescriptor) | Adds the parameter from load. |
FindNodeView(string) | Finds the node view. |
GetTypesOrNothing(Assembly) | Gets the types or nothing. |
HandleGraphChanges() | Handles the graph changes. |
MoveParameterIndex(int, int) | Moves the index of the parameter. |
OnGraphInstanceAttached() | Called when [graph instance attached]. |
OnGraphInstanceDetached() | Called when [graph instance detached]. |
OnGraphMouseMove(MouseMoveEvent) | Called when [graph mouse move]. |
ReOrderLayers() | Res the order layers. |
RefreshAssetName() | Synchronize asset file name |
RefreshNodeName(LogicNodeView) | Refreshes the name of the node. |
ReloadEdges(LogicNodeView, bool) | Reloads the edges. |
RemoveEdges(LogicNodeView, bool) | Removes the edges. |
RenameProperty(string, string) | Renames the property. |
SaveGraph() | Saves the graph. |
SignalDestroy() | Signals the destroy. |
Update() | Updates this instance. |