Returns an array containing the vertices of this graph.

var g = new HashDigraph[Int]
g.add_vertices([0,2,4,5])
assert g.vertices.length == 4

Property definitions

graph $ Digraph :: vertices
	# Returns an array containing the vertices of this graph.
	#
	# ~~~
	# var g = new HashDigraph[Int]
	# g.add_vertices([0,2,4,5])
	# assert g.vertices.length == 4
	# ~~~
	fun vertices: Array[V] do return [for u in vertices_iterator do u]
lib/graph/digraph.nit:260,2--267,67