MCPcopy Create free account
hub / github.com/WardAnalytics/WardGraph / GraphState

Interface GraphState

src/components/graph/Graph.tsx:342–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340 * can still redo to the last state. */
341
342 interface GraphState {
343 nodes: Node[];
344 edges: Edge[];
345 }
346
347 const [graphStates, setGraphStates] = useState<GraphState[]>([
348 { nodes: initialNodes, edges: initialEdges },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected