dhart.spatialstructures.Graph.getNodes

Graph.getNodes() NodeList

Get a list of nodes from the graph as a nodelist

The graph generator guarantees the order of nodes in the array to correspond with the id. However, if the graph used to call this method is post-modified for example, by adding edges manually, this may not hold true.