Skip to content
This repository was archived by the owner on Apr 26, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pgf-umlcd.sty
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ minimum height=1cm, node distance=2cm]
\begin{classAndInterfaceCommon}{#1}{#2}{#3}
}%
{\calcuateNumberOfParts{}
\node[this umlcd style, anchor=north] (\umlcdClassName) at (\umlcdClassPos)
\node[anchor=north, this umlcd style] (\umlcdClassName) at (\umlcdClassPos)
{\textbf{\umlcdClassName}
\insertAttributesAndOperations{}
};
Expand All @@ -77,7 +77,7 @@ minimum height=1cm, node distance=2cm]
\begin{classAndInterfaceCommon}{#1}{#2}{#3}
}%
{\calcuateNumberOfParts{}
\node[this umlcd style, anchor=north] (\umlcdClassName) at (\umlcdClassPos)
\node[anchor=north,this umlcd style] (\umlcdClassName) at (\umlcdClassPos)
{$<<$interface$>>$ \\ \textbf{\umlcdClassName}
\insertAttributesAndOperations{}
};
Expand All @@ -90,7 +90,7 @@ minimum height=1cm, node distance=2cm]
\begin{classAndInterfaceCommon}{#1}{#2}{#3}
}%
{\calcuateNumberOfParts{}
\node[this umlcd style, anchor=north] (\umlcdClassName) at (\umlcdClassPos)
\node[anchor=north, this umlcd style] (\umlcdClassName) at (\umlcdClassPos)
{$<<$abstract$>>$ \\ \textbf{\umlcdClassName}
\insertAttributesAndOperations{}
};
Expand Down Expand Up @@ -127,7 +127,7 @@ minimum height=1cm, node distance=2cm]
\def\umldObjectName{\umlcdClassName : \@instanceOf}
\fi

\node[this umlcd style, anchor=north, umlcd style school] (\umlcdClassName) at (\umlcdClassPos)
\node[anchor=north, this umlcd style, umlcd style school] (\umlcdClassName) at (\umlcdClassPos)
{ \ifschool
\textbf{\umldObjectName}
\else
Expand Down