From 7b7dc48153317cb5642201bd7f43616d438c34d2 Mon Sep 17 00:00:00 2001 From: michaeldel Date: Tue, 12 May 2020 23:47:54 +0200 Subject: [PATCH] plantuml: add page (#4040) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Zlatan Vasović --- pages/common/plantuml.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/plantuml.md diff --git a/pages/common/plantuml.md b/pages/common/plantuml.md new file mode 100644 index 000000000..659121a27 --- /dev/null +++ b/pages/common/plantuml.md @@ -0,0 +1,28 @@ +# plantuml + +> Create UML diagrams from a plain text language and render them in different formats. +> More information: . + +- Render diagrams to default format (PNG): + +`plantuml {{diagram1.puml}} {{diagram2.puml}}` + +- Render a diagram in given format (e.g. `png`, `pdf`, `svg`, `txt`): + +`plantuml -t{{format}} {{diagram.puml}}` + +- Render all diagrams of a directory: + +`plantuml {{path/to/diagrams}}` + +- Render a diagram to the output directory: + +`plantuml -o {{path/to/output}} {{diagram.puml}}` + +- Render a diagram with the configuration file: + +`plantuml -config {{config.cfg}} {{diagram.puml}}` + +- Display help: + +`plantuml -help`