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

Proposal: Share dot representation with graphviz-rust #22

Open
AlienKevin opened this issue Sep 26, 2022 · 0 comments
Open

Proposal: Share dot representation with graphviz-rust #22

AlienKevin opened this issue Sep 26, 2022 · 0 comments

Comments

@AlienKevin
Copy link

Thanks for developing this awesome crate! It'd great if the underlying dot representation can be shared with another great library called graphviz-rust. Sharing the representation can combine the intuitive interface of GraphWalk with the many attributes provided by grpahviz-rust. Currently, I'm using this library to display Finite Tree Automata as graphs. The output looks great but I also wanted to set the rankdir attribute for the generated Digraph to BT. Since I can't find a way to set rankdir using this library, I had to render the output to a Vec<u8> and parse the bytes from graphviz-rust. Then, I had to add the attribute there and finally write the result to a file. It would be great if this intermediate conversion is eliminated.

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