Method AddNodeDescriptor
AddNodeDescriptor(GraphDescriptor, NodeDescriptor, TreeNode, PortDirection, PortDirection)
Adds the node descriptor.
Declaration
protected GraphTree.TreeNode AddNodeDescriptor(GraphDescriptor desc, NodeDescriptor node, GraphTree.TreeNode parent, PortDirection parentSide, PortDirection selfSide)
Parameters
Type | Name | Description |
---|---|---|
GraphDescriptor | desc | The graph descriptor. |
NodeDescriptor | node | The node descriptor to add. |
GraphTree.TreeNode | parent | The parent TreeNode. |
PortDirection | parentSide | The parent side. |
PortDirection | selfSide | Add to the side of this node descriptor. |
Returns
Type | Description |
---|---|
GraphTree.TreeNode | TreeNode that was created. |