Method AddNode
AddNode(GraphDescriptor, NodeEditor)
Add a new Node to the Graph, from the specified NodeEditor type
Declaration
public static NodeDescriptor AddNode(GraphDescriptor desc, NodeEditor nodeEditor)
Parameters
Type | Name | Description |
---|---|---|
GraphDescriptor | desc | The GraphDescriptor |
NodeEditor | nodeEditor | The NodeEditor type to create a NodeDescriptor in the Graph |
Returns
Type | Description |
---|---|
NodeDescriptor | Returns a new NodeDescriptor |
AddNode(GraphDescriptor, string)
Add a new Node to the Graph, from the specified fullTypeName
Declaration
public static NodeDescriptor AddNode(GraphDescriptor desc, string fullTypeName)
Parameters
Type | Name | Description |
---|---|---|
GraphDescriptor | desc | The GraphDescriptor |
string | fullTypeName | The fullTypeName to create a NodeDescriptor in the Graph |
Returns
Type | Description |
---|---|
NodeDescriptor | Returns a new NodeDescriptor |
AddNode(GraphDescriptor, string, string)
Add a new Node to the Graph, from the specified category and nodeTypeName
Declaration
public static NodeDescriptor AddNode(GraphDescriptor desc, string category, string nodeTypeName)
Parameters
Type | Name | Description |
---|---|---|
GraphDescriptor | desc | The GraphDescriptor |
string | category | The category to create a NodeDescriptor in the Graph |
string | nodeTypeName | The nodeTypeName to create a NodeDescriptor in the Graph |
Returns
Type | Description |
---|---|
NodeDescriptor | Returns a new NodeDescriptor |
AddNode(GraphDescriptor, Type)
Add a new Node to the Graph, from the specified category and nodeTypeName
Declaration
public static NodeDescriptor AddNode(GraphDescriptor desc, Type nodeType)
Parameters
Type | Name | Description |
---|---|---|
GraphDescriptor | desc | The GraphDescriptor |
Type | nodeType | The type of the node to create |
Returns
Type | Description |
---|---|
NodeDescriptor | Returns a new NodeDescriptor |