Method “createRawNode”

function createRawNode(type, initial_data)

Low level creation of a library node

Parameters

NameTypeDescription
typestringType name of the new node (e.g. "CollectionNode")
initial_dataanyProperties to set on the new node at creation time

Return Value

Returns the node object corresponding to the newly created node.