Files
trackgo-fe/apps/web/docs/how-to/sales-workflow.workflow.json
T
shancheas 166e0d40ac feat: introduce archify skill for generating architecture diagrams
- Added a new Archify skill, enabling users to create polished architecture, workflow, sequence, data-flow, and lifecycle diagrams.
- Implemented comprehensive functionality including rendering, validation, and delivery of diagrams in various formats.
- Integrated a user-friendly command-line interface for generating and previewing diagrams.
- Developed supporting files including package.json, LICENSE, and SKILL.md for documentation and licensing.
- Added unit tests to ensure reliability and functionality of the new skill.

These changes enhance the application by providing a structured approach to visualizing system architecture and workflows, improving user experience and data representation.
2026-08-31 11:31:29 +07:00

47 lines
2.6 KiB
JSON

{
"schema_version": 2,
"diagram_type": "workflow",
"meta": {
"title": "Sales Workflow in TrackGo Web",
"locale": "en",
"quality_profile": "showcase"
},
"lanes": [
{ "id": "sales", "label": "Sales" },
{ "id": "logistics", "label": "Logistics" }
],
"phases": [
{ "id": "capture", "label": "Capture", "fromCol": 0, "toCol": 1 },
{ "id": "fulfill", "label": "Fulfill", "fromCol": 2, "toCol": 3, "variant": "emphasis" },
{ "id": "settle", "label": "Collect", "fromCol": 4, "toCol": 5, "variant": "dashed" }
],
"mainPath": ["order", "process", "invoice", "payment"],
"nodes": [
{ "id": "request", "lane": "sales", "col": 0, "type": "frontend", "label": "Sales Request", "sublabel": "optional source" },
{ "id": "order", "lane": "sales", "col": 1, "type": "frontend", "label": "Sales Order", "sublabel": "draft" },
{ "id": "process", "lane": "sales", "col": 2, "type": "security", "label": "Process", "sublabel": "draft → processed" },
{ "id": "invoice", "lane": "sales", "col": 3, "type": "frontend", "label": "Sales Invoice", "sublabel": "Cancel only" },
{ "id": "packing", "lane": "logistics", "col": 3, "type": "frontend", "label": "Packing Slip", "sublabel": "Logistics menu" },
{ "id": "complete", "lane": "logistics", "col": 4, "type": "security", "label": "Complete", "sublabel": "delivered qty" },
{ "id": "payment", "lane": "sales", "col": 5, "type": "frontend", "label": "Sales Payment", "sublabel": "submit / approve" }
],
"edges": [
{ "id": "req-order", "from": "request", "to": "order", "label": "from request", "variant": "dashed", "role": "branch" },
{ "id": "order-process", "from": "order", "to": "process", "label": "Process", "variant": "emphasis" },
{ "id": "process-inv", "from": "process", "to": "invoice", "label": "creates invoice", "variant": "emphasis" },
{ "id": "process-pack", "from": "process", "to": "packing", "label": "generate packing", "role": "branch" },
{ "id": "pack-complete", "from": "packing", "to": "complete", "label": "Complete" },
{ "id": "inv-pay", "from": "invoice", "to": "payment", "label": "Create Payment", "variant": "emphasis" }
],
"cards": [
{
"dot": "cyan",
"title": "What the screens actually do",
"items": [
"Order: Process + Cancel. Packing: Complete with qty (remainder opens a new slip) + Cancel. Invoice: Cancel only. Payment: Submit, then Approve / Reject / Rollback",
"Process sends generatePackingSlip (default on). Order/invoice completed and invoice processed/partial are displayed only; Cancel patches that document only"
]
}
]
}