Guest User

Untitled

a guest
May 24th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. documentclass[border=5pt]{standalone}
  2. usepackage{tikz}
  3. usetikzlibrary{positioning,calc}
  4. usepackage{tikz-uml}
  5.  
  6. begin{document}
  7. tinybegin{tikzpicture}[show background grid]
  8. defdx{0.5cm}
  9. defdy{1.5cm}
  10. umlclass{AAAAAA}{}{};
  11. umlclass[left=dx of AAAAAA]{BBBBBBBBB}{}{};
  12. umlclass[right=dx of AAAAAA]{C}{}{};
  13. umlclass[below=dy of AAAAAA]{D}{}
  14. {+foo()\
  15. +bar()\
  16. +hello()};
  17. umlclass[below=dy of D]{E}{}{};
  18.  
  19. node[circle,fill=black] (M) at ($(D)!0.5!(AAAAAA)$) {};
  20. umlinherit[geometry=-|]{D}{AAAAAA};
  21. umlinherit[geometry=-|]{M}{BBBBBBBBB};
  22. umlinherit[geometry=-|]{M}{C};
  23. end{tikzpicture}
  24. end{document}
Add Comment
Please, Sign In to add comment