count number of edges in graph
count number of vertices in graph
one or more options as specified below
Specifies whether self-loops should be included in the count of edges returned. The default value is true.
The NumberOfEdges(G,opts) command returns the number of edges (or arcs) in G.
The NumberOfVertices(G) command returns the number of vertices in G.
K4≔Graph 1: an undirected unweighted graph with 4 vertices and 6 edge(s)
The selfloops option was introduced in Maple 2020.
For more information on Maple 2020 changes, see Updates in Maple 2020.
Download Help Document
What kind of issue would you like to report? (Optional)