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...

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,...

PlantUml - Set max width without constraining height

I have a plantUml diagram that looks like this: The image has a width of 1234px and a height of 970px. I need to print the image as part of a report and would like to fit it on a letter sized...

plantuml - draw note above activity diagram

I found a good activity diagram at here but no source code.it looks like below: I try to draw it with plantuml, below is my code: @startuml skinparam linetype ortho (*) -down-> "clone...

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...

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...

Error while generating UML diagram using plantuml maven plugin

I am using plant uml maven plugin to generate UML diagram. <groupId>com.github.jeluard</groupId> <artifactId>plantuml-maven-plugin</artifactId> But while generating class diagrams getting...

PlantUML extension for Visual Studio Code on Windows only working with sequence diagrams

I installed the PlantUML extension (by jebbs) in Visual Studio Code for Windows and everything is working perfectly for sequence diagrams. However when I try to render a class diagram I get the...

Can't render component diagram with PlantUML in IntelliJ

I am trying to create a component diagram using the PlantUML plugin for IntelliJ. I have installed the plugin and worked with it before. However, when I try to render a component diagram, I get an...

PlantUML: How to control the alignment of classes of the same rank?

I found out recently that plantuml sorts of align all the classes of the same rank. Each class is then centered around an invisible line corresponding to that rank Example: Here Class 1, Class2,...

activiating plantuml from asciidoctor

I want to activate plantuml from asciidoctor From asciidctor I learned: anchor:id[optional xreflabel] is equal to [[id,optional xreflabel]] but where is the anchor? linux mint asciidoctor 1.5.6...

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...

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...

PlantUML component diagam port

Is there any possible way to create component port in the component diagram? If port has to be attached to only one arrow, its easy, because I can use #-- arrow. interface y [x] #- y The problem...

Can't upgrade asciidoctor because of outputOptions

Currently, I'm using Asciidoctor Gradle plugin to generate documentation for my project. It's added in that way: plugins { ... id "org.asciidoctor.convert" version "2.4.0" } apply plugin:...

TypeDoc - "ENOENT: no such file or directory, open '............../docs/assets/css/main.css'"

I am trying to use typedoc in order to automatically generate the documentation of a angular application. Whenever I am running npx typedoc --out docs app --exclude "**/*.{spec.ts}" --exclude...

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:...

I can`t load keystore.p12 or .jks with Spring Boot 2.2.8 and Undertow

I have this file of properties: server: port: 8443 http2: enabled: true ssl: enabled: true key-store: classpath:keystore.p12 key-store-password: admin00 key-store-type:...

PlantUML: How to Insert a Newline or <br> 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...

Increase graph size in plantUML from python?

MWE To generate PlantUML diagrams in (sub)folder: /Diagrams/ I use the following python script: from plantuml import PlantUML import os from os.path import abspath from shutil import...

Display PlantUML in Confluence from BitBucket

Confluence supports displaying PlantUML diagrams using for example PlantUML for Confluence macro. Basically, one copy-pastes a source code of the UML diagram and it's correctly rendered in a...

How to order the subjects in PlantUML sequence diagram?

I have a PlantUML sequence diagram where Alice exchanges messages with Cecil once and then only the communication with Bob happens. This flow causes the subjects are ordered by the time of their...

Embed a plantuml diagram somewhere in a docstring (with the Sphinx plantuml extension)

I installed the sphinxcontrib-plantuml extension which works fine if I run the HTML builder e.g. with following testmodule.rst file for a corresponding testmodule.py file: testmodule...

I am getting a syntex error when making a UML class in IntelliJ, how can i fix it?

I am making a UML class diagram in IntelliJ with the "Sketch it!" plugin, but it says there is a syntax error in line 5, where it says namespace the first time. I don't get why, as it says the...

PlantUML basic example

I'm evaluating if PlantUML can be a good alternative to GraphViz. It's promoted as "intuitive" but honestly the very first example from the homepage is already confusing. Why does the following...

How to rearrange blocks in a UML state diagram

I just created a state diagram and right now I am struggling with the positions of the blocks. My goal is to have States 1,2,4,5 in a "down"-row and state 3 at the right from state 1. See my UML...

use PlantUML diagram code in PHP/Phabricator

Looking for advice from developers phamiliar with PHP, or Phabricator internals, on how to make Phabricator to have PlantUML (text to UML diagrams) within wiki pages, tasks. So that this UML code...

Using plantuml within a markdown document

At the moment I am trying to make a presentation using markdown. In order to include an UML diagram I want to use PlantUML. The code is written in the document below. I am of the understanding,...

Plantuml. How to create finite state machine diagrams?

I want to create a FSM diagram and wanted to use plantuml for that. I stuck with backward arrows There is a way to create backward arrows but it looks overcomplicated and too limited for such a...

Find programmatically all classes, grammars, and roles in a Raku package

How can I find programmatically all the classes, grammars, and roles in a Raku package? (Specified with a string.) I examined discussions/posts similar to the ones linked below, but the code I...