Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save 911992/a434466c45a60cfb6e9208319c2f17e2 to your computer and use it in GitHub Desktop.
Save 911992/a434466c45a60cfb6e9208319c2f17e2 to your computer and use it in GitHub Desktop.
Spec of UMLet public/grouped attrib

Related to umlet#515

Spec

First shared attribs (either public/grouped) must be defined, to do so:

  • Simply select the working diagram(also works for pallets)(not an element, e.g. a blank space in diagram)
  • Start the shared public/grouped definition using [includes]
    • Any line after [includes] will be assumed as public attribs(all elements will grab it, at the first line of each)
    • For specifying a group, do it using leading # char, like #blues
      • any line after #blues will be assigned for group blues
      • Hint: # char could be escaped using \#
      • Hint: multiple group names would be defined to have a common line, e.g. #blues,reds
  • Select the element(s) wish grab the named(non public) groups, and include the related group using #include=
    • For blues case it goes like #include=blues
    • Hint: a named group could be included more than one times
    • Hint: no need to include public group, it's included at the beginning of all elements automatically
    • Hint: one #include= may include more than one named group using ,. e.g. #include=911,992
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment