yuzutech / kroki

Creates diagrams from textual descriptions!
https://kroki.io
MIT License
2.88k stars 215 forks source link

Support ditaa diagram options #1279

Closed ArmBHicks closed 2 years ago

ArmBHicks commented 2 years ago

I’m aware from http://ditaa.sourceforge.net/ that there is the following switch:

-E, --no-separation: Prevents the separation of common edges of shapes.

I understand that the infrastructure is in place but the logic to pass options to Ditaa hasn't yet been included.

Would it be possible to adapt the ditaa plugin for Kroki such that these options could be passed somehow in the text input?

The collective options are:

Many thanks, Ben

ggrossetie commented 2 years ago

Thanks for creating this issue. @ArmBHicks I don't quite understand the title "ditaa switches for HTML version"? Are you referring to the --html option? I think the title should be something like "Support ditaa diagram options"

ArmBHicks commented 2 years ago

Thanks for creating this issue. @ArmBHicks I don't quite understand the title "ditaa switches for HTML version"? Are you referring to the --html option? I think the title should be something like "Support ditaa diagram options"

@Mogztter I wasn't sure at first if it was just the server version or if the command line option was also impacted. I've updated the title now.