You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minimal Mermaid demos live in [`docs/demos/mermaid/README.md`](docs/demos/mermaid/README.md):
78
+
Mermaid demos live in [`docs/demos/mermaid/README.md`](docs/demos/mermaid/README.md):
79
79
80
80
- process demo from [`examples/lead-qualification.orgs`](examples/lead-qualification.orgs) to [`docs/demos/mermaid/lead-qualification.mermaid.md`](docs/demos/mermaid/lead-qualification.mermaid.md)
81
81
- stateflow demo from [`examples/order-approval.orgs`](examples/order-approval.orgs) to [`docs/demos/mermaid/order-approval.mermaid.md`](docs/demos/mermaid/order-approval.mermaid.md)
82
82
83
-
Generate the demo artifacts with:
83
+
Markdown summary demos live in [`docs/demos/markdown/README.md`](docs/demos/markdown/README.md):
84
+
85
+
- process summary from [`examples/lead-qualification.orgs`](examples/lead-qualification.orgs) to [`docs/demos/markdown/lead-qualification.summary.md`](docs/demos/markdown/lead-qualification.summary.md)
86
+
- mixed summary from [`examples/order-approval.orgs`](examples/order-approval.orgs) to [`docs/demos/markdown/order-approval.summary.md`](docs/demos/markdown/order-approval.summary.md)
This folder shows the shortest path from OrgScript source to human-readable Markdown summaries.
4
+
5
+
Each demo keeps the source file in `examples/` and generates one downstream artifact here:
6
+
7
+
-`*.summary.md`: a concise Markdown summary of the modeled logic
8
+
9
+
## Generate
10
+
11
+
```text
12
+
npm run demo:generate
13
+
```
14
+
15
+
## Demos
16
+
17
+
| Demo | Source | Markdown summary |
18
+
| --- | --- | --- |
19
+
| Lead qualification process |[lead-qualification.orgs](../../../examples/lead-qualification.orgs)|[lead-qualification.summary.md](./lead-qualification.summary.md)|
20
+
||| A compact process example that shows trigger, branching, assignment, notification, and state transition. |
21
+
| Order approval stateflow |[order-approval.orgs](../../../examples/order-approval.orgs)|[order-approval.summary.md](./order-approval.summary.md)|
22
+
||| A stateflow-focused example that also demonstrates how Mermaid export skips unsupported blocks while still producing useful output. |
23
+
24
+
## Notes
25
+
26
+
- These artifacts are generated from the current Markdown summary exporter.
27
+
- The summaries are intentionally concise and deterministic rather than prose-heavy.
28
+
- If you change Markdown export behavior, regenerate this folder with `npm run demo:generate` and review the diffs.
0 commit comments