getParent

Get the parent of this node in the canvas tree.

getParent(): Promise<AnyNode | null

Returns

  • Promise<AnyNode | null> – The parent node, or null if this is a root node.