getMostConnected method
Returns the n most connected (highest out-degree) concepts.
Implementation
List<ConceptNode> getMostConnected(int n) {
final sorted = _nodes.values.toList()
..sort((a, b) => b.edges.length.compareTo(a.edges.length));
return sorted.take(n).toList();
}