tikzuml.sty 1004 B

1234567891011121314
  1. \tikzset{uml box/.style={draw, minimum height=.7cm, text badly centered},
  2. uml small box/.style={draw, text width=.7cm, minimum height=.5cm, text badly centered},
  3. uml class/.style={rectangle split, rectangle split parts=2, draw, minimum width=0, font=\sffamily},
  4. uml directed/.style={thick, -angle 90},
  5. uml aggregation head/.style={shape=diamond, aspect=.5, anchor=north, thick, draw},
  6. uml composition head/.style={shape=diamond, aspect=.5, anchor=north, thick, filldraw},
  7. uml generalization head/.style={shape=isosceles triangle, isosceles triangle apex angle=60, shape border rotate=90, scale=.8, draw, thick, anchor=apex},
  8. uml cardinality start/.style={very near start, auto, font=\sffamily},
  9. uml cardinality end/.style={very near end, auto, font=\sffamily},
  10. uml role start/.style={very near start, auto, font=\footnotesize\sffamily},
  11. uml role end/.style={near end, auto, font=\footnotesize\sffamily},
  12. uml association name/.style={midway, auto, font=\footnotesize\sffamily},
  13. }%