Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save 911992/1639dca0e67fccde9dc137b2da5593f2 to your computer and use it in GitHub Desktop.
Save 911992/1639dca0e67fccde9dc137b2da5593f2 to your computer and use it in GitHub Desktop.
Samples for UMLet public/grouped attrib

Related to: v14.4.0-SNAPSHOT_grouped_attributes_(20201125)_r0

Public

All elements with fg=blue

//the diagram properties
[includes]
bg=blue

All grouped

//will group all elements are not grouped
[includes]
group=all_together

Note: string grouping is not supported in umlet 14.3.0 or lower

All line width to 2

[includes]
lw=2

All 0 Transparency

[includes]
transparency=0

Named

Deprecated

  • Spec/Declaration (diagram properties)
    [includes]
    #deprecated
    <<deprecated>>
    bg=pink
    fg=gray
    
  • Marking (select the target element)
    #include=deprecated
    

Multiple Inherited Named Groups

  • Spec/Declaration (diagram properties)
    [includes]
    #thic
    lw=3
    #fancy
    lt=.
    
  • Marking (select the target element)
    #include=thic,fancy
    

Font Size

  • Spec/Declaration (diagram properties)
    //using -fontsize to avoid already supported diagram fontsize chnage
    [includes]
    #huge
    -fontsize=32
    
  • Marking (select the target element)
    #include=huge
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment