question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Suggestion] Add support for printing Graphviz DOT

See original GitHub issue

It could be worthwhile to support another way to “visualize” the graph: print Graphviz DOT description. https://graphviz.org/doc/info/lang.html https://graphviz.org/pdf/dotguide.pdf

Once the DOT description is available, people can turn them into image.

Having a nice image could be useful for having and overview of the modules as they are, or if debugging an issue of missing module(s).

And there are also Java libraries that could visualize them, if we decide to do that in zio-magic – I don’t know, it could be neat 😉 https://github.com/nidi3/graphviz-java https://github.com/eclipse/elk

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kitlangtoncommented, Jul 1, 2021

I implemented this. I just haven’t exposed the generated mermaid link in the debug output. I need to figure out a good way to optionally show/hide it / some means of configuring the debug macro. Open to suggestions for an API for this 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Drawing graphs with dot - Graphviz
Abstract dot draws directed graphs as hierarchies. It runs as a command line pro- gram, web visualization service, or with a compatible ...
Read more >
FAQ - Graphviz
I already have all the coordinates for the nodes, and I want dot or neato to route the edges. Run neato -n ....
Read more >
DOT - Graphviz
The xdot format extends the dot format by providing much more detailed information about how graph components are drawn. It relies on additional ......
Read more >
Node Shapes - Graphviz
Adding HTML labels to record-based shapes (record and Mrecord) is discouraged and may lead to unexpected behavior because of their conflicting ...
Read more >
Why my dot file can't display?it only have about 400 nodes
I use command: dot -Tsvg B.dot >B.svg then I see the B.svg file,I see nothing,I'm sure the format of the file is right,because...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found