()
| 476 | } |
| 477 | |
| 478 | private layoutGraph(): void { |
| 479 | const layoutMessage = this.graph.graphPhase.stateType == GraphStateType.Cached |
| 480 | ? "Layout graph from cache" |
| 481 | : "Layout graph"; |
| 482 | |
| 483 | console.time(layoutMessage); |
| 484 | this.graphLayout.rebuild(this.state.showTypes); |
| 485 | const extent = this.graph.redetermineGraphBoundingBox(this.state.showTypes); |
| 486 | this.panZoom.translateExtent(extent); |
| 487 | this.minScale(); |
| 488 | console.timeEnd(layoutMessage); |
| 489 | } |
| 490 | |
| 491 | private appendInputAndOutputBubbles(svg: d3.Selection<SVGGElement, GraphNode, null, GraphNode>, |
| 492 | node: GraphNode): void { |
no test coverage detected