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

Can you add a function interface to save the circuit diagram as a graphviz file format? #60

Open
libaineu2004 opened this issue Sep 23, 2023 · 0 comments

Comments

@libaineu2004
Copy link

In addition to execution diagram, you can dump the graph to a DOT format and visualize it using a number of free GraphViz tools.

https://dreampuf.github.io/GraphvizOnline/

// dump the circuit graph to a DOT format through std::cout
circuit.dump(std::cout);

// I found that these open source projects support graphviz format output
https://github.com/taskflow/taskflow
https://github.com/ArsMasiuk/qvge

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

No branches or pull requests

1 participant