GraphView: Properly cache the neighbours

Stupid mistake
This commit is contained in:
Vishesh Handa
2020-09-26 01:03:45 +02:00
parent 70a48f6d2f
commit 42b7562989

View File

@ -135,7 +135,7 @@ class Graph extends ChangeNotifier {
}
}
_neighbours[n.label] = _nodes;
_neighbours[n.label] = nodes;
return nodes.union(computeOverlappingNodes(n)).toList();
}