Gathers all nodes of the graph and stores them into the given array.
List<Node> getNodes(List<Node> result ) { result.length = 0; result.addAll( _nodes.values ); return result; }