(func: (e: GraphEdge) => void)
| 34 | } |
| 35 | |
| 36 | public forEachEdge(func: (e: GraphEdge) => void) { |
| 37 | for (const node of this.nodeMap) { |
| 38 | if (!node) continue; |
| 39 | for (const edge of node.inputs) { |
| 40 | func(edge); |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | public redetermineGraphBoundingBox(showTypes: boolean): [[number, number], [number, number]] { |
| 46 | this.minGraphX = 0; |
no test coverage detected