Questions tagged [pgf-umlcd]

pgf-umlcd is a set of macros for UML class diagrams drawing and built on top of the PGF/TikZ graphics frameworks.

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

Change the position of text in pgf-umlcd aggregation

I need to change the position of text written on top of aggregation relation in pgf-umlcd. Here is what I've written so far: \begin{figure}[h] \centering \begin{tikzpicture}[show background ...
2
votes
3answers
134 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 ...
0
votes
0answers
63 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
1answer
135 views

How to create a diamond-inheritance in pgf-umlcd

Situation I want to create different class diagrams, especially one that shows a diamond problem in multiple inheritance. Since it seemed especially easy to use I decided to go with pgf-umlcd but ...
2
votes
1answer
54 views

pgf-umlcd : text width error in class diagram

Trying to draw a package classes diagram with pgf-umlcd, I have got an error because of text width parameter for the class width, I don't know which package I need to solve the problem. Here is a ...
1
vote
1answer
46 views

How to align visibility in pgf-umlcd?

code here- \documentclass{standalone} \usepackage{pgf-umlcd} \begin{document} \begin{tikzpicture} \begin{class}[text width = 8cm]{JavaLanguageBehavior}{0,0} \attribute{$\sim$ com.alhelal....
1
vote
1answer
914 views

What is meant by “! Package tikz Error: Giving up on this path. Did you forget a semicolon?.” when I use pgf-umlcd?

My code is \documentclass{standalone} \usepackage{pgf-umlcd} \renewcommand{\unidirectionalAssociation}[4] { draw[umlcd style, ->] (#1) -- (#4) node[near end, auto]{#2} node[near end, auto,...
1
vote
1answer
234 views

How to create abstract factory pattern UML using pgf-umlcd?

How to create NYPizzaIngredientFactory to others association using one command/ anything easy in pgf-umlcd? Mainly, I want the unidirectionalassociation from one source to multiple targets. I am ...
2
votes
1answer
184 views

Is there any method to create UML using LaTeX without giving (x,y) co-ordinate?

I use pgf-umlcd package for making UML class diagram. This package generates gorgeous style. But, problem is when new class, operation, attribute is added to the UML then I have to change the (x,y) co-...
-1
votes
1answer
345 views

How to draw these association using pgf-umlcd?

In pgf-umlcd manual the composition and aggregation line are 2 side arrowed. How can I draw one side arrowed that looks like- These association are described in wikipedia class diagram
1
vote
1answer
62 views

PGF-UMLCd: How to remove Attribute-section

I need a uml class-diagram and I am using pgf-umlcd. My "Classes" do not have attributes (because it is a C-Interface). But the attibute section is still drawn and i could not find an option to ...
1
vote
1answer
126 views

\unidirectionalAssociation usage problem in pgf-umlcd?

I use pgf-umlcd manual as manual to create uml diagrum. But, when I use \unidirectionalAssociation command there occurs a problem. My code here - \documentclass{article} \usepackage{pgf-umlcd} \...
1
vote
1answer
70 views

About co-ordinate problem

\documentclass{article} \usepackage{pgf-umlcd} \usepackage[a4paper,textwidth=8in,showframe]{geometry} \begin{document} \begin{tikzpicture} \begin{interface}[text width = 6cm]{SG}{-3,3} \...
1
vote
1answer
183 views

How to extend class diagram box in pgf-umlcd?

I have this code - \documentclass{article} \usepackage{pgf-umlcd} \begin{document} \begin{tikzpicture} \begin{interface}{SG}{0,0} \operation{addWord(addWork: String) : String} ...
1
vote
1answer
468 views

pgf-umlcd: underscore in class name failing

I have a simple class diagram drawn with pgf-umlcd, but using an underscore within the class name leads to an error message. \begin{tikzpicture} \begin{class}{foo\_bar}{0,0} % some stuff here ...
1
vote
1answer
66 views

Opacity with a pgf-umlcd diagram

Can anyone help me get an opacity scope to work correctly with pgf-umlcd inheritance relation? \documentclass{minimal} \usepackage{pgf-umlcd} \begin{document} \begin{tikzpicture} \begin{scope}[...
3
votes
1answer
74 views

pgf-umlcd operation command fails within a beamer document

It appears there is some incompatibility with the zero option to specify a virtual operation in pgf-umlcd with beamer. It works fine in an article document. The example pgf-umlcd code was taken ...
2
votes
1answer
105 views

Controlling start and end of umlcd arcs

I am creating a class diagram in pgf-umlcd. I have two classes, where there are one class aggregates two instances of another class. The obvious way to do this is below. \begin{figure}[ht] \...
0
votes
1answer
655 views

Change the colors used in pgf-umlcd

Is it possible to change the colors used in the pgf-umlcd package used to model UML class diagrams? The default yields a yellow background and a red border. However I'd like to use black and white ...
2
votes
1answer
954 views

Adding an argument/variable in `sequencediagram` (pgf-umlsd)

My aim is to have the possiblity to configure in the figure tex either if the vertical bar of a sequence diagram is dotted, plain, thick, etc. Depending on the diagram, I wish I could have the choice ...
3
votes
1answer
141 views

Multiline \operation inside figure

I am trying to use pgf-umlcd to create a class diagram. The class includes a method name with long types for the parameter, so I am using \\ to split the definition over two lines. The following ...
1
vote
0answers
169 views

Use Case diagrams , UML diagrams and E-R diagrams in LaTeX [duplicate]

Does LaTeX allow to draw Use Case Diagrams, UML Diagrams and E-R Diagrams. How to implement these? What packages to use?
2
votes
1answer
528 views

crash of tikz-uml and pgf-umlcd

I am stuck with inheritance diagram using pgf-umlcd. I am using both pgf-umlcd and tikz-uml. There is no error but the inherited line is not showing. \documentclass[a4paper,10pt]{book} \usepackage{...
3
votes
2answers
426 views

How to extend pgf-umlcd with self association connection?

I have the following UML diagram describing an OrganizationUnit with Persons that fill zero to many Vacancies. The problem lies with need to have nested OrganizationUnits, since pgf-umlcd does not ...
3
votes
1answer
284 views

Class with template parameter

AFAIK pgf-umlcd does not support classes with template parameter (std::vector<T> for instance). Does anybody have a workaround allowing the drawing of such classe? Is there a simple PGF/Tikz ...
7
votes
2answers
836 views

TikZ UML diagram special character problem

I'm trying to create an UML diagram using TikZ and pgf-umlcd, unfortunately I seem to have some kind of special character problem and was not able to figure out how to escape them right, an example ...
3
votes
1answer
1k views

On a problem related to UML class diagram using pgf-umlcd

I use the pgf-umlcd package written by Xu Yuan (see http://code.google.com/p/pgf-umlcd/) in order to write UML class diagrams. It is easy to use - however there is a bug which I don't know how to fix. ...