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
3
votes
1 answer

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 screenshots below. Tanks a lot for your support ! …
HKC72
  • 502
  • 1
  • 8
  • 22
3
votes
1 answer

PlantUML State Machine control arrow direction to itself layout

How do I draw an arrow out from the left side of the layout component? When I using @startuml [*] --> A A -right-> A A -left-> A @enduml but both arrows were drawing out from the right of the layout component A.
oka96
  • 383
  • 2
  • 16
3
votes
3 answers

PlantUML: How to Insert a Newline or
in Between Legend & Footer and Caption Spacing?

Have created a sequence diagram using PlantUML generating containing a legend and footer. The footer contains my company's name along with copyright date. The legend is very close to the footer and I need to insert a new line (or a
or a

) in…

PacificNW_Lover
  • 4,746
  • 31
  • 90
  • 144
3
votes
1 answer

How can I put background color to Entity-Relationship diagram in PlantUML

I'm currently using PlantUML to design my database's ERD. All's well, the diagram is complete, but I'm trying to add a background color to my entities, to dintinguish them in their respective schemas. I'm thinking of a backgroung color for the…
Pstr
  • 777
  • 1
  • 8
  • 17
3
votes
1 answer

How can I add "#+ATTR_HTML" around "#+RESULTS" preview output of Source Block in Org-mode of Emacs?

I am using plantuml in org, and it works fine. However, I am trying to make some change by adding some HTML tag automatically, just before the #+RESULTS output tag, so that can get a beautiful HTML output effect. My example code as…
saga
  • 33
  • 4
3
votes
1 answer

How to include plantuml diagram within a single markdown file?

I have a single markdown file that looks something like this: @startuml Participants actor Alice participant Bob participant Charlie hide unlinked @enduml @startuml Diagram '!include Participants Bob->Alice: Do a thing Alice->Bob: Do a different…
Rich
  • 1,165
  • 1
  • 15
  • 29
3
votes
1 answer

How to realize direct arrows with PlantUML?

I am trying to create an activity diagram with PlantUML that does contain arrows that go back to existing nodes. What I am looking for is a diagram that includes the two arrows "Arrow 1" and "Arrow 2" in the picture below: I have tried creating…
Kaadzia
  • 1,393
  • 1
  • 14
  • 34
3
votes
1 answer

How to set the width of Swimlanes in PlantUML activity diagram?

I am using PlantUML to draw a activity diagram and I am using the new activity diagram syntax (beta). I am not able to set the width of the swimlanes. I have tried using the following skinparam swimlaneWidth 400 and skinparam swimlaneWidth…
A j
  • 1,069
  • 2
  • 16
  • 29
3
votes
1 answer

How to get captions with markdown in pandocfilters?

I tried the PlantUML filter to generate LaTeX figures from PlantUML code in markdown source. It works nicely (I changed it to generate PDF for LaTeX since it preserves the text items in the PlantUML diagrams). The trouble with this filter (and all…
Fuhrmanator
  • 11,459
  • 6
  • 62
  • 111
3
votes
1 answer

Failing to execute plantuml in emacs

I am using GNU Emacs 25.3.1 (x86_64-w64-mingw32), on Windows 10, plantuml 1.4.1, and the following .emacs: (package-initialize) (require 'package) (add-to-list 'package-archives '("MELPA Stable" . "http://stable.melpa.org/packages/")…
canellas
  • 491
  • 5
  • 17
3
votes
1 answer

Apply skinparam to individual group in PlantUML sequence diagram

Hi I want to change the border color of only one of my diagrams groups. My current attempt seems to always set a global for all groups:- @startuml group Blue group TEST1->TEST2: Test1 end group Red group skinparam sequenceGroupBorderColor…
SystemsInCode
  • 629
  • 7
  • 19
3
votes
1 answer

Change border color of participant

Is it possible to change the border / font colors of a particicular participant without setting it globally using skinparam? For a particular participant I need to have a different border + font color than defined in skinparam.
Alexander Zeitler
  • 11,919
  • 11
  • 81
  • 124
3
votes
1 answer

Is there a way to have a single column of elements inside a PlantUML component diagram?

I'm trying to vertical align, on a single column, elements of a PlantUML component diagram. I tried with both "top o bottom direction" and "left to right direction" options, but with no good result. Only way I found is to wrap every element inside…
gabriolo68
  • 33
  • 3
3
votes
1 answer

Scaling part of a PlantUML diagram

Scaling is controlled by the scale keyword. I'm curious if it's possible to scale part of a PlantUML diagram somehow or at the very least: scale the font size for part of a diagram. It doesn't seem like scale may be scoped to part of a diagram (and…
ebpa
  • 1,171
  • 1
  • 12
  • 31
3
votes
0 answers

Is there a way to place node name to the right in PlantUML?

To increase readability I would like to place (interface) node names to the right of the node. Is this somehow possible? @startuml left to right direction () "longer_interface_name" as interface [component one] --> interface [component two] -->…
Karsten S.
  • 2,349
  • 16
  • 32