vertices property

UnmodifiableListView<Vertex<T>> vertices

Unmodifiable ListView of all vertices in the graph. The vertices will be sorted if a vertex comparator was specified during instantiation of the graph or by invoking the comparator setter.

Implementation

UnmodifiableListView<Vertex<T>> get vertices => _vertices.value;