// IterateAllNodes for/range on all nodes of the graph,
// call IterateAction for each iterated node
IterateAllNodes for/range on all nodes of the graph,
call IterateAction for each iterated node
// IterateAllNodes for / range on all nodes of the graph // call IterateAction for each iterated node
func (g adjacencyListGraph) IterateAllNodes(action IterateAction) {
	for i := range g.adjList {
		action(NodeID(i))
	}
}
func ( g adjacencyListGraph ) IterateAllNodes ( action IterateAction ) { for i := range g . adjList { action ( NodeID ( i ) ) } }
IterateAllNodes for/range on all nodes of the graph,
call IterateAction for each iterated node
IterateAllNodes for / range on all nodes of the graph call IterateAction for each iterated node