Name
arc_number — number of arcs of a graph
Calling Sequence
ma = arc_number(g)
Description
arc_number
returns the number ma
of arcs of the graph.
If the graph is directed, it is the number of edges.
If the graph is undirected, it is twice the number of edges.