The node is by far the most elaborate component of visual scripts. It plays a key role in the structure, execution, and layout of the visual script.
All nodes in iCanScript share a common set of attributes:
Name: A character string representation of the node;
Type: Identifies the node specialization.
Tree-like Hierarchical Structure:
A parent node;
Zero or more child components:
Child Nodes (nested Visual Script).
Graphical Representation: (see figure 2
Position within the parent node;
The following image depicts an unfolded node as seen in the Visual Editor:
The following image depicts the same unfolded node as seen in the Tree View:
Node Name: User configurable name for the node. The name is editable in the inspector or the hierarchy tree. The programmatic function / type name is used by default.
Iconize Control: Clicking this pictogram causes the node to take its iconic representation.
Fold/Unfold Control: Clicking this pictogram toggles the node between its folded and unfolded representation. The fold/unfold control is available only for those node types that can contain nested visual scripts. (see [Node Types] for details).
Node Ports: Ports are positioned on any of the four node edges.
Port Name is displayed inside the node;
Port Value is display outside the node.
Nested Visual Script: The central area of the node is used to manage the nested child nodes. The child node container is only visible when the node is unfolded. See section [Node Types] for details on which node types support nested children.
Created : 2015-03-16 20:07:13, Last Modified : 2015-03-16 20:07:13