
However, the Plantuml server has a similar feature, where it can get a PNG from a URL and extract its metadata. It doesn't work with -pipe so you cannot fetch a URL with eg curl and feed the PNG to PlantUML. Unfortunately this option works only with local files. Java -jar plantuml.jar -metadata diagram.png > diagram.puml Sounds like magic! No, merely clever engineering :-) This allows you to run PlantUML on a whole folder (or tree with the -recursive option) incrementally.
JAVA CMD C INSTALL
This means that the PNG is almost "editable": you can post it on a corporate wiki where you cannot install plugins, and someone in the future can update the diagram by getting the metadata, editing and re-uploading again. It is possible to retrieve this source with the -metadata option.If you does not want plantuml to save the diagram's source code in the generated PNG Metadata, you can during generation use the option -nometadata to disable this functionality (To NOT export metadata in PNG/SVG generated files).Java -jar plantuml.jar yourdiagram.txt -ttxtĪfter all preprocessing (includes etc), PlantUML saves the diagram's source code in the generated PNG Metadata in the form of encoded text. Further details can be found hereĬontains no LaTeX preamble creating a document

By default the format will be a PNG file but another type can be selected using the following extensions:ĪSCII art. Images for your diagrams can be exported in a variety of different formats. Edit in Dokuwiki Edit in Asciidoc Edit in Markdown
