MCPcopy
hub / github.com/clientIO/joint / useGraph

Function useGraph

packages/joint-react/src/hooks/use-graph.ts:15–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 * ```
14 */
15export function useGraph() {
16 const { graph } = useGraphStore();
17 return graph;
18}

Callers 15

ComponentFunction · 0.90
ComponentFunction · 0.90
GraphProviderHandlerFunction · 0.90
ComponentFunction · 0.90
ComponentFunction · 0.90
useRemoveCellFunction · 0.90
useRemoveElementFunction · 0.90
useRemoveLinkFunction · 0.90
useCreateLinkFunction · 0.90
useCreateElementFunction · 0.90

Calls 1

useGraphStoreFunction · 0.90

Tested by

no test coverage detected