Returns true if and only if this graph is empty.

An empty graph is a graph without vertex and arc.

assert (new HashDigraph[Int]).is_empty

Property definitions

graph $ Digraph :: is_empty
	# Returns true if and only if this graph is empty.
	#
	# An empty graph is a graph without vertex and arc.
	#
	# ~~~
	# assert (new HashDigraph[Int]).is_empty
	# ~~~
	fun is_empty: Bool do return num_vertices == 0 and num_arcs == 0
lib/graph/digraph.nit:251,2--258,65