selectAllConnections method

void selectAllConnections()

Selects all connections in the graph.

Implementation

void selectAllConnections() {
  runInAction(() {
    _selectedConnectionIds.clear();
    _selectedConnectionIds.addAll(_connections.map((c) => c.id));
    for (final connection in _connections) {
      connection.selected = true;
    }
  });
}