Closed (fixed)
Project:
Content Model & Site Documentation
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
28 Apr 2023 at 22:33 UTC
Updated:
31 May 2023 at 11:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
swirtExample:
results in
Comment #3
davidmpickett commentedModeling this on the Entity Relationship Diagram, here's a series of drop downs that might power workflow diagrams:
Starting from the Approved workflow state might look like this:

flowchart LR
A1(Draft)
A2(Draft)
B1(In review)
B2(In review)
C1(Approved)
C2(Approved)
C3(Approved)
D1(Published)
D2(Published)
E1(Archived)
E2(Archived)
A1 ~~~ C2 ~~~ A2
B1 -->|Approve| C2 ~~~ B2
C1 ~~~ C2 ~~~ C3
D1 ~~~ C2 -->|Publish| D2
E1 ~~~ C2 -->|Archive| E2
Starting from the Edit workflow transition might look like this:

Mermaid markdown:
flowchart LR
A(Draft)
B(In review)
D(Published)
E(Archived)
A -->|Edit| A
B -->|Edit| A
D -->|Edit| A
E -->|Edit| A
Comment #4
swirtThat is great @davidmpickett thank you for the guidance.
Comment #5
swirtI am working on this now.
Comment #7
swirtThe initial take on this has merged. It will go out with 1.0.6
It is missing the diagram that shows a current state and the entry and exit points for that state. It needs some different logic from the other two variants.
Comment #8
swirtClosing this and will add the third display as a new issue.
Comment #9
swirtHere is the new issue I created for the missing diagram
https://www.drupal.org/project/content_model_documentation/issues/3360981
Comment #10
swirt