Custom hook to retrieve the graph instance from the graph store.
Return JointJS graph instance from the graph store.
The JointJS graph instance.
https://docs.jointjs.com/api/dia/Graph/
const graph = useGraph() Copy
const graph = useGraph()
Custom hook to retrieve the graph instance from the graph store.
Return JointJS graph instance from the graph store.