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 can I change the direction of an arrow in PlantUML Beta syntax?

With the PlantUML Standard Syntax it is possible to influence the direction of an arrow: @startuml (*) -up-> "We went up" -right-> "We went right" --> "We went down because this is standard" -left-> (*) @enduml I want to do the same but in the…
Kaadzia
  • 1,393
  • 1
  • 14
  • 34
2
votes
1 answer

Can states in a Plant UML state diagram be positioned relative to another state?

I've made a plantuml state diagram which looks like this: I'd like to position "MainActivity" state to the right of the "Idle" state, such that the arrows for [instruction] and [done] end up horizontal. I know this is can be done for notes and…
user11982735
2
votes
1 answer

PlantUML: How to change diagram style

for a while I'm using PlantUML to create sequence diagram. Everything works fine ... but looked a bit boring and "geek"-like. So I google for nice sprites and found PlantUML Icon-Font Sprites on GitHub. I included the sprites successfully in my…
allwi
  • 101
  • 6
2
votes
1 answer

PlantUml to Sequence Diagram

I googled it all but not able to find the tool to convert PLANTUML to the sequence diagram in python Is there any library / tool for converting the plantuml to sequence diagram using python? I understand this online tool does this :…
Harry
  • 3,072
  • 6
  • 43
  • 100
2
votes
1 answer

Plantuml Rendering Differences Online and Locally

Using plantuml's online renderer, consider the following diagram: specified by the following code: @startuml title FooBar endtitle cloud Cloud { node "Machine" #beige { node OPT #yellow [ Optimizer ] } } node Torch…
Reb.Cabin
  • 5,426
  • 3
  • 35
  • 64
2
votes
2 answers

PlantUML diagram for an Eclipse project

Trying to have an overall diagram for my eclipse java project, not sure how to. I have PlantUML installed but it only shows a diagram for each individual class can't find any information on generating an overall diagram. Need help.
2
votes
1 answer

Carriage return after a rectangle

I have the following definition in which I need to have all two inner rectangles in vertical layout, instead of horizontal like in the below image; @startuml rectangle "AAAAAA" { rectangle "CCCCCC" { CDE --> (AAAAAAAAAAAAAAAAAA) CDE -->…
Nicola Ben
  • 10,615
  • 8
  • 41
  • 65
2
votes
1 answer

Usecase Plantuml - Vertically stack the components

I'm trying to link the same object to multiple objects within the box. But the objects within the box are laying horizontally instead of vertical. :Application: rectangle Set{ Application-right--> (Set Property) (Set…
kiran Biradar
  • 12,700
  • 3
  • 19
  • 44
2
votes
4 answers

Combine parallel processing with swim lanes?

I want to build something like this using PlantUML: But I'm only able to build this: This is my code: @startuml start :Init; fork :Treatment 1; fork again :Treatment 2; end fork @enduml
Alexander Zeitler
  • 11,919
  • 11
  • 81
  • 124
2
votes
1 answer

Possible to generate links inside doxygen startuml/enduml section?

I have PlantUML configured to run from doxygen, and it is able to generate a simple diagram with a single class: \startuml class MyClass \enduml If I modify this to add a link to a url, clicking on the class in the UML works fine: \startuml class…
Fred Fettinger
  • 218
  • 2
  • 5
2
votes
0 answers

PlantUML images in markdown BitBucket's wiki with Gravizo

I'm trying to put my PlantUml diagrams in the Wiki of BitBucket using Markdown. To do that, I use the Gravizo service. Gravizo uses Graphviz to render graphs. It supports DOT, PlantUML, UMLGraph syntax and SVG in JSON format. This is a test…
DeLac
  • 1,068
  • 13
  • 43
2
votes
1 answer

Colorize plantuml activity diagram

I want to set a custom skin for my activity diagrams. I only managed to set the skin for activities: skinparam activity { BackgroundColor #AAAAAA BorderColor #BBBBBB } Is it possible to set custom colors for conditions and loops,…
Max
  • 116
  • 1
  • 10
2
votes
1 answer

PlantUML: how to sort items? ... and grouping

I am not sure about how to sort components in PlantUML. From this code: @startuml package "TEMP" { component [A 1] as A1 component [A 2] as A2 component [A 3] as A3 component [A 4] as A4 component [A 5] as A5 component [A 6]…
Pietro
  • 12,086
  • 26
  • 100
  • 193
2
votes
1 answer

Sequence Diagram: Background Loop

I am working on a system (B) that communicates with another system (C) and displays calculated values in a ongoing loop at a terminal (A). (A) asks (B) to report a variable x. (B) does so without blocking, so that (B) can continue to deal with (C).…
Patrick Bucher
  • 1,302
  • 2
  • 14
  • 36
2
votes
1 answer

Getting Syntax errors in PlantUML

I have PlantUML code: @startuml hide methods hide stereotypes !define Table(name,desc) class name as "desc" << (T,#FFAAAA) >> !define Enum(name,desc) class name as "desc" << (E,#FFFFAA) >> !define primary_key(x) x !define not_null(x)…
Olga Pshenichnikova
  • 1,509
  • 4
  • 22
  • 47