Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add graph conversion #130

Open
Boarders opened this issue Apr 2, 2019 · 1 comment
Open

Add graph conversion #130

Boarders opened this issue Apr 2, 2019 · 1 comment

Comments

@Boarders
Copy link
Collaborator

Boarders commented Apr 2, 2019

When we re-implement the topological representation we should add the ability to convert between our graph format and others for example:

This will allow us to use these formats as intermediate representations for pretty printing/ serialisation amongst other things.

@Boarders
Copy link
Collaborator Author

Boarders commented May 23, 2019

After experimenting with algebraic-graphs for the network documentation I think it is an extremely bad fit for us given that much of the time we wish to assume our graph is rooted/directed and this fits badly with the graph combinators they define for example it is not even straightforward to write a branch function with something like the following type signature:

 branch :: Graph a -> Graph a -> a -> Graph a 

I'm not sure if fgl fairs any better but it may be worth abandoning this suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants