@joint/react
    Preparing search index...

    Function useRemoveCell

    • A custom hook that removes an node or link from the graph by its ID.

      Returns (id: ID) => void

      A function that removes the element from the graph.

      const removeCell = useRemoveCell();
      removeCell('1');