Open jayvdb opened 1 month ago
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?
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
.
https://sourceforge.net/projects/plantuml uses
GRAPHVIZ_DOT
, which means there is the possibility to use a Rust work-alike binary. https://github.com/nadavrot/layout/pull/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, andGRAPHVIZ_DOT
is unset, and automatically add-Playout=smetana
if-Playout=
is not already in the plantuml args.