Class NodeEditor
NodeEditor extension for SystemGraph node. It is a container for the information within a node: ports, position, state of ports. Describes how to draw a node. Implements the INodeEditor
Inherited Members
Namespace: Mechatronics.SystemGraph
Assembly: solution.dll
Syntax
[Serializable]
public class NodeEditor : INodeEditor
Constructors
Name | Description |
---|---|
NodeEditor(NodeRuntime) | Initializes a new instance of the NodeEditor class. |
Fields
Name | Description |
---|---|
AttachedProperty | The attached property |
targetGroup | The target group |
Properties
Name | Description |
---|---|
DisplayName | Gets or sets the display name. |
Expanded | Gets or sets a value indicating whether this NodeEditor is expanded. |
MirrorPorts | Gets or sets a value indicating whether ports are mirrored. |
NodeRT | Gets or sets the node runtime. |
Position | Gets or sets the position of the node editor. |
Methods
Name | Description |
---|---|
AddDynamicPort(string, Type, PortDirection, FieldExtra) | Adds a dynamic port to the node. |
AddListPort<T>(IPortEditor, string, T) | Adds a list port. |
AddListPort<T>(string) | Adds a list port. |
AddListPort<T>(string, T) | Adds a list port. |
AddPorts() | Adds the ports of that node editor. |
ConstructNode(bool) | Constructs the node from this node editor. |
GetPortIndex(PortView) | Gets the index of the port. |
IsDebugMode() | Determines whether we are in debug mode. |
NodeType() | Retrieve the node type name. |
RefreshBoundParameter() | Refreshes the bound parameter information. |
RemoveDynamicPort(string) | Removes a dynamic port. |
RemoveListPort(IPortEditor) | Removes a list port. |
RenameDynamicPort(int, string) | Renames a dynamic port. |
RenameDynamicPort(string, string) | Renames a dynamic port. |
SetDirty() | Sets the dirty state. Setting dirty to true will generate the serialized data for this node editor. |
SortSlots() | Sorts the slots so they show up in the customized order. |