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

Removing dependency on graphviz-dot #19

Open
jayvdb opened this issue Sep 23, 2024 · 2 comments
Open

Removing dependency on graphviz-dot #19

jayvdb opened this issue Sep 23, 2024 · 2 comments

Comments

@jayvdb
Copy link

jayvdb commented Sep 23, 2024

https://sourceforge.net/projects/plantuml uses GRAPHVIZ_DOT , which means there is the possibility to use a Rust work-alike binary. nadavrot/layout#31 and a bit more work might do the trick.

And plantuml has alternative layout engines, available via -Playout=elk, -Playout=smetana , and maybe -Playout=visjs .

I have found the output when using -Playout=smetana is very good : slightly different layout in the output when using graphviz, but still correct - I havent seen any significant differences.

Perhaps plantuml-generator could detect if dot is installed, and GRAPHVIZ_DOT is unset, and automatically add -Playout=smetana if -Playout= is not already in the plantuml args.

@tmorin
Copy link
Owner

tmorin commented Sep 25, 2024

Hi, thanks for the message. I'm not sure where the dot should be removed. With the latest release, I guess you can leverage the --args argument to provide additional arguments to PlantUML. Is that OK?

@jayvdb
Copy link
Author

jayvdb commented Sep 30, 2024

This issue is suggesting that plantuml-generator automatically adds -Playout=smetana so that there is no need to have dot binary installed in order to run plantuml-generator.

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

2 participants