Questions tagged [plantuml]

Open-Source tool in Java to draw UML Diagrams

PlantUML is a Java component that allows to quickly generate

  • Sequence diagrams
  • Use case diagrams
  • Class diagrams
  • Activity diagrams
  • Component diagrams
  • State diagrams
  • Object diagrams

using a simple and intuitive language.

They can be generated in PNG or SVG format.
It is also possible to generate ASCII art diagrams (only for sequence diagrams).

409 questions
2
votes
1 answer

How to draw interconnected tables with PlantUML

I try to draw interconnected tables (not Eentities!) with PlantUml. Unfortunately, I could not find any possibility to name a table. The only solution I could use is to define it in another component, eg. an object, to be able to make…
ald mike
  • 95
  • 1
  • 9
2
votes
1 answer

How to autogenerate UML diagram for java in IntelliJ

I created a medium-sized project in java using IntelliJ, and for my presentation, I need to have a UML diagram of the project structure. Since the project is not particularly small, I wanted to find a plugin that would draw the diagram for me. I've…
Ana Cruz
  • 93
  • 7
2
votes
1 answer

Automatically sort class items in PlantUML

Sometimes it is very tiresome to sort keys alphabetically, especially in larger tables, which grow over time. Let's look at this diagram: @startuml !define Table(name,desc) class name as "desc" << (T,white) >> !define primary_key(x)…
SomeUser
  • 23
  • 4
2
votes
1 answer

How do I left align a line in the title of PlantUML

How do I left align a line in the title of PlantUML? @startuml title SomeTitle . SomeTitle . SomeTitle . SomeTitle . Want this left aligned endtitle Alice -> Bob:…
Ajeet Ganga
  • 8,353
  • 10
  • 56
  • 79
2
votes
1 answer

PlantUML activity choice IF/ELSE show question on diamond and share targets across tests

I am using Plantuml diagramming for activity diagrams. I want to have the a series of choices and on each choice 'diamond' I want to show the query. However I also want to be able to link to the same activity shape from different result choice…
SystemsInCode
  • 629
  • 7
  • 19
2
votes
1 answer

PlantUML Getting Syntax Error (Flutter/Dart)

On the PlantUML I'm getting syntax errror on the class diagams generated by dcdg on Flutter/Dart. First error is on line 66, how to fix them? Planttext.com or plantuml-editor.kkeisuke.com can be used to show the uml. @startuml set namespaceSeparator…
osunkaya
  • 93
  • 1
  • 1
  • 9
2
votes
1 answer

Mix classes and use cases in PlantUML diagram

I try to create a diagram which contains the class hierarchy as well as use cases which use the classes. I tried to use PlantUML today, but somehow one cannot mix these two diagram types. This is the simplest file I could come up…
Martin Ueding
  • 8,245
  • 6
  • 46
  • 92
2
votes
1 answer

Nested if statement in plantuml

I am trying to do nested if statements in plantuml. Here's the code: @startuml start :Search for File; if(Is in local cache?) then (yes) :Finish; stop else (no) :Check Cached SearchObjectToNodeTb; if(Find in SearchObjectToNodeTb)…
SomethingsGottaGive
  • 1,646
  • 6
  • 26
  • 49
2
votes
2 answers

Plant UML in Visual Studio Code // Config file

I'm using Plant UML in VS-Code to generate diagrams: https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml I want to edit the global default extension setting: Set input folder for the .puml files and ... the output folder for the…
Impulsleistung
  • 177
  • 3
  • 13
2
votes
3 answers

plantuml - activity diagram: Decision node with three outgoing edges and [else] guard

How can I design a Decision node with three outgoing edges and else guard? what I'd like is - 3 outgoing edges from decision node 'test?' @startuml start :dd; if (test?) then (a) :A; else if (b) :B; else (c) …
frag siri
  • 31
  • 4
2
votes
1 answer

Use Azure Devops Git Api to view UML file in browser

In our team, we follow the docs-as-code approach, and have some plantUML files in our git repository, which is hosted by an azure devops server (i.e., on premise). Now we want to serve the UML diagrams as hyperlinks on another website. The idea is…
Hermann.Gruber
  • 1,257
  • 1
  • 12
  • 37
2
votes
1 answer

Nested alt in plantUML Syntax

How to add nested alt flow in plant UML ? I have a use case in which I want nested alt. Similar to below When I add it only innermost alt is displayed. Need help in finding right syntax for it alt [condition 1] do some steps alt [condition…
Divya Gandhi
  • 31
  • 1
  • 2
2
votes
0 answers

VS Code Extension, how to programme a refresh of PlantUML preview

How can I force PlantUML to refresh its preview, using code? Longer Explanation I have 2 editors open Editor 1 contains a yml file. Editor 2 contains a plantuml .wsd file and a 3rd pane is showing the plantuml preview. (which is technically not an…
macasas
  • 497
  • 6
  • 20
2
votes
2 answers

PlantUML - How to Represent Private Methods as Nested Lifelines inside a Sequence Diagram

Am using PlantUML to create a sequence diagram which depicts a Dating App hitting a RestfulController (which uses a Service class to process data). What I am seeking to do is to represent the Service class's internal private methods via the Sequence…
PacificNW_Lover
  • 4,746
  • 31
  • 90
  • 144
2
votes
1 answer

How use variables from AsciiDoc in PlantUML diagrams?

I'm using AsciidocFX for creating documentation. Variables created in asciidoc need to be replaced in diagrams. An example which doesn't work: == My title :parent-class: Parent :child-class:…
drewpol
  • 665
  • 1
  • 6
  • 26