Get an iterable of every GraphEdge in a graph. Every edge will be emitted
exactly once. If an edge is interlinked, it will be emitted once for the
first node linking to the second and once for the second node linking to the
first.
Map every node in a tree to an new node type. It may be used for
converting from one specialized TreeNode implementation to another, or for
converting each TreeNode value from type T to type NewT for example.