Node.insert

Inserts a #GNode beneath the parent at the given position.

class Node
insert

Parameters

position int

the position to place @node at, with respect to its siblings If position is -1, @node is inserted as the last child of @parent

node Node

the #GNode to insert

Return: the inserted #GNode

Meta