diff options
Diffstat (limited to 'static/graph-layout-core.ts')
-rw-r--r-- | static/graph-layout-core.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/static/graph-layout-core.ts b/static/graph-layout-core.ts index 6f6643651..4093d7ef4 100644 --- a/static/graph-layout-core.ts +++ b/static/graph-layout-core.ts @@ -656,12 +656,14 @@ export class GraphLayoutCore { for (const edgeColumn of this.edgeColumns) { for (const intervalTree of edgeColumn.intervals) { // Note: Incorrect types in the interval tree library + // After https://github.com/alexbol99/flatten-interval-tree/pull/42 this can be intervalTree.clear() (intervalTree.root as Node<EdgeSegment> | null) = null; } } for (const edgeRow of this.edgeRows) { for (const intervalTree of edgeRow.intervals) { // Note: Incorrect types in the interval tree library + // After https://github.com/alexbol99/flatten-interval-tree/pull/42 this can be intervalTree.clear() (intervalTree.root as Node<EdgeSegment> | null) = null; } } |