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
0 answers

How to merge two disjointed branches in PlantUML activity diagram with new syntax?

I want to create an Activity Diagram with PlantUML's new beta syntax. I've got the basic decision logic diagram, but I'm having trouble trying to add a merge node to merge two execution branches. I want branches A1+ and B1+ to lead to a common…
Leprechaun
  • 852
  • 6
  • 25
2
votes
3 answers

What does this link type mean in diagram?

I have tried to make component diagram by using plantuml. I want to represent tcp connection between two modules, so I am learning how to make component diagrams. In the midst of studying, I found a link that I don't know what it means. (from…
didnlie23
  • 101
  • 7
2
votes
1 answer

Add participants to middle of diagram for visibility

I want to know if it's possible to add the participants to the middle of a large diagram, so it's easy to see what line each participant is without having to scroll to the top or bottom. For example a diagram like so; When rendered it's easy to lose…
Derek
  • 2,927
  • 3
  • 20
  • 33
2
votes
0 answers

Is there "!include" directive in mermaid files like in plantuml

I use plantuml for describing class diagrams and I have a number of *.puml files (each for a specific class or set of classes), then I make a single overview file where I include all puml files, like: @startuml ' Overview file for some…
Serhiy
  • 1,332
  • 1
  • 16
  • 24
2
votes
1 answer

How to have a box include a group in PlantUML?

I am using PlantUML in Markdown for some sequence diagrams, and I would like to be able to group participants accordingly. In my sequence diagrams, I make use of the alt grouping keyword to distinguish between different outcomes. However, when I use…
Johnny
  • 320
  • 3
  • 12
2
votes
1 answer

Plantuml no padding in rectangle

Is there any way of removing the padding from a rectangle in plantuml? I have tried the following: rectangle "rect1" as A1 #line:transparent;back:transparent rectangle "rect2" as A2 #line:transparent;back:transparent A1 -- A2 in my final diagram…
Mctom_Spdo
  • 23
  • 7
2
votes
1 answer

Network diagram in PlantUML not working as expected?

I am trying to create a network diagram for my office using PlantUML. I am stuck very early on. I am beginning at the edge of our network and working downwards. I would like to use the sprites as much as possible. I have @startuml !include…
2
votes
1 answer

PlantUML Class-/Component Diagram

I'm new to using PlantUML and would like some clarification if some specific actions are even possible or how they could be solved otherwise! Class Diagram: How to address relationships from a whole package (3 different classes) to one specific…
Alexy
  • 23
  • 7
2
votes
1 answer

Positioning blocks of PlantUML diagram

I'm trying to repeat a diagram using PlantUML. The diagram is like this: I got stuck at trying to add more connections and make them look decent. I started with object digram and came to something like this link to online diagram. As soon as I…
2
votes
0 answers

Is there a way to replace the PlantUmlModel tag with the PlantUml script?

Is there a way to replace the PlantUmlModel tag with the PlantUml script when the project is compiled? I do use Docfx to generate documentation /// /// /// public interface…
2
votes
1 answer

Is it possible to draw standalone arrows with PlantUML?

I'm creating a diagram with different types of arrows (line, dashed, dotted, etc.). But instead of adding a label to each arrow I would like to create a legend where a replica of each arrow type is displayed alongside its meaning. Is there a way to…
C2H5OH
  • 5,452
  • 2
  • 27
  • 39
2
votes
1 answer

How to show broadcast (simultaneous sending of two messages) in sequence diagrams in PlantUml

I have this bit of plantuml: @startuml title Sequence diagram A -> B : First B -> C : Second B -> A : Third @enduml It renders like this: I would like to get this instead, with two arrows "happening concurrently": Any hints on how to achieve…
Petter Hesselberg
  • 5,062
  • 2
  • 24
  • 42
2
votes
1 answer

Position objects or entities as relationships

I am trying to draw some diagrams mimicking examples at awslabs/aws-icons-for-plantuml . There are two issues I am facing (please excuse the loose terminologies): How to add objects on top of another object/entity? How to add objects/entities…
jimmu
  • 1,025
  • 1
  • 10
  • 15
2
votes
1 answer

Fix layout of component in package

I was not able to figure out how to fix the layout of my plantuml diagram. There seems to be no skin parameter for padding of packages or margin of components. Any ideas? @startuml mainframe Old component GUI { component "IBM ILOG Views" { …
Jan Rothkegel
  • 737
  • 3
  • 21
2
votes
1 answer

How do I create relationship diagram using plantuml with lines touching the exact field

I have successfully created the ERD with standard notations as per the UML with reference to ERD Sample But I want to make lines exactly touching the field names as specified in this question ERD Or UML is there and inbuilt facility available in…
Dickens A S
  • 3,824
  • 2
  • 22
  • 45