tuura / pangraph

A Haskell library for mathematical graph parsing and writing.
BSD 3-Clause "New" or "Revised" License
20 stars 4 forks source link

Implementation of Revert functions #28

Open thisiswhereitype opened 6 years ago

thisiswhereitype commented 6 years ago

Alga, Containers and FGL are all good candidates for revert functions. They have functions to allow extraction of edges and nodes in a similar pattern. This could be a good candidate for a ToPangraph typeclass.

snowleopard commented 6 years ago

I think the primary focus of this library should be efficient parsing/serialisation of various textual/binary graph representations. Once you have a Pangraph a, it's easy to convert it to any library you like.

I would really like to see support of Workcraft graph format, for example.