Questions tagged [tikz-uml]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
56 views

TikZ-UML is possible to have association with more than 2 angles? how to have special arrows

i have to insert an UML into my pdf but it's a little bit complicated. I have done every association easily but there is the last one that is impossible to do because needs more than 2 control node (...
user avatar
1 vote
1 answer
37 views

How can I position a uml class relative to two other classes

How can Ii position a tikz uml class relative to two others classes ? In my example code, i was able to figure out how to position a node this way but failed to do the same for a tikz uml class. Thank ...
user avatar
1 vote
1 answer
52 views

Drawing straight lines for not aligned classes in tikzuml

I've been playing with all the options of the tikz-uml package to get a straight line for two classes that are not aligned \usepackage{float} \usepackage{tikz} \usepackage{tikz-uml} \usepackage{...
user avatar
0 votes
0 answers
78 views

UML Sequence Diagram: Is there a way to create multicast (more than one receiver) messages?

I need to create a UML sequence diagram in latex. My use case contains broadcast and multicast messages (One sender and multiple receivers). I tried the pgf-umlsd and tikz-uml package but couldn't ...
user avatar
0 votes
0 answers
24 views

tikz-uml package label position

In the following basic example the association line runs right through the package label. Is there anyway to change the package label position or enlarge the package outline? I can't change a lot in ...
user avatar
1 vote
1 answer
49 views

How to break an association arrow three times

Look at this class diagram \documentclass{article} \usepackage{geometry} \usepackage{graphicx} \usepackage{amssymb} \usepackage{amsmath} \usepackage{amsthm} \usepackage{empheq} \usepackage{mdframed} \...
user avatar
2 votes
1 answer
97 views

tikz-uml can't handle class names containing underscores

tikz-uml's umlinherit command breaks when passing in names containing underscores, consider: \documentclass{standalone} \usepackage{tikz-uml} \begin{document} \begin{tikzpicture} \umlinterface[x=-2]...
user avatar
  • 178
3 votes
1 answer
67 views

tikz-uml: How to place a package name inside the package's body?

Using the command \umlemptypackage{name}, it's possible to create simple, empty packages with tikz-uml. This leads to a package with its name written in the top left field: Since UML makes it ...
user avatar
  • 749
2 votes
1 answer
100 views

Relative Positioning with TikZ-UML does not work

To create a TikZ component diagram, I use TikZ-UML (https://perso.ensta-paris.fr/~kielbasi/tikzuml/index.php?lang=en&id=download). For relative positioning, I position my umlbasiccomponents with ...
user avatar
0 votes
0 answers
129 views

How to upload tikz-uml package on TeXstudio

I cannot run my code. I keep receiving this message: I have tried to install the latest tikz-uml package but I didn't succeed. \documentclass[12pt,article]{memoir} \usepackage[utf8]{inputenc} \...
user avatar
2 votes
1 answer
2k views

how to use tikz for uml diagrams

I'm new on latex and i need any documentation to guide me and help me know how to draw an uml diagram using tikz just got a book from previous answers but still dont get it i tried an example \...
user avatar
0 votes
0 answers
178 views

sequence diagram problem with text layout/spacing/line-breaks?

I am currently trying to use a tikz-uml sequence diagram for some script and have the following code: \begin{tikzpicture}[scale=\textwidth/15.2cm,samples=200] \tikzumlset{fill object = white, ...
user avatar
0 votes
0 answers
50 views

Hebrew causes tikz-uml to not work

The following code works: \documentclass[a4paper, 12pt, oneside]{book} \usepackage{tikz-uml} \usepackage[utf8x]{inputenc} \usepackage[english]{babel} \begin{document} \begin{tikzpicture} \begin{...
user avatar
  • 1
0 votes
1 answer
76 views

TikZ-UML bounding box too large

I'm facing issues using TikZ-UML, as the bounding box grows unexpectedly large when I have a relation in my diagram. \begin{tikzpicture}[framed] \umlsimpleclass[x=0,y=0]{A} \umlsimpleclass[x=0,y=-...
user avatar
1 vote
1 answer
181 views

Package pgf Error: No shape named java is known - problems with points in the name

I try to design a class diagram with tikz-uml: \documentclass{article} \usepackage{tikz-uml} \begin{document} \begin{tikzpicture} \umlemptyclass[type=interface ]{java.util.Collection} ...
user avatar
  • 1,087
0 votes
0 answers
119 views

Orientate automatically with tikz-uml

Is there a way to define the position of components in tikz-uml automatically? Normally it is necessary to set the position of an component as this example shows: \begin{tikzpicture} \...
user avatar
  • 608
2 votes
1 answer
1k views

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 ...
user avatar
1 vote
0 answers
763 views

Tikz-UML Sequence diagram: Form

I want to make a sequence diagram, as shown in the picture below. Code: \documentclass{article} \usepackage{tikz} \usepackage{tikz-uml} \begin{document} \begin{tikzpicture} \begin{umlseqdiag} \...
user avatar
  • 113
1 vote
1 answer
122 views

uml condition too wide

Now (means 4 hours ago) I started using tikz-uml, but I got a problem. I was doing the following seguence diagram, Using this code, \documentclass[a4paper,14pt,twoside, openright]{article} \...
user avatar
  • 41
6 votes
1 answer
2k views

How can I achieve this use case diagram using tikzpicture environment

I am using the last example of the Chapter 3 - "Use case diagrams" TikZ-UML manual (pp. 34-35). Please consider this MWE: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{...
user avatar
  • 3,039
1 vote
1 answer
324 views

How to set the width of every umlusecase using tikzpicture environment

I am using TikZ-UML awesome package and I am having trouble with defining a global configuration of a UML diagram. Please consider this MWE: \documentclass{article} \usepackage{tikz-uml} \...
user avatar
  • 3,039
1 vote
0 answers
96 views

tikz-uml delete object in sequence diagram

I hope someone can help me. I created an object with tikz-uml. Jet I want to delete it, but I have no clue how. I want an synchron arrow, like the one on create, and then an "x" on the lifeline of the ...
user avatar
  • 11
2 votes
3 answers
284 views

crash of tikz-uml and pgf-umlcd new

I get following error message: ! Package pgf Error: Sorry, the requested layer 'connectionlayers' is not part of the layer list. Please verify that you provided \pgfsetlayers and that 'conn ...
user avatar
  • 31
1 vote
0 answers
330 views

How to create asynchronous calls in sequence diagram?

I am using tikz-uml to create a UML sequence diagram. The sequence involves the object's life to die after an asynchronous call is made, and then it gets alive again after the response is got. ...
user avatar
  • 113
2 votes
0 answers
131 views

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 ...
user avatar
  • 21
1 vote
1 answer
254 views

tikz-uml node position not as expected

See below example, I expect: The distance between nodes is measured by border but not center. A,B,C is overlapped now. node E should be below D, now it's overlapped on D. The middle point of D and A ...
user avatar
  • 3,525
0 votes
0 answers
78 views

sequencediagram pushes text out of page

I am using LLNCS2E format.In my paper, I am using a sequencediagram something like below. The text around it include itemized text. itemized-text \begin{figure} \centering \resizebox{0.5\...
user avatar
  • 517
2 votes
0 answers
75 views

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 ...
user avatar
  • 21
10 votes
4 answers
7k views

Can I use the plantUML language in LaTeX?

I want to create diagrams. Preferable in LaTeX. Normally, I use the PlantUML language.
user avatar
  • 105
2 votes
1 answer
192 views

tikz-uml component box not include shift element

I try to connect two class with a help point (M) but the component do not cover that point, so my connection line is outside of the component box. \documentclass[tikz,border=2pt]{standalone} \...
user avatar
  • 3,525
0 votes
0 answers
188 views

How to center TikZ-UML?

I'm using the TikZ-UML package for creating an UML class. When i create a single class how can I center this class? My current code is: \tikzumlset{fill class=white!20} \begin{tikzpicture} \...
user avatar
  • 101
2 votes
1 answer
1k views

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 \...
user avatar
  • 2,251
1 vote
0 answers
373 views

Tikz UML relative positioning problems

I try to use tikz-uml package to draw state diagrams. I am in big trouble with positioning of the states. If there is text inside the states (eg. in state0), it seems that the anchors of this state ...
user avatar
  • 11
2 votes
1 answer
172 views

How to use beamer environment overlay with tikz-uml?

Suppose I have the following presentation and want to show umlcall on the next slide. I try to use the onlyenv environment overlay but it does not work with pdfLaTeX: \documentclass{beamer} \...
user avatar
  • 123
2 votes
2 answers
2k views

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....
user avatar
  • 89
3 votes
1 answer
708 views

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 ...
user avatar
2 votes
1 answer
351 views

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 ...
user avatar
0 votes
1 answer
200 views

How can I do if I want to put the diagram in the center of the document?

Here's my LaTeX document. \documentclass{article} \usepackage{tikz-uml} \usepackage{tikz} \usepackage[T1]{fontenc} \usepackage{amssymb} \usepackage{graphicx} \begin{document} \title{Diagrama ...
user avatar
2 votes
1 answer
391 views

UTF-8 in Tikz-UML class names

I have a problem using UTF-8 characters in the names of classes in TikZ-UML. This code works: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{tikz} \...
user avatar
  • 33
4 votes
1 answer
776 views

Arrows layout to go around classes, tikz uml

I've this code in tikz uml. \documentclass[tikz,14pt,border=10pt]{standalone} \usepackage{verbatim} \usepackage{tikz} \usepackage{tikz-uml} \usepackage{xcolor} \usepackage{pgf-umlsd} \usetikzlibrary{...
user avatar
4 votes
1 answer
1k views

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 ...
user avatar
1 vote
0 answers
314 views

\umlassoc{Ticket}{passenger} package pgf error : no shape named ticket is known [closed]

\documentclass[12pt,article]{article} \usepackage{tikzscale} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{mathpazo} \linespread{1.05} \usepackage{tikz} \pgfdeclarelayer{background,...
user avatar
4 votes
0 answers
153 views

How to draw a gate with tikz-uml [closed]

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 \...
user avatar
  • 66
0 votes
1 answer
666 views

How can I make my class name italic and bold? [TikZ-UML]

I am trying to make an abstract class name italic and bold at the same time but with the argument "type=abstract" I just get italic style but not bold. Is there any way that it will get bold too? It ...
user avatar
  • 23
0 votes
1 answer
341 views

Changing height in TikZ-UML of umlstate title

I am trying to draw a UML state diagram with tikz-uml and can't find a way to change the size of the text field for every state. When I am creating two states like one with the name Tf and another ...
user avatar
  • 23
1 vote
1 answer
484 views

Tikz-UML sequence diagram: How to make a lifeline thick (in tikz umlsdiag)

How can I make the lifelines more sharply and better visible? If I print the diagram it´s not good visible. An other possibility could be if I change the color of all lines to black. But I think it´s ...
user avatar
0 votes
1 answer
654 views

Package pgfError in UML USE Case Diagram Association

I am making an UML diagram using tikz-uml style. But it throws the following error, while developing the association relationship. I have used \umlactor and \umlusecase options to generate the actors ...
user avatar
  • 1,512
2 votes
1 answer
472 views

tikz-uml: How to place a UML object below one's lane?

I have the following code: \documentclass[a4paper]{article} %% Language and font encodings \usepackage[english]{babel} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage[a4paper,top=...
user avatar
  • 1,247
1 vote
0 answers
271 views

alt in sequence diagram with pgf-umlsd

I am doing a sequence diagram but the sdblock enviroment doesn't allow me to do an alt block with two alternatives, I have this: \documentclass{standalone} \usepackage{pgf-umlsd} \begin{document} \...
user avatar
  • 133
1 vote
1 answer
377 views

How to have systems in systems in tikz-uml

I'm using the tikz-uml package and attempting to create a use case diagram, where I have a system in another system, like so: \documentclass[a4paper]{report} \usepackage{tikz} \usepackage{ifthen} \...
user avatar