()
| 36 | } |
| 37 | |
| 38 | const clearGraph = () => { |
| 39 | graphData.nodes = [] |
| 40 | graphData.edges = [] |
| 41 | handleCanvasClick() |
| 42 | } |
| 43 | |
| 44 | const updateGraphData = (nodes, edges) => { |
| 45 | graphData.nodes = nodes || [] |
nothing calls this directly
no test coverage detected