showAllNodes method

void showAllNodes()

Shows all nodes in the graph.

Implementation

void showAllNodes() {
  if (_nodes.isEmpty) return;

  runInAction(() {
    for (final node in _nodes.values) {
      node.isVisible = true;
    }
  });
}