(showTypes: boolean)
| 24 | } |
| 25 | |
| 26 | public rebuild(showTypes: boolean): void { |
| 27 | switch (this.graph.graphPhase.stateType) { |
| 28 | case GraphStateType.NeedToFullRebuild: |
| 29 | this.fullRebuild(showTypes); |
| 30 | break; |
| 31 | case GraphStateType.Cached: |
| 32 | this.cachedRebuild(); |
| 33 | break; |
| 34 | default: |
| 35 | throw "Unsupported graph state type"; |
| 36 | } |
| 37 | this.graph.graphPhase.rendered = true; |
| 38 | } |
| 39 | |
| 40 | private fullRebuild(showTypes: boolean): void { |
| 41 | this.startTime = performance.now(); |
no test coverage detected