hideAllNodes method
void
hideAllNodes()
Hides all nodes in the graph.
Implementation
void hideAllNodes() {
if (_nodes.isEmpty) return;
runInAction(() {
for (final node in _nodes.values) {
node.isVisible = false;
}
});
}