• For the given vertex, resolves the node/group it pertains to. If the vertex is already a node/group, it is returned. Otherwise, if it is a port, the parent of the port is returned.

    Parameters

    • v: Vertex

    Returns Node | Group