docs/workflow-standard.puml
changeset 1225 900f3c39d29e
equal deleted inserted replaced
1224:c51128c007d6 1225:900f3c39d29e
       
     1 @startuml
       
     2 
       
     3 scale 1024 width
       
     4 
       
     5 skinparam arrow {
       
     6     FontSize 9
       
     7 }
       
     8 skinparam state {
       
     9     FontSize 8
       
    10     FontStyle bold
       
    11 }
       
    12 skinparam state<<visible>> {
       
    13     backgroundColor Lime
       
    14 }
       
    15 skinparam state<<updatable>> {
       
    16     backgroundColor DarkGrey
       
    17 }
       
    18 
       
    19 [*] --> draft
       
    20 
       
    21 draft --> proposed : Publication\nrequest
       
    22 retired --> proposed : Publication\nrequest
       
    23 
       
    24 proposed --> canceled : Cancel publication\nrequest
       
    25 canceled --> draft : <i>automatic</i>\n(if never published)
       
    26 canceled --> retired : <i>automatic</i>\n(if already published)
       
    27 
       
    28 proposed --> refused : Refuse\npublication
       
    29 refused --> draft : <i>automatic</i>\n(if never published)
       
    30 refused --> retired : <i>automatic</i>\n(if already published)
       
    31 
       
    32 proposed --> prepublished : Publish\n(with future publication date)
       
    33 prepublished --> published : <i>system</i>\n(at publication date)
       
    34 prepublished --> proposed : Cancel\npublication
       
    35 
       
    36 proposed --> published : Publish
       
    37 
       
    38 published --> retiring : Request\nretiring
       
    39 published --> retired : <i>automatic</i>\n(passed expiration date)
       
    40 
       
    41 retiring --> published : Cancel retire\nrequest
       
    42 retiring --> retired : Retire
       
    43 
       
    44 retired --> archiving : Archive\nrequest
       
    45 archiving --> retired : Cancel archive\n request
       
    46 archiving --> archived : Archive
       
    47 
       
    48 published --> archived : <i>system</i>\n(new published version)
       
    49 retiring --> archived : <i>system</i>\n(new published version)
       
    50 retired --> archived : <i>system</i>\n(new published version)
       
    51 
       
    52 published --> draft : Create\nnew version
       
    53 retiring --> draft : Create\nnew version
       
    54 retired --> draft : Create\nnew version
       
    55 archiving --> draft : Create\nnew version
       
    56 archived --> draft : Create\nnew version
       
    57 
       
    58 draft --> [*] : Delete version
       
    59 
       
    60 state "draft" as draft <<updatable>>
       
    61 state "pre-published" as prepublished
       
    62 state "published" as published <<visible>>
       
    63 state "retiring" as retiring <<visible>>
       
    64 state "retired" as retired <<updatable>>
       
    65 
       
    66 state "Updatable states" as UpdatableStates <<updatable>>
       
    67 note right of UpdatableStates
       
    68     This states are
       
    69     updatable by
       
    70     contributors
       
    71 end note
       
    72 
       
    73 state "Visible states" as VisibleStates <<visible>>
       
    74 note right of VisibleStates
       
    75     This states
       
    76     are visible in
       
    77     front-office
       
    78 end note
       
    79 
       
    80 @enduml