Diagram chart
A diagram chart draws driver trees, processes, architectures and org charts as connected shapes, from eight layout presets, with lines routed around the boxes.
- React
import { DiagramChart } from 'boardplot/react/diagram';- Reference
- Data, options and sizing
- Use for
- Process or organization flow · Driver tree or value chain · Organization chart · System architecture and data flow · Trust boundaries and protected zones
Profit driver tree
Four-column issue tree from the question How do we lift profit? to revenue, cost base and capital use, then to six sub-drivers and twelve hypotheses.
profit-issue-tree
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.textScale; options.size from the report frame to the width of the site frame.
{
"type": "diagram",
"data": {
"nodes": [
{
"id": "profit",
"kind": "issue",
"shape": {
"kind": "roundedRect"
},
"label": "How do we lift profit?",
"role": "accent"
},
{
"id": "revenue",
"kind": "driver",
"shape": {
"kind": "roundedRect"
},
"label": "Revenue",
"role": "primary",
"order": 1
},
{
"id": "cost",
"kind": "driver",
"shape": {
"kind": "roundedRect"
},
"label": "Cost base",
"role": "primary",
"order": 2
},
{
"id": "capital",
"kind": "driver",
"shape": {
"kind": "roundedRect"
},
"label": "Capital use",
"role": "primary",
"order": 3
},
{
"id": "price",
"kind": "driver",
"shape": {
"kind": "roundedRect"
},
"label": "Price quality",
"role": "secondary",
"order": 1
},
{
"id": "volume",
"kind": "driver",
"shape": {
"kind": "roundedRect"
},
"label": "Volume growth",
"role": "secondary",
"order": 2
},
{
"id": "direct",
"kind": "driver",
"shape": {
"kind": "roundedRect"
},
"label": "Direct cost",
"role": "secondary",
"order": 3
},
{
"id": "overhead",
"kind": "driver",
"shape": {
"kind": "roundedRect"
},
"label": "Overhead",
"role": "secondary",
"order": 4
},
{
"id": "working-capital",
"kind": "driver",
"shape": {
"kind": "roundedRect"
},
"label": "Working capital",
"role": "secondary",
"order": 5
},
{
"id": "asset-use",
"kind": "driver",
"shape": {
"kind": "roundedRect"
},
"label": "Asset productivity",
"role": "secondary",
"order": 6
},
{
"id": "mix",
"kind": "driver",
"shape": {
"kind": "roundedRect"
},
"label": "Premium mix",
"role": "muted",
"order": 1
},
{
"id": "discount-leakage",
"kind": "driver",
"shape": {
"kind": "roundedRect"
},
"label": "Discount leakage",
"role": "muted",
"order": 2
},
{
"id": "retention",
"kind": "driver",
"shape": {
"kind": "roundedRect"
},
"label": "Retention",
"role": "muted",
"order": 3
},
{
"id": "acquisition",
"kind": "driver",
"shape": {
"kind": "roundedRect"
},
"label": "Acquisition",
"role": "muted",
"order": 4
},
{
"id": "sourcing",
"kind": "driver",
"shape": {
"kind": "roundedRect"
},
"label": "Sourcing",
"role": "muted",
"order": 5
},
{
"id": "product-design",
"kind": "driver",
"shape": {
"kind": "roundedRect"
},
"label": "Product design",
"role": "muted",
"order": 6
},
{
"id": "automation",
"kind": "driver",
"shape": {
"kind": "roundedRect"
},
"label": "Automation",
"role": "muted",
"order": 7
},
{
"id": "footprint",
"kind": "driver",
"shape": {
"kind": "roundedRect"
},
"label": "Footprint",
"role": "muted",
"order": 8
},
{
"id": "receivables",
"kind": "driver",
"shape": {
"kind": "roundedRect"
},
"label": "Receivables",
"role": "muted",
"order": 9
},
{
"id": "utilization",
"kind": "driver",
"shape": {
"kind": "roundedRect"
},
"label": "Utilization",
"role": "muted",
"order": 10
}
],
"edges": [
{
"id": "profit-revenue",
"source": {
"nodeId": "profit"
},
"target": {
"nodeId": "revenue"
}
},
{
"id": "profit-cost",
"source": {
"nodeId": "profit"
},
"target": {
"nodeId": "cost"
}
},
{
"id": "profit-capital",
"source": {
"nodeId": "profit"
},
"target": {
"nodeId": "capital"
}
},
{
"id": "revenue-price",
"source": {
"nodeId": "revenue"
},
"target": {
"nodeId": "price"
}
},
{
"id": "revenue-volume",
"source": {
"nodeId": "revenue"
},
"target": {
"nodeId": "volume"
}
},
{
"id": "cost-direct",
"source": {
"nodeId": "cost"
},
"target": {
"nodeId": "direct"
}
},
{
"id": "cost-overhead",
"source": {
"nodeId": "cost"
},
"target": {
"nodeId": "overhead"
}
},
{
"id": "capital-working",
"source": {
"nodeId": "capital"
},
"target": {
"nodeId": "working-capital"
}
},
{
"id": "capital-asset-use",
"source": {
"nodeId": "capital"
},
"target": {
"nodeId": "asset-use"
}
},
{
"id": "price-mix",
"source": {
"nodeId": "price"
},
"target": {
"nodeId": "mix"
}
},
{
"id": "price-discount",
"source": {
"nodeId": "price"
},
"target": {
"nodeId": "discount-leakage"
}
},
{
"id": "volume-retention",
"source": {
"nodeId": "volume"
},
"target": {
"nodeId": "retention"
}
},
{
"id": "volume-acquisition",
"source": {
"nodeId": "volume"
},
"target": {
"nodeId": "acquisition"
}
},
{
"id": "direct-sourcing",
"source": {
"nodeId": "direct"
},
"target": {
"nodeId": "sourcing"
}
},
{
"id": "direct-product-design",
"source": {
"nodeId": "direct"
},
"target": {
"nodeId": "product-design"
}
},
{
"id": "overhead-automation",
"source": {
"nodeId": "overhead"
},
"target": {
"nodeId": "automation"
}
},
{
"id": "overhead-footprint",
"source": {
"nodeId": "overhead"
},
"target": {
"nodeId": "footprint"
}
},
{
"id": "working-receivables",
"source": {
"nodeId": "working-capital"
},
"target": {
"nodeId": "receivables"
}
},
{
"id": "asset-utilization",
"source": {
"nodeId": "asset-use"
},
"target": {
"nodeId": "utilization"
}
}
]
},
"options": {
"variant": "issue-tree",
"title": "Profit improvement breaks into revenue, cost, and capital levers",
"subtitle": "Driver tree from question to actionable hypotheses",
"source": "Illustrative diagnostic",
"textScale": 1.25,
"size": {
"width": 1000
}
}
}Strategy house with pillars
Strategy house with a roof (Trusted growth partner), three pillars (Grow, Serve, Scale) with two items each, two capability bands and a foundation base.
strategy-house
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.textScale; options.size from the report frame to the width of the site frame.
{
"type": "diagram",
"data": {
"groups": [
{
"id": "growth",
"title": "Grow",
"role": "primary",
"order": 1
},
{
"id": "service",
"title": "Serve",
"role": "primary",
"order": 2
},
{
"id": "scale",
"title": "Scale",
"role": "primary",
"order": 3
}
],
"nodes": [
{
"id": "vision",
"kind": "vision",
"shape": {
"kind": "roof"
},
"label": "Trusted growth partner",
"role": "accent"
},
{
"id": "obj-growth",
"kind": "objective",
"shape": {
"kind": "rectangle"
},
"label": "Grow",
"groupId": "growth",
"role": "primary"
},
{
"id": "obj-service",
"kind": "objective",
"shape": {
"kind": "rectangle"
},
"label": "Serve",
"groupId": "service",
"role": "primary"
},
{
"id": "obj-scale",
"kind": "objective",
"shape": {
"kind": "rectangle"
},
"label": "Scale",
"groupId": "scale",
"role": "primary"
},
{
"id": "new-segments",
"kind": "initiative",
"shape": {
"kind": "roundedRect"
},
"label": "New segments",
"groupId": "growth",
"role": "secondary",
"order": 1
},
{
"id": "pricing",
"kind": "initiative",
"shape": {
"kind": "roundedRect"
},
"label": "Pricing",
"groupId": "growth",
"role": "secondary",
"order": 2
},
{
"id": "proactive-care",
"kind": "initiative",
"shape": {
"kind": "roundedRect"
},
"label": "Proactive care",
"groupId": "service",
"role": "secondary",
"order": 1
},
{
"id": "digital-service",
"kind": "initiative",
"shape": {
"kind": "roundedRect"
},
"label": "Digital service",
"groupId": "service",
"role": "secondary",
"order": 2
},
{
"id": "automation",
"kind": "initiative",
"shape": {
"kind": "roundedRect"
},
"label": "Automation",
"groupId": "scale",
"role": "secondary",
"order": 1
},
{
"id": "shared-data",
"kind": "initiative",
"shape": {
"kind": "roundedRect"
},
"label": "Shared data",
"groupId": "scale",
"role": "secondary",
"order": 2
},
{
"id": "talent",
"kind": "enabler",
"shape": {
"kind": "rectangle"
},
"label": "Talent and leadership",
"role": "muted",
"order": 1
},
{
"id": "technology",
"kind": "enabler",
"shape": {
"kind": "rectangle"
},
"label": "Technology and governance",
"role": "muted",
"order": 2
},
{
"id": "foundation",
"kind": "foundation",
"shape": {
"kind": "rectangle"
},
"label": "Customer trust and financial discipline",
"role": "primary"
}
]
},
"options": {
"variant": "strategy-house",
"title": "Strategy architecture",
"subtitle": "Three growth pillars on shared capabilities and one foundation",
"source": "Illustrative strategy",
"textScale": 1.25,
"size": {
"width": 1000
}
}
}Five-phase delivery sequence
Five chevrons from Diagnose to Sustain, each with an icon, a number and an outcome below it: baseline, blueprint, teams, work and results.
transformation-process
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.textScale; options.size from the report frame to the width of the site frame.
{
"type": "diagram",
"data": {
"nodes": [
{
"id": "diagnose",
"kind": "step",
"shape": {
"kind": "chevron"
},
"label": "Diagnose",
"caption": "Baseline",
"icon": "document",
"order": 1,
"role": "primary"
},
{
"id": "design",
"kind": "step",
"shape": {
"kind": "chevron"
},
"label": "Design",
"caption": "Blueprint",
"icon": "lightbulb",
"order": 2,
"role": "primary"
},
{
"id": "mobilize",
"kind": "step",
"shape": {
"kind": "chevron"
},
"label": "Mobilize",
"caption": "Teams",
"icon": "people",
"order": 3,
"role": "primary"
},
{
"id": "deliver",
"kind": "step",
"shape": {
"kind": "chevron"
},
"label": "Deliver",
"caption": "Work",
"icon": "workflow",
"order": 4,
"role": "primary"
},
{
"id": "sustain",
"kind": "step",
"shape": {
"kind": "chevron"
},
"label": "Sustain",
"caption": "Results",
"icon": "flag",
"order": 5,
"role": "primary"
}
]
},
"options": {
"variant": "linear-process",
"title": "Transformation delivery cadence",
"subtitle": "Five phases from diagnosis to sustained results",
"source": "Illustrative programme design",
"textScale": 1.25,
"size": {
"width": 1000
}
}
}Four-step operating cycle
Four icon nodes in a clockwise loop: Sense, Plan, Execute and Learn, each with a short description and arrows between them.
operating-cycle
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.textScale; options.size from the report frame to the width of the site frame.
{
"type": "diagram",
"data": {
"nodes": [
{
"id": "sense",
"kind": "step",
"shape": {
"kind": "circle"
},
"label": "Sense\nRead market signals",
"icon": "target",
"role": "primary",
"order": 1
},
{
"id": "plan",
"kind": "step",
"shape": {
"kind": "circle"
},
"label": "Plan\nSet the response",
"icon": "calendar",
"role": "primary",
"order": 2
},
{
"id": "execute",
"kind": "step",
"shape": {
"kind": "circle"
},
"label": "Execute\nRun the system",
"icon": "gear",
"role": "primary",
"order": 3
},
{
"id": "learn",
"kind": "step",
"shape": {
"kind": "circle"
},
"label": "Learn\nLock in gains",
"icon": "check",
"role": "primary",
"order": 4
}
]
},
"options": {
"variant": "circular-process",
"title": "A closed operating cycle turns market signals into repeatable learning",
"subtitle": "Four-step management cadence",
"source": "Illustrative operating model",
"textScale": 1.25,
"size": {
"width": 1000
}
}
}Operating model and divisions
Three-level org chart: an executive team over Product, Delivery and Markets, each with two sub-teams.
org-structure
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.textScale; options.size from the report frame to the width of the site frame.
{
"type": "diagram",
"data": {
"nodes": [
{
"id": "executive",
"kind": "entity",
"shape": {
"kind": "roundedRect"
},
"label": "Executive team",
"icon": "people",
"role": "accent",
"order": 0
},
{
"id": "product",
"kind": "entity",
"shape": {
"kind": "roundedRect"
},
"label": "Product",
"icon": "lightbulb",
"role": "primary",
"order": 1
},
{
"id": "delivery",
"kind": "entity",
"shape": {
"kind": "roundedRect"
},
"label": "Delivery",
"icon": "workflow",
"role": "primary",
"order": 2
},
{
"id": "markets",
"kind": "entity",
"shape": {
"kind": "roundedRect"
},
"label": "Markets",
"icon": "conversation",
"role": "primary",
"order": 3
},
{
"id": "platform",
"kind": "entity",
"shape": {
"kind": "roundedRect"
},
"label": "Platform",
"role": "secondary",
"order": 1
},
{
"id": "experience",
"kind": "entity",
"shape": {
"kind": "roundedRect"
},
"label": "Experience",
"role": "secondary",
"order": 2
},
{
"id": "operations",
"kind": "entity",
"shape": {
"kind": "roundedRect"
},
"label": "Operations",
"role": "secondary",
"order": 3
},
{
"id": "service",
"kind": "entity",
"shape": {
"kind": "roundedRect"
},
"label": "Service",
"role": "secondary",
"order": 4
},
{
"id": "sales",
"kind": "entity",
"shape": {
"kind": "roundedRect"
},
"label": "Sales",
"role": "secondary",
"order": 5
},
{
"id": "partnerships",
"kind": "entity",
"shape": {
"kind": "roundedRect"
},
"label": "Partnerships",
"role": "secondary",
"order": 6
}
],
"edges": [
{
"id": "e-exec-product",
"source": {
"nodeId": "executive"
},
"target": {
"nodeId": "product"
}
},
{
"id": "e-exec-delivery",
"source": {
"nodeId": "executive"
},
"target": {
"nodeId": "delivery"
}
},
{
"id": "e-exec-markets",
"source": {
"nodeId": "executive"
},
"target": {
"nodeId": "markets"
}
},
{
"id": "e-product-platform",
"source": {
"nodeId": "product"
},
"target": {
"nodeId": "platform"
}
},
{
"id": "e-product-experience",
"source": {
"nodeId": "product"
},
"target": {
"nodeId": "experience"
}
},
{
"id": "e-delivery-operations",
"source": {
"nodeId": "delivery"
},
"target": {
"nodeId": "operations"
}
},
{
"id": "e-delivery-service",
"source": {
"nodeId": "delivery"
},
"target": {
"nodeId": "service"
}
},
{
"id": "e-markets-sales",
"source": {
"nodeId": "markets"
},
"target": {
"nodeId": "sales"
}
},
{
"id": "e-markets-partnerships",
"source": {
"nodeId": "markets"
},
"target": {
"nodeId": "partnerships"
}
}
]
},
"options": {
"variant": "hierarchy",
"title": "Operating model and accountable divisions",
"subtitle": "Decision rights and delivery teams",
"source": "Illustrative organization design",
"textScale": 1.25,
"size": {
"width": 1000
}
}
}Customer journey pain points
Five phase chevrons from Discover to Grow with eight pain points below them; two critical ones, Value unclear and Handoff gap, are marked red.
onboarding-journey
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.textScale; options.size from the report frame to the width of the site frame.
{
"type": "diagram",
"data": {
"lanes": [
{
"id": "discover",
"label": "Discover",
"orientation": "vertical",
"role": "category",
"paletteKey": "discover",
"order": 1
},
{
"id": "select",
"label": "Select",
"orientation": "vertical",
"role": "category",
"paletteKey": "select",
"order": 2
},
{
"id": "join",
"label": "Join",
"orientation": "vertical",
"role": "category",
"paletteKey": "join",
"order": 3
},
{
"id": "activate",
"label": "Activate",
"orientation": "vertical",
"role": "category",
"paletteKey": "activate",
"order": 4
},
{
"id": "grow",
"label": "Grow",
"orientation": "vertical",
"role": "category",
"paletteKey": "grow",
"order": 5
}
],
"nodes": [
{
"id": "unclear-value",
"kind": "painPoint",
"shape": {
"kind": "roundedRect"
},
"label": "Value unclear",
"icon": "alert",
"laneId": "discover",
"role": "bad",
"order": 1
},
{
"id": "slow-response",
"kind": "painPoint",
"shape": {
"kind": "roundedRect"
},
"label": "Slow response",
"laneId": "discover",
"order": 2
},
{
"id": "complex-choice",
"kind": "painPoint",
"shape": {
"kind": "roundedRect"
},
"label": "Choice overload",
"laneId": "select",
"order": 1
},
{
"id": "handoff-gap",
"kind": "painPoint",
"shape": {
"kind": "roundedRect"
},
"label": "Handoff gap",
"icon": "conversation",
"laneId": "join",
"role": "bad",
"order": 1
},
{
"id": "setup-delay",
"kind": "painPoint",
"shape": {
"kind": "roundedRect"
},
"label": "Setup delay",
"laneId": "join",
"order": 2
},
{
"id": "first-value",
"kind": "painPoint",
"shape": {
"kind": "roundedRect"
},
"label": "Value arrives late",
"laneId": "activate",
"order": 1
},
{
"id": "support-loop",
"kind": "painPoint",
"shape": {
"kind": "roundedRect"
},
"label": "Support loop",
"laneId": "activate",
"order": 2
},
{
"id": "next-step",
"kind": "painPoint",
"shape": {
"kind": "roundedRect"
},
"label": "Next step hidden",
"laneId": "grow",
"order": 1
}
]
},
"options": {
"variant": "customer-journey",
"title": "Onboarding journey frictions by phase",
"subtitle": "Pain points customers report in each phase; red marks the two critical ones",
"source": "Illustrative customer research",
"textScale": 1.25,
"size": {
"width": 1000
}
}
}Roadmap across three phases
Nine milestones climb a stepped line through three phases: Prove (Pilot live, Value proven, Playbook), Expand and Lead (ending at New standard).
growth-roadmap
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.size from "slide-4x3" to the width of the site frame; options.textScale.
{
"type": "diagram",
"data": {
"lanes": [
{
"id": "prove",
"label": "Prove",
"orientation": "vertical",
"role": "category",
"paletteKey": "prove",
"order": 1
},
{
"id": "expand",
"label": "Expand",
"orientation": "vertical",
"role": "category",
"paletteKey": "expand",
"order": 2
},
{
"id": "lead",
"label": "Lead",
"orientation": "vertical",
"role": "category",
"paletteKey": "lead",
"order": 3
}
],
"nodes": [
{
"id": "pilot",
"kind": "milestone",
"shape": {
"kind": "circle"
},
"label": "Pilot live",
"laneId": "prove",
"role": "category",
"paletteKey": "prove",
"order": 1
},
{
"id": "proof",
"kind": "milestone",
"shape": {
"kind": "circle"
},
"label": "Value proven",
"laneId": "prove",
"role": "category",
"paletteKey": "prove",
"order": 2
},
{
"id": "playbook",
"kind": "milestone",
"shape": {
"kind": "circle"
},
"label": "Playbook",
"laneId": "prove",
"role": "category",
"paletteKey": "prove",
"order": 3
},
{
"id": "region-two",
"kind": "milestone",
"shape": {
"kind": "circle"
},
"label": "Region two",
"laneId": "expand",
"role": "category",
"paletteKey": "expand",
"order": 1
},
{
"id": "automation-live",
"kind": "milestone",
"shape": {
"kind": "circle"
},
"label": "Automation",
"laneId": "expand",
"role": "category",
"paletteKey": "expand",
"order": 2
},
{
"id": "scale-economics",
"kind": "milestone",
"shape": {
"kind": "circle"
},
"label": "Scale gains",
"laneId": "expand",
"role": "category",
"paletteKey": "expand",
"order": 3
},
{
"id": "category-lead",
"kind": "milestone",
"shape": {
"kind": "circle"
},
"label": "Category lead",
"laneId": "lead",
"role": "category",
"paletteKey": "lead",
"order": 1
},
{
"id": "ecosystem",
"kind": "milestone",
"shape": {
"kind": "circle"
},
"label": "Ecosystem",
"laneId": "lead",
"role": "category",
"paletteKey": "lead",
"order": 2
},
{
"id": "new-standard",
"kind": "milestone",
"shape": {
"kind": "circle"
},
"label": "New standard",
"laneId": "lead",
"role": "category",
"paletteKey": "lead",
"order": 3
}
]
},
"options": {
"variant": "roadmap",
"title": "Roadmap by phase",
"subtitle": "Nine milestones across the Prove, Expand and Lead phases",
"source": "Illustrative growth plan",
"textScale": 1.25,
"size": {
"width": 1000
}
}
}Minimal spec
Save this spec as diagram.json and run the command.
{
"type": "diagram",
"data": {
"nodes": [
{ "id": "draft", "kind": "step", "shape": { "kind": "rectangle" }, "label": "Draft" },
{ "id": "review", "kind": "step", "shape": { "kind": "rectangle" }, "label": "Review" }
],
"edges": [
{
"id": "next",
"source": { "nodeId": "draft" },
"target": { "nodeId": "review" },
"arrowEnd": true
}
]
},
"options": { "variant": "linear-process", "title": "Review follows drafting", "source": "Illustrative data" }
}npx boardplot render diagram.json --out diagram.svg