topologicalAll method

Iterable<V> topologicalAll(
  1. Iterable<V> vertices, {
  2. StorageStrategy<V>? vertexStrategy,
})

Traverses the vertices in a topological order, starting with vertices.

Implementation

Iterable<V> topologicalAll(Iterable<V> vertices,
        {StorageStrategy<V>? vertexStrategy}) =>
    TopologicalIterable<V>(vertices,
        predecessorsOf: predecessorsOf,
        successorsOf: successorsOf,
        vertexStrategy: vertexStrategy ?? this.vertexStrategy);