:: (a -> c) -> (b -> d) -> Either a b -> Either c d package:fgl

Map functions over both the Node and Edge labels in a graph.