()
| 66 | |
| 67 | //empties the graph |
| 68 | function clearGraph() { |
| 69 | nodes.splice(0); |
| 70 | links.splice(0); |
| 71 | lastNodeId = 0; |
| 72 | restart(); |
| 73 | showGraphLatex(); |
| 74 | } |
| 75 | |
| 76 | //set initial positions for quick convergence |
| 77 | function positionNodes() { |
nothing calls this directly
no test coverage detected