plantuml / plantuml

Generate diagrams from textual description
https://plantuml.com
Other
10.28k stars 933 forks source link

Generating SVG images from java classes #304

Open FARHANE opened 4 years ago

FARHANE commented 4 years ago

Hello, It's is possible to generate svg image (or plantuml text) from existing java classes. I want to add this images to my ascii doc documentation

hallvard commented 4 years ago

The Eclipse plugin has support for this. You can select a package and see the diagram for all contained java classes in the view.

FARHANE commented 4 years ago

@hallvard Thank you for your response, the goal is to put is in my ascci doc documentation I can see the diagram on Intellij with a plugin

sjoerdtalsma commented 4 years ago

You could use a doclet when generating Javadoc as part of your build. Then you can refer to the generated UML from your asciidoc documentation in a later build phase?

See my doclet for example: https://github.com/talsma-ict/umldoclet Please note: you should use the latest 1.x version if you run with javadoc <= 8 and 2.x version for javadoc >= 9.