How to create a copy of diagram in question (packages with empty headers and labelled bodies)

0 votes
asked Jun 26 in Question / help by Lockywolf

This is the diagram in question:

I have taken it from Tomas A. Pender's UML Weekend Crash Course, Figure 1-1

My best attempt so far has been the following:

skinparam monochrome true

package "Behavioral Elements" as pBE
package "Foundation" as pF
package "Model Management" as pMM
pBE -.> pF
pMM -.> pF

left footer "Figure 1-1 Packages of the UML metamodel"

https://www.planttext.com/?text=HOz12eGm34NtEKLmxu0N64JGrHHcCmS86hNODjAcdd_goE3kX__ouBT9AMhs3Y1jDkmKoQEN8ECQnJDgp0omqxZHmbXrlD9X9PB3th7deAb2IhXt_GqDaiD4QYLStN1NHYPsQ2YKw_o-06EW2B1-F7-mCVy8ZcV5MKGv5gzTScHiwWRVbp2XpAWhuyUyqBEIF_qL0BGSfhBg2m00

Not too bad, but I would like the following:

  1. Remove the pF, pBE, pMM from the package headers.
  2. Make the diagram 'one row' as opposed to a 'binary tree'.
  3. If possible, make the header of a package a true rectangle, rather than a trapezoid.
  4. If possible, write the packages in the package pBF{} way, rather than one-line.

Can someone help?

1 Answer

0 votes
answered Jun 26 by plantuml (198,100 points)
...