{ "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" ] } ] }