// IterateAdjacencyNodes for/range on all adjacency nodes of current node,
// call IterateAction for each iterated node
IterateAdjacencyNodes for/range on all adjacency nodes of current node,
call IterateAction for each iterated node
// IterateAdjacencyNodes for / range on all adjacency nodes of current node // call IterateAction for each iterated node
func (g adjacencyListGraph) IterateAdjacencyNodes(currNode NodeID, action IterateAction) {
	if !g.IsNodeValid(currNode) {
		return
	}
	for _, v := range g.adjList[currNode] {
		action(v)
	}
}
func ( g adjacencyListGraph ) IterateAdjacencyNodes ( currNode NodeID , action IterateAction ) { if ! g . IsNodeValid ( currNode ) { return } for _ , v := range g . adjList [ currNode ] { action ( v ) } }
IterateAdjacencyNodes for/range on all adjacency nodes of current node,
call IterateAction for each iterated node
IterateAdjacencyNodes for / range on all adjacency nodes of current node call IterateAction for each iterated node