Questions tagged [tikz-uml]

{tikz-uml} is a package for creating UML-diagrams, built on TikZ. See also {pgf-umlcd}, {pgf-umlsd}, {metauml}.

This package is not currently on CTAN, but is available from https://perso.ensta-paristech.fr/~kielbasi/tikzuml/

107 questions
14
votes
4 answers

Can I use the plantUML language in LaTeX?

I want to create diagrams. Preferable in LaTeX. Normally, I use the PlantUML language.
Columnist
  • 145
5
votes
1 answer

tikz-uml reduce distance between timelines

I created a sequence diagram with tikz-uml and I would like to reduce the distance between the involved entities. I currently have: \begin{tikzpicture} \begin{umlseqdiag} % Entities required for…
Toxantron
  • 151
4
votes
1 answer

TikZ-UML: How to shrink lost space within classes?

I am using TikZ-UML to illustrate some concepts in a scientific paper. It does the job pretty well, but I have some space problems (as in all scientific papers, there is page limit). I already managed to shrink my figures by position in the concept…
4
votes
1 answer

Arrows layout to go around classes, tikz uml

I've this code in tikz…
4
votes
1 answer

tikz uml, classes with only methods or data members

From the tikz uml documentation I have this example. If I used the umlsimpleclass the two rectangles below the class name wouldn't have be drawn. My question is... is there a way to have only the sections for data members or the sections for…
4
votes
0 answers

How to draw a gate with tikz-uml

I would like to be able to draw a "gate" (described here) on a sequence diagram, but I have not been able to figure out how to do that with tikz-uml. The closest I've been able to come is to use a \umlboundary, as shown in the code…
Gary
  • 66
  • 3
4
votes
3 answers

Redefine options in TikZ-UML sequence diagrams

I have several TikZ-UML sequence diagrams and mostly I always set the options dt=5 and padding=3 for all umlcall. Is it possible to set these two variables for these values as…
3
votes
2 answers

Change style of basic states in tikz-uml package

I'm currently trying to create a uml activity diagram using the tikz-uml package. However, I would like my uml activities to have a simple body instead of the "rectangle split"-like body they have now. Desired style of activities: Current…
Amelen
  • 119
3
votes
1 answer

How to give a name to an association with tikz-uml?

Consider the following piece of code: \begin{tikzpicture} \umlsimpleclass[x=0,y=0]{Human} \umlsimpleclass[x=10,y=0]{Pet} \umlassoc[mult1=1, mult2=1..*, pos1=0.1, pos2=0.9]{Human}{Pet} \end{tikzpicture} I would like to add the word "owns" above the…
3
votes
1 answer

tikz-uml nest self call issue

When I try to use tikz-uml to draw s sequence diagram, I found it's not possible to nest a self call. for example, below code work fine since it's not a nest self…
Beatlej
  • 1,723
2
votes
1 answer

UML messy diagram

I have 7 classes and wanted to make a UML-diagram of these in latex. I did manage to code it but take a look at the result (I did even try to rescale and rearrange): You can't even identify all the lines showing the relationships. The UML is very…
That Guy
  • 175
2
votes
0 answers

How to call a function within \umlcreatecall of tikz-uml

I am using the tikz-uml package to make a uml sequence diagram and want to show what happens inside a constructor. Basically, I try to make a diagramm like this (source): But instead, the constructor call ends to soon and doesn't act similar to an…
Michael
  • 21
2
votes
0 answers

Is the asynchron type for umlcallself enviroment broken in the tikz-uml package?

I do not want to return anything in the umlcallself environment . So I select asynchron as the type. However, when it compiles the return arrow is absent, but it adds the padding as if the return arrow is present. I have a few of these self calls in…
Shook
  • 21
2
votes
1 answer

How to position a node with respect to another node?

[taken from https://tex.stackexchange.com/a/396436/128718 ] I want to use something like \node[basic,anchor=north.west, xshift=5cm] {instructor.south.east}(department) {department, instead of \node[basic,right=5cm of instructor] (department)…
alhelal
  • 2,451
2
votes
1 answer

Tikz UML State Text not working

I wanted to use the umlstatetext macro in my uml state diagram. I use the version 1.0 of tikz-uml though the macro just does nothing, as in there is no text added in the body of the state or any where else. Anybody with similar problems and knows a…
1
2 3