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

Workflow graphs #152

Open
cfhammill opened this issue Nov 21, 2019 · 1 comment
Open

Workflow graphs #152

cfhammill opened this issue Nov 21, 2019 · 1 comment

Comments

@cfhammill
Copy link

Presently funflow has support for transforming workflows into graphs via toDiagram (although this isn't exported).

It would be nice to be able to turn funflow graphs into DOT files. The translation from Diagram to DOT should be simple, I'm happy to do that and submit a PR.

A small extension that I think would make the generated graphs cleaner is to be able to annotate mapAs so that mapped actions can be optionally collapsed to simplify the graph.

This would require extending Flow' to have MapA constructor. Does that sound like a reasonable way to add this feature?

@nc6
Copy link
Member

nc6 commented Nov 22, 2019

Yes, I think having MapA directly as a constructor for the flow would make a lot of sense. At the moment the implementation of mapA will cause the program to hang indefinitely if one tries to print it, which is clearly non-optimal. We've had this on the list of things to do for a while (but don't have any active projects using funflow, so it's not being heavily developed rn)

Likewise, DOT support seems great if you felt like implementing it!

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

3 participants