docs/workflow-basic.puml
changeset 1225 900f3c39d29e
--- /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<<visible>> {
+    backgroundColor Lime
+}
+skinparam state<<updatable>> {
+    backgroundColor DarkGrey
+}
+
+[*] --> draft
+
+draft --> prepublished : Publish\n(with future publication date)
+prepublished --> draft : Cancel\npublication
+prepublished --> published : <i>system</i>\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 <<updatable>>
+state "pre-published" as prepublished
+state "published" as published <<visible>>
+
+state "Updatable states" as UpdatableStates <<updatable>>
+note right of UpdatableStates
+    This states are
+    updatable by
+    contributors
+end note
+
+state "Visible states" as VisibleStates <<visible>>
+note right of VisibleStates
+    This states
+    are visible in
+    front-office
+end note
+
+@enduml