@joint/react
    Preparing search index...

    Function selectCellParent

    • Selects the id of the cell this one is embedded in, or null for a top-level cell. Works for elements and links alike, since any cell can be embedded.

      Parameters

      Returns ID | null

      import { useCell, selectCellParent } from '@joint/react';

      const parentId = useCell(cellId, selectCellParent);