diff --git a/GraphNode.js b/GraphNode.js index 38172f0..8bef2b7 100644 --- a/GraphNode.js +++ b/GraphNode.js @@ -45,10 +45,6 @@ class GraphNode { const INF = 999999; for (let node of nodes) { - if (node == this) { - continue; - } - // Weak affinity full mesh // Keep unassociated subgroups together this.addAffinity(node, d => d); @@ -73,10 +69,6 @@ class GraphNode { for (let group of this.groups) { for (let node of group.nodes) { - if (node == this) { - continue; - } - this.addAffinity(node, d => d * 100); } }