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

Think about alternative to dot for flowcharts #2294

Open
t-b opened this issue Nov 5, 2024 · 1 comment
Open

Think about alternative to dot for flowcharts #2294

t-b opened this issue Nov 5, 2024 · 1 comment
Labels

Comments

@t-b
Copy link
Collaborator

t-b commented Nov 5, 2024

We use graphviz/dot for our flowcharts. While the language is itself quite capable, the available editors are very limited. They almost all only allow to view the generated image, but we need to be able to interactively label nodes and edges.

The editor I'm right now using is dotty (only available in Graphviz 2.38 or earlier). It has a really clunkly UX being a 90's X app. But it's the only viable option.

Now we could actually also use mermaid, this is also supported in sphinx (https://github.com/mgaitan/sphinxcontrib-mermaid but that project is missing a maintainer...).

But the need to convert our dot files to mermaid. I've found https://github.com/monitorian/dot2mermaid. But that has a quite broken DOT parser see visjs/vis-network#505.

And there is an editor which allows to interactively edit mermaid files, see https://www.mermaidchart.com.

So for now this issue is just for documenting my findings.

@t-b t-b added enhancement New feature or request CodeQuality Backlog labels Nov 5, 2024
@t-b
Copy link
Collaborator Author

t-b commented Nov 5, 2024

One might be able to code a converter p with https://graphviz.org/pdf/gvpr.1.pdf, see the forum article linked in #968 for an example gvpr script.

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

No branches or pull requests

1 participant