getVisibleNodes method
Gets all visible nodes in the graph.
Returns a list of nodes where Node.isVisible is true.
Implementation
List<Node<T>> getVisibleNodes() {
return _nodes.values.where((node) => node.isVisible).toList();
}
Gets all visible nodes in the graph.
Returns a list of nodes where Node.isVisible is true.
List<Node<T>> getVisibleNodes() {
return _nodes.values.where((node) => node.isVisible).toList();
}