Skip to main content

Home > @jsplumbtoolkit/core > Port > getParent

Port.getParent() method

Gets the vertex this Port belongs to. Remember that Group extends Node, so this could be a Group, but Ports cannot have child Ports.

Signature:

getParent(): Node;

Returns:

Node