insertAfter

fun insertAfter(sibling: Node, node: Node): Node(source)

Inserts a #GNode beneath the parent after the given sibling.

Return

the inserted #GNode

Parameters

sibling

the sibling #GNode to place @node after. If sibling is null, the node is inserted as the first child of @parent.

node

the #GNode to insert