daux.io icon indicating copy to clipboard operation
daux.io copied to clipboard

plantuml can this be integrated for the docker images somehow

Open wemasoe opened this issue 3 years ago • 3 comments

Hello,

mermaid is functionable and i like this feature. but somehow plantuml is more powerfull imho, for example you have network diagrams, too.

Can plantuml be implemented for the docker images? i know this will need java and graphviz in the image but that would imho be nice .

i just need to say i likne this project :-)

have a nice day to all of you out there

wemasoe avatar Oct 02 '22 09:10 wemasoe

Hi, thanks for the interest :D

Indeed, it would need Java, I'm not the biggest fan of adding runtimes on it. Do you know if by any chance there are alternative runtimes for graphviz in go / rust or other languages that doesn't require an alternative runtime ?

onigoetz avatar Oct 02 '22 16:10 onigoetz

Hi @onigoetz,

no as far as i know there is no other way using the java rte., there are some prebuilds on the website.

Only way could be to build a docker plantuml server or using the official plantuml server with all the side effects a public SAAS service could have.

And then let the server build the graphs and images.

wemasoe avatar Oct 04 '22 03:10 wemasoe

I've been thinking about this and looking around.

I see two ways to make this work:

  1. write your plantuml diagrams inline (in a code block)
  2. within a file with the .puml extension, like: diagram.puml and link it like an image ![My Diagram](./diagram.puml)

Which way would you prefer for this feature to work ?

onigoetz avatar Oct 10 '22 18:10 onigoetz