[ library(graph_algorithms) | Reference Manual | Alphabetic Index ]

graph_get_maxnode(+Graph, -MaxNode)

Returns the highest node number in Graph
Graph
a graph structure
MaxNode
an integer node number

Description

Note that the smallest node number in a graph is always 1.

Modes and Determinism

See Also

graph_get_all_edges / 2, graph_get_adjacent_edges / 3