| Parameter | Description |
|---|---|
| subgraphType | The type of the subgraph to create. |
| name | The name of the local subgraph. |
| position | The position of the node. |
ISubgraphNode The newly created subgraph node.
Creates and adds a new local subgraph node.
Enclose this method with Graph.UndoBeginRecordGraph and Graph.UndoEndRecordGraph to add this operation to the undo stack and to update the graph view with the changes.
| Parameter | Description |
|---|---|
| name | The name of the local subgraph. |
| position | The position of the node. |
ISubgraphNode The newly created subgraph node.
Creates and adds a new local subgraph node.
Enclose this method with Graph.UndoBeginRecordGraph and Graph.UndoEndRecordGraph to add this operation to the undo stack and to update the graph view with the changes.