@joint/react
    Preparing search index...

    Function useRemoveLink

    • A custom hook that removes a link from the graph by its ID.

      Returns (id: ID) => void

      A function that removes the link from the graph.

      const removeLink = useRemoveLink();
      removeLink('1');