xuyuan / pgf-umlcd

this project is transfered to https://github.com/pgf-tikz/pgf-umlcd
https://github.com/pgf-tikz/pgf-umlcd
Other
55 stars 17 forks source link

Move anchor=north before this umlcd style in class etc. #16

Open TorbjornT opened 6 years ago

TorbjornT commented 6 years ago

Based on https://tex.stackexchange.com/questions/396431/is-there-any-method-to-create-uml-using-latex-without-giving-x-y-co-ordinate

By moving anchor=north before this umlcd style in the class, interface, abstractclass, and object classes, you increase the flexibility of the package, as you can set the anchor of the node in the optional argument to the environment, e.g.

\begin{class}[anchor=east]{foo}{x,y}

This makes positioning of diagram elements easier, as described in the TeX.SX post linked to above.

hmenke commented 4 years ago

Merged at new upstream: https://github.com/pgf-tikz/pgf-umlcd/commit/2d253c78c3df33a061f670a34c2a9f5084610b9d