docs/workflow-basic.puml
changeset 1225 900f3c39d29e
equal deleted inserted replaced
1224:c51128c007d6 1225:900f3c39d29e
       
     1 @startuml
       
     2 
       
     3 scale 800 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 --> prepublished : Publish\n(with future publication date)
       
    22 prepublished --> draft : Cancel\npublication
       
    23 prepublished --> published : <i>system</i>\n(at publication date)
       
    24 
       
    25 draft --> published : Publish
       
    26 
       
    27 published --> archived : Archive
       
    28 
       
    29 published --> draft : Create\nnew version
       
    30 archived --> draft : Create\nnew version
       
    31 
       
    32 draft --> [*] : Delete version
       
    33 
       
    34 state "draft" as draft <<updatable>>
       
    35 state "pre-published" as prepublished
       
    36 state "published" as published <<visible>>
       
    37 
       
    38 state "Updatable states" as UpdatableStates <<updatable>>
       
    39 note right of UpdatableStates
       
    40     This states are
       
    41     updatable by
       
    42     contributors
       
    43 end note
       
    44 
       
    45 state "Visible states" as VisibleStates <<visible>>
       
    46 note right of VisibleStates
       
    47     This states
       
    48     are visible in
       
    49     front-office
       
    50 end note
       
    51 
       
    52 @enduml