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.

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

Official website

31 questions
3
votes
1 answer

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-ordinate for each class for better decoration…
alhelal
  • 2,451
3
votes
1 answer

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.…
2
votes
1 answer

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 sample…
Hind Dev
  • 641
2
votes
1 answer

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] \begin{tikzpicture}[show background grid] …
1
vote
1 answer

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 trying this…
alhelal
  • 2,451
1
vote
1 answer

\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…
alhelal
  • 2,451
1
vote
1 answer

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} \operation{generateSentence(): String} …
alhelal
  • 2,451
1
vote
1 answer

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}[opacity=0.3] \begin{class}{Foo}{0, 2cm} …
William
  • 65
0
votes
1 answer

Styling individual elements in a pgf-umlcd diagram

I'm aware that I can change the color of elements globally with e.g. \renewcommand {\umltextcolor}{red}. How could I give individual elements different colours or fonts? Assume the example below, where I want to give the IMyInterface box a blue…
Lennart
  • 394
0
votes
1 answer

Enum type in class diagram (pgf-umlcd)

I just discovered the package pgf-umlcd and I am unable to draw enum types, I tried the obvious: \begin{enum} \begin{enumeration} \begin{enumclass} However none of these work. I did some Google research but was not able to find the correct line…
-1
votes
1 answer

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
alhelal
  • 2,451