[ library(graph_algorithms) | The ECLiPSe Libraries | 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

- graph_get_maxnode(+, -) is det

## See Also

graph_get_all_edges / 2, graph_get_adjacent_edges / 3