sdboyer / gogl

A graph library in Go
MIT License
77 stars 13 forks source link

Introduce a standalone Transpose() function #12

Closed sdboyer closed 10 years ago

sdboyer commented 10 years ago

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.

sdboyer commented 10 years ago

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.