Class NodeExpandable
Class NodeExpandable. Implements the NodeExpandable
Inherited Members
Namespace: Mechatronics.SystemGraph
Assembly: solution.dll
Syntax
[Serializable]
public class NodeExpandable : NodeRuntime
Fields
| Name | Description |
|---|---|
| _portMap | The port map |
Properties
| Name | Description |
|---|---|
| PortList | Gets the port list. |
| PortMap | Gets the port map. |
Methods
| Name | Description |
|---|---|
| GetAllowedPortTypes() | Called from the editor to get the allowed port types override the function to return a custom list of ports to add. |
| GetDynamicPort(string) | Gets the dynamic port. |
| GetDynamicPort<T>(string) | Gets the dynamic port. |
| OnPortAdded(string, Type, string, PortDirection, FieldExtra, ref IPortType) | PortAddition event received from the editor during edit mode if ExpandablePorts attribute is set. By default this function will accept all ports. |
| OnPortRemoved(string) | Port removal event recieved from the editor during edit mode if ExpandablePorts attribute is set. By default this function will reject all removeals |
| UpdatePortMap() | Updates the port map. |