APLX Help
: System Classes
: Methods
: Insertnodes
|
|
![]() |
The 'Insertnodes' method |
Argument: 3-element nested vector Valid for: Tree The Insertnodes method inserts one or more new nodes into a Tree object. The argument is a nested vector of 3 elements. The first element is an integer scalar, representing the node ID into which the new node(s) should be placed. (You can alternatively specify the keyword 'root' to indicate that the new node(s) should appear at the top level). The second element is an integer scalar which indicates the node after which the new nodes should be placed. (You can alternatively specify a character vector, being one of 'first' 'last' or 'sort'). The third element is a 3, 4 or 5 column matrix (or vector if just one node is being added), with the same structure as for the list property. Each row has fields: id depth label [image_indices [state]] |
|
APLX Help
: System Classes
: Methods
: Insertnodes
|
Copyright © 1996-2010 MicroAPL Ltd