Questions tagged [tikz-uml]
{tikz-uml} is a package for creating UML-diagrams, built on TikZ. See also {pgf-umlcd}, {pgf-umlsd}, {metauml}.
93
questions
2
votes
1answer
31 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 ...
0
votes
0answers
63 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}
\...
2
votes
1answer
267 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
\...
0
votes
0answers
122 views
Nested alt fragment in UML sequence diagram with tikz-uml
I would like to create a UML sequence diagram with tikz-uml, which has several nested alt fragments. The problem is that the dividing line of the outer alt fragment starts at the level of the inner ...
0
votes
0answers
67 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, ...
0
votes
0answers
38 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{...
0
votes
1answer
57 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=-...
1
vote
1answer
140 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} ...
0
votes
0answers
74 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}
\...
2
votes
1answer
827 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 ...
1
vote
0answers
550 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}
\...
1
vote
1answer
91 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}
\...
5
votes
1answer
1k 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]{...
1
vote
1answer
237 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}
\...
1
vote
0answers
85 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 ...
2
votes
3answers
224 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 ...
1
vote
0answers
254 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. ...
2
votes
0answers
114 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 ...
1
vote
1answer
205 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 ...
0
votes
0answers
73 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\...
2
votes
0answers
66 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 ...
7
votes
4answers
3k views
Can I use the plantUML language in LaTeX?
I want to create diagrams. Preferable in LaTeX. Normally, I use the PlantUML language.
2
votes
1answer
163 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}
\...
0
votes
0answers
162 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}
\...
1
vote
1answer
811 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
\...
1
vote
0answers
275 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 ...
1
vote
1answer
111 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}
\...
1
vote
2answers
1k 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....
3
votes
1answer
529 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 ...
2
votes
1answer
274 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 ...
0
votes
1answer
184 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 ...
2
votes
1answer
364 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}
\...
3
votes
1answer
635 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{...
4
votes
1answer
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 ...
1
vote
0answers
279 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,...
4
votes
0answers
142 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 \...
0
votes
1answer
542 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 ...
0
votes
1answer
302 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 ...
1
vote
1answer
401 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 ...
0
votes
1answer
623 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 ...
2
votes
1answer
364 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=...
1
vote
0answers
232 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}
\...
1
vote
1answer
315 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}
\...
2
votes
1answer
648 views
Line break in TikZ-UML state transition
Let's take a look at the following example state diagram created with TikZ-UML:
\documentclass{standalone}
\usepackage{tikz-uml}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}...
3
votes
1answer
686 views
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{...
2
votes
1answer
184 views
Issue with tikz UML and accents
I have an issue using tikzuml and accents. The following works fine:
\usepackage[latin1]{inputenc}
\usepackage[english,frenchb]{babel}
\usepackage{tikz}
\usepackage{tikz-uml}
...
\begin{tikzpicture}
\...
0
votes
1answer
142 views
not able to redo the tikz-uml usecase manual sample
in tikzumlmanual.pdf i found on page 34 a sample of a usecasesystem that i wold like to test. But i can't redo it.
the MWS is:
\documentclass[12pt]{article}
\usepackage{geometry} % see geometry.pdf ...
2
votes
1answer
338 views
How to make a umlcall without a caller class in Tikz-uml sequence diagram?
Can I make a call to a class without a caller class using TikZ-uml sequence diagrams? It would be just an arrow pointing at a timeline of a class beginning a new method as added in this picture ...
2
votes
1answer
195 views
Tikz-Uml hidden lines
I have problems with drawing an use-case diagram with tikz-uml.
There is no problem if I only use tikz-uml, but if include the smartdiagram package too.
I've had some errors telling me that the ...
1
vote
0answers
211 views
Align Tikz-Uml to the left [duplicate]
I am trying to fit a UML diagram in a page, but it overflowing to the right. I've tried hfill, flushright, flushleft but none of this work. Here is the code:
\documentclass[twoside,openright,...