-
Notifications
You must be signed in to change notification settings - Fork 6
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
visualisation via GraphViz #37
Comments
Thank you for using the library and suggestions. I think basic visualization is a handy feature for BDD packages. Can the Below are a few quick comments on the current code:
|
I updated my fork now, see here. I added functions to show ZDDs, reworked the "remove unreachable nodes" part and for
Yes, I think the Haskell library graphviz even compiles when graphviz is not installed and has no non-Haskell dependencies. It does depend on a bunch of other Haskell libraries, that is what I meant with a bit overkill, as it increases the footprint of decision-diagrams. A more naive approach would be to just create a I can make a PR later, but probably also should add tests. (For example to check that the DotGraph for specific DDs is as expected.) |
(First, thanks for the very nice library - it is great to have a pure Haskell BDD package!)
Would you be interested in adding function to visualize BDDs? There already is the
toGraph
function, but in an ongoing project I found it helpful to convert to theGraphViz
types. See here for the code.I did not make a PR immediately, as I can also imagine that adding the dependency on the Haskell library
graphviz
is a bit overkill for anyone not wanting to use it but just wanting to have DDs 🤔The text was updated successfully, but these errors were encountered: