Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TorbjornT
Copy link

@TorbjornT TorbjornT commented Oct 16, 2017

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.

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)
@hmenke
Copy link

hmenke commented May 28, 2020

Merged at new upstream: pgf-tikz@2d253c7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants