Method “createRawNode”
function createRawNode(type, initial_data)
Low level creation of a library node
Parameters
| Name | Type | Description |
|---|---|---|
type | string | Type name of the new node (e.g. "CollectionNode") |
initial_data | any | Properties to set on the new node at creation time |
Return Value
Returns the node object corresponding to the newly created node.