diff -r c51128c007d6 -r 900f3c39d29e docs/workflow-basic.puml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/workflow-basic.puml Fri Jan 11 12:46:22 2019 +0100 @@ -0,0 +1,52 @@ +@startuml + +scale 800 width + +skinparam arrow { + FontSize 9 +} +skinparam state { + FontSize 8 + FontStyle bold +} +skinparam state<> { + backgroundColor Lime +} +skinparam state<> { + backgroundColor DarkGrey +} + +[*] --> draft + +draft --> prepublished : Publish\n(with future publication date) +prepublished --> draft : Cancel\npublication +prepublished --> published : system\n(at publication date) + +draft --> published : Publish + +published --> archived : Archive + +published --> draft : Create\nnew version +archived --> draft : Create\nnew version + +draft --> [*] : Delete version + +state "draft" as draft <> +state "pre-published" as prepublished +state "published" as published <> + +state "Updatable states" as UpdatableStates <> +note right of UpdatableStates + This states are + updatable by + contributors +end note + +state "Visible states" as VisibleStates <> +note right of VisibleStates + This states + are visible in + front-office +end note + +@enduml