Transpose() is perfectly fine to have as a method on DirectedGraph, but it'd also be reasonable to have a standalone function that does it. It might be less efficient in some cases, but that's fine.
actually, this isn't really feasible to do without providing a favored directed graph implementation, and i'd rather not do that. much better to make this a part of the builder system.
Transpose()
is perfectly fine to have as a method onDirectedGraph
, but it'd also be reasonable to have a standalone function that does it. It might be less efficient in some cases, but that's fine.