Questions tagged [plantuml]
Open-Source tool in Java to draw UML Diagrams
plantuml
21
questions
55
votes
5
answers
69k
views
How to correct PlantUML Line Path
I created this diagram using the following code. But as you can see, the lines going from (Cancel Order) and (Place Order) to (Publisher) decide to take a terribly rounded path to get their, instead ...
90
votes
2
answers
99k
views
PlantUml define relative position of components
I'm actually trying to generate a component diagram with PlantUml. Is it possible to define the relative position of the different components? What I want to define is: ComponentB is left from ...
49
votes
6
answers
70k
views
How to align blocks in PlantUML class diagrams?
I am using PlantUML to make simple class diagrams and the tool is awesome, but I couldn't find any way to align classes with each other except putting them into packages or using relationships like ...
50
votes
5
answers
31k
views
How to generate a legend with colors in PlantUML?
I want to color classes in my class diagram, based on a certain criteria, and then display a legend, that would look roughly like:
If I could add an HTML table within PlantUML's legend and endlegend, ...
40
votes
1
answer
80k
views
PlantUML different layouts
I am using PlantUML API to generate Activity Diagram.
I have used GraphViz before and used rank parameter to define layout
rank=LR [for left to right]
I am trying to find similiar thing in ...
20
votes
3
answers
21k
views
Is it possible to use custom images for UML items in plantUML?
PlantUML is very powerful when you would like to create standard UML diagrams.
But I currently think about using PlantUML to document EIP routes (like the routes on these images: https://www.google....
13
votes
1
answer
10k
views
Is it possible to group participants in PlantUML?
I want to have a box around a couple of participants showing that they are part of an entity. How can you do this in PlantUML?
8
votes
3
answers
8k
views
Plantuml class diagram with multiple children: Any way to bifurcate the arrow?
My attempt:
Animal <|-- Cat
Animal <|-- Dog
Result:
┌────────┐
│ Animal │
└────────┘
Δ Δ
│ │
┌──┴──┐┌──┴──┐
│ Cat ││ Dog │
└─────┘└─────┘
That is not how a class diagram ...
8
votes
1
answer
14k
views
plantUML: swimlanes and overlapping connectors
I'm using plantUML swimlanes to visualize internal processes but unfortunately encounter overlapping lines when I want to display processes that are executed and detach.
I'm using this:
@startuml
...
8
votes
4
answers
8k
views
iPython notebook plantuml extension
How can we use plantuml UML tool in iPython notebook? It should helpful for us since UML figure is frequently used during paper work.
After some google from internet, I have found one excellent ...
8
votes
1
answer
2k
views
Can't turn on plantuml-mode in Emacs
I am on Emacs 24.3.1. I installed the MELPA version of plantuml-mode via
M-x package-install RET plantuml-mode RET.
When I try to turn on plantuml-mode for a buffer, I get the following error:
...
8
votes
1
answer
2k
views
How can a PlantUML document specify its diagram type?
As far as I can tell, PlantUML auto-detects the diagram type for a given document (sequence diagram, usecase diagram, class diagram, activity diagram, etc.). This seems to work reasonably well, but I ...
6
votes
4
answers
14k
views
How to reference earlier activity in PlantUML UML Activity Diagram
I am trying to make an activity diagram with PlantUML (new beta syntax).
So far I came up with (simplified):
@startuml
start
:A;
if (Q1) then (yes)
:B;
if (Q2) then (yes)
:D;
else (no)
...
5
votes
1
answer
7k
views
PlantUML Activity Diagram Go Back
I am using PlantUML to create an Activity diagram.
I want the arrow that comes out of Modify Details to go back to OP2 instead of the diamond.
I have this diagram:
@startuml
|Swimlane1|
start
:OP1;
|...
3
votes
1
answer
551
views
UML - How to align class diagrams with child classes verticaly
In the attached UML diagram are 5 classes and I want to find out how the top of classes A,B and C can be verticaly aligned while the child classes remain aligned. Please find my UML code and my ...