|
|
| Line 1: |
Line 1: |
| {{DISPLAYTITLE:Key for process diagrams}}
| | #REDIRECT [[The Principia Machina/Diagrams/Process key]] |
| {{TPM map}}
| |
| ''Key for the process diagrams. Part of [[The Principia Machina/Hub|the TPM hub]]. Hand-authored at TPS 0.1.0; every process diagram links here.''
| |
| * KIND: key
| |
| * LANGUAGE: Mermaid
| |
| * USED BY: diagrams 02, 03, 04, 05, 07, 08, 09, 10, 11, C3, C4, C5
| |
| * SOURCE SHA-256: <code>efb3515e138a3e1537c21864b6072b13606cc3ce80f5c840af06947a281bc7b2</code> (flow), <code>90288fa3aec4fdcf7882d1f00622afabc53d959ae2fe67ad1ed9e43554aa6c4a</code> (state and sequence)
| |
| * TERMS: [[The Principia Machina/Diagrams/Terms|definition of terms]]; [[The Principia Machina/TPS 0.1.0/Contents|contents of the specification]]; [[The Principia Machina/Diagrams/Key for structure diagrams|key for structure diagrams]]
| |
| | |
| == Flow diagrams ==
| |
| Colors follow the site: gray boxes are tasks and checks; blue parallelograms are human acts; yellow cylinders are pages and records; green is a good outcome; red is a strike, a refusal, a halt or an expiry.
| |
| | |
| <div style="overflow-x:auto; max-width:100%; border:1px solid #c8ccd1; background:#ffffff; padding:0.5em;">
| |
| {{#mermaid:
| |
| %% K1 Key for process diagrams (Mermaid). Every shape used by the process diagrams, with its meaning.
| |
| flowchart TD
| |
| subgraph S1 ["A numbered stage: a phase of the process; its title carries the governing TPS addresses"]
| |
| T[A box is a task or check that TPS names;<br/>TPX, the CAC or an agent performs it.<br/>The address at the end says where TPS states it:<br/>5.5.2, row 19, SR3, CR9]
| |
| H[/A parallelogram is a human act:<br/>a declaration, a review, a decision.<br/>Only a human does it/]
| |
| D[(A cylinder is a page or a record:<br/>something that exists on the wiki or<br/>in the register after the step before it)]
| |
| G[(A green cylinder or box is a good outcome:<br/>a landing accepted, a record that stands)]
| |
| B[(A red cylinder or box is a strike,<br/>a refusal, a halt or an expiry)]
| |
| end
| |
| T -- a solid arrow is the next step;<br/>its label is the condition or the outcome --> H
| |
| H -. a dashed arrow is a return<br/>or a rejection path .-> T
| |
| H --> D
| |
| D --> G
| |
| D --> B
| |
| | |
| classDef task fill:#eaecf0,stroke:#a2a9b1,color:#202122
| |
| classDef human fill:#eaf3ff,stroke:#36c,color:#202122
| |
| classDef data fill:#fef6e7,stroke:#ac6600,color:#202122
| |
| classDef bad fill:#fee7e6,stroke:#d33,color:#202122
| |
| classDef good fill:#d5fdf4,stroke:#14866d,color:#202122
| |
| style S1 fill:#f8f9fa,stroke:#c8ccd1,color:#202122
| |
| class T task
| |
| class H human
| |
| class D data
| |
| class G good
| |
| class B bad
| |
| |config.theme=neutral}}
| |
| </div>
| |
| | |
| ; box : a task or check that TPS names; TPX, the CAC or an agent performs it. The address at the end (5.5.2, row 19, SR3, CR9) says where TPS states it.
| |
| ; parallelogram : a human act, a declaration, a review or a decision. Only a human does it.
| |
| ; cylinder : a page or a record, something that exists on the wiki or in the register after the step before it.
| |
| ; shaded, numbered region : a stage; its title carries the TPS addresses that govern it.
| |
| ; solid arrow : the next step; its label is the condition or the outcome (pass, fail, match, mismatch, strike).
| |
| ; dashed arrow : a return or a rejection path.
| |
| | |
| == State and sequence diagrams ==
| |
| <div style="overflow-x:auto; max-width:100%; border:1px solid #c8ccd1; background:#ffffff; padding:0.5em;">
| |
| {{#mermaid:
| |
| %% K1b Key for state and sequence diagrams (Mermaid). Used by diagrams 02, 05, 09, 11.
| |
| stateDiagram-v2
| |
| [*] --> A_STATE : a filled circle is the start; an arrow label is the event and its TPS address
| |
| A_STATE --> ANOTHER_STATE : a state is a named condition a container or a block can be in
| |
| ANOTHER_STATE --> [*] : a ringed circle is the end
| |
| note right of A_STATE : in a sequence diagram, a vertical lane is a participant; a solid arrow is an action; a dashed arrow is a reply or a check; a note is a rule
| |
| |config.theme=neutral}}
| |
| </div>
| |
| | |
| ; state (rounded box) : a named condition a container or a block can be in; the arrow label is the event and its TPS address.
| |
| ; filled circle, ringed circle : start and end.
| |
| ; sequence lane : a participant (a human, TPX, a page, an agent); solid arrow an action, dashed arrow a reply or a check; a note is a rule.
| |
| | |
| [[Category:The Principia Machina]]
| |
|
| |
|