From 91c41b7d967b094c7dc7b8d1c8452577cf0b0e1e Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Fri, 12 Jul 2019 21:23:30 +0000 Subject: [PATCH] Allow link labels over groups --- LayoutLink.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LayoutLink.js b/LayoutLink.js index e626b8e..ed89da5 100644 --- a/LayoutLink.js +++ b/LayoutLink.js @@ -195,7 +195,7 @@ class LayoutLink { let pos = this.path[i]; let score = 0; - if (this.nodesByPos_.has(pos)) { + if (this.nodesByPos_.get(pos) instanceof LayoutNode) { // Never overlap nodes continue; }