Fix overlapping groups

This commit is contained in:
Ian Gulliver
2019-07-09 20:34:36 +00:00
parent b7d51417d6
commit b0bc1e5f3b
4 changed files with 30 additions and 2 deletions

View File

@@ -9,9 +9,9 @@ class Layout {
this.links_ = [];
this.setInitialPositions();
this.resolveGroups();
this.resolveLinks();
this.resolveAffinity();
this.resolveGroups();
while (this.iterate());
this.addGroupPos();
this.drawLinks();