| 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 }, |
nothing calls this directly
no outgoing calls
no test coverage detected