Complete affinity migration from Graph to Layout

Fixes #6
This commit is contained in:
Ian Gulliver
2019-07-13 03:46:54 +00:00
parent aa9035749f
commit 45bf2d689c
4 changed files with 21 additions and 53 deletions

View File

@@ -16,7 +16,6 @@ class Graph {
this.setPageRank();
this.setSubgraph();
this.bucketNodes();
this.setAffinity();
}
processList(list, soft=false) {
@@ -134,12 +133,6 @@ class Graph {
nodes.sort();
}
}
setAffinity() {
for (let node of this.nodes) {
node.setAffinity(this.nodes);
}
}
}
<!--# include file="GraphGroup.js" -->