simplepdlmmodel.tex 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. %\begin{tikzpicture}[scale=0.61,transform shape]
  2. \begin{tikzpicture}%[scale=1,transform shape]
  3. \begin{class}{Process}{-8,3}
  4. \attribute{name : String}
  5. \end{class}
  6. \begin{abstractclass}{ProcessElement}{0,3}
  7. \end{abstractclass}
  8. % \begin{class}{Guidance}{-1,0.5}
  9. % \inherit{ProcessElement}
  10. % \attribute{text : String}
  11. % \end{class}
  12. \begin{class}{WorkDefinition}{-8,-1.5}
  13. \inherit{ProcessElement}
  14. \attribute{name : String}
  15. \end{class}
  16. \begin{class}{WorkSequence}{0,-1.5}
  17. \inherit{ProcessElement}
  18. \attribute{linkType : WorkSequenceType}
  19. \end{class}
  20. \begin{enum}{WorkSequenceType}{2.5,1.5}
  21. \attribute{startToStart}
  22. \attribute{finishToStart}
  23. \attribute{startToFinish}
  24. \attribute{finishToFinish}
  25. \end{enum}
  26. \composition{Process}{processElements}{*}{ProcessElement}
  27. \composition{WorkDefinition}{process}{0..1}{Process}
  28. \unidirectionalAssociation{Process}{from}{0..1}{WorkDefinition}
  29. \unidirectionalAssociation{ProcessElement}{parent}{1}{Process}
  30. %\association{WorkDefinition}{successor}{1}{WorkSequence}{0..*}{linksToPredecessors}
  31. \myassociation{WorkDefinition}{successor}{1}{WorkSequence}{*}{linksToPredecessors}{-4.5,-1}{0} %{210}
  32. %\association{WorkDefinition}{predecessor}{1}{WorkSequence}{0..*}{linksToSuccessors}
  33. \myassociation{WorkDefinition}{predecessor}{1}{WorkSequence}{*}{linksToSuccessors}{-4.8,-3.2}{1} %{150}
  34. \end{tikzpicture}