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';
Use for
Process or organization flow · Driver tree or value chain · Organization chart · System architecture and data flow · Trust boundaries and protected zones
Not for
The message is a number or a change (a chart); the items only rank (bar or table); dated work over time (gantt or the roadmap variant).

Profit driver tree

issue-tree diagram with 20 nodes and 19 relationships. Reading order: How do we lift profit?; Revenue; Cost base; Capital use; Price quality; Volume growth; Direct cost; Overhead; Working capital; Asset productivity; Premium mix; Discount leakage; Retention; Acquisition; Sourcing; Product design; Automation; Footprint; Receivables; Utilization. Relationships: Asset productivity → Utilization; Capital use → Asset productivity; Capital use → Working capital; Cost base → Direct cost; Cost base → Overhead; Direct cost → Product design; Direct cost → Sourcing; Overhead → Automation; Overhead → Footprint; Price quality → Discount leakage; Price quality → Premium mix; How do we lift profit? → Capital use; How do we lift profit? → Cost base; How do we lift profit? → Revenue; Revenue → Price quality; Revenue → Volume growth; Volume growth → Acquisition; Volume growth → Retention; Working capital → Receivables. Profit improvement breaks into revenue, cost, and capital levers Driver tree from question to actionable hypotheses Source: Illustrative diagnostic Acquisition Asset productivity Automation Capital use Cost base Direct cost Discount leakage Footprint Premium mix Overhead Price quality Product design How do we lift profit? Receivables Retention Revenue Sourcing Utilization Volume growth Working capital

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.

Download SVG Fixture IDprofit-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 diagram with 13 nodes and 0 relationships. Reading order: Trusted growth partner; Grow; Serve; Scale; New segments; Pricing; Proactive care; Digital service; Automation; Shared data; Talent and leadership; Technology and governance; Customer trust and financial discipline. Groups: Grow contains New segments, Grow, Pricing; Serve contains Proactive care, Digital service, Serve; Scale contains Automation, Shared data, Scale. Strategy architecture Three growth pillars on shared capabilities and one foundation Source: Illustrative strategy Automation Digital service Customer trust and financial discipline New segments Grow Scale Serve Pricing Proactive care Shared data Talent and leadership Technology and governance Trusted growth partner

Strategy house with a roof (Trusted growth partner), three pillars (Grow, Serve, Scale) with two items each, two capability bands and a foundation base.

Download SVG Fixture IDstrategy-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

linear-process diagram with 5 nodes and 0 relationships. Reading order: Diagnose; Design; Mobilize; Deliver; Sustain. Transformation delivery cadence Five phases from diagnosis to sustained results Source: Illustrative programme design Deliver Design Diagnose Mobilize Sustain 4 2 1 3 5 Work Blueprint Baseline Teams Results

Five chevrons from Diagnose to Sustain, each with an icon, a number and an outcome below it: baseline, blueprint, teams, work and results.

Download SVG Fixture IDtransformation-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

circular-process diagram with 4 nodes and 4 relationships. Reading order: Sense Read market signals; Plan Set the response; Execute Run the system; Learn Lock in gains. Relationships: Sense Read market signals → Plan Set the response; Plan Set the response → Execute Run the system; Execute Run the system → Learn Lock in gains; Learn Lock in gains → Sense Read market signals. A closed operating cycle turns market signals into repeatable learning Four-step management cadence Source: Illustrative operating model Execute Run the system Learn Lock in gains Plan Set the response Sense Read market signals

Four icon nodes in a clockwise loop: Sense, Plan, Execute and Learn, each with a short description and arrows between them.

Download SVG Fixture IDoperating-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

hierarchy diagram with 10 nodes and 9 relationships. Reading order: Executive team; Product; Delivery; Markets; Platform; Experience; Operations; Service; Sales; Partnerships. Relationships: Delivery → Operations; Delivery → Service; Executive team → Delivery; Executive team → Markets; Executive team → Product; Markets → Partnerships; Markets → Sales; Product → Experience; Product → Platform. Operating model and accountable divisions Decision rights and delivery teams Source: Illustrative organization design Delivery Executive team Experience Markets Operations Partnerships Platform Product Sales Service

Three-level org chart: an executive team over Product, Delivery and Markets, each with two sub-teams.

Download SVG Fixture IDorg-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

customer-journey diagram with 8 nodes and 0 relationships. Reading order: Value unclear; Slow response; Choice overload; Handoff gap; Setup delay; Value arrives late; Support loop; Next step hidden. Lanes: Discover contains Value unclear, Slow response; Select contains Choice overload; Join contains Handoff gap, Setup delay; Activate contains Value arrives late, Support loop; Grow contains Next step hidden. Onboarding journey frictions by phase Pain points customers report in each phase; red marks the two critical ones Source: Illustrative customer research Activate Discover Grow Join Select Choice overload Value arrives late Handoff gap Next step hidden Setup delay Slow response Support loop Value unclear

Five phase chevrons from Discover to Grow with eight pain points below them; two critical ones, Value unclear and Handoff gap, are marked red.

Download SVG Fixture IDonboarding-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

roadmap diagram with 9 nodes and 0 relationships. Reading order: Pilot live; Value proven; Playbook; Region two; Automation; Scale gains; Category lead; Ecosystem; New standard. Lanes: Prove contains Pilot live, Value proven, Playbook; Expand contains Region two, Automation, Scale gains; Lead contains Category lead, Ecosystem, New standard. Roadmap by phase Nine milestones across the Prove, Expand and Lead phases Source: Illustrative growth plan Expand Lead Prove Automation Category lead Ecosystem New standard Pilot live Playbook Value proven Region two Scale gains

Nine milestones climb a stepped line through three phases: Prove (Pilot live, Value proven, Playbook), Expand and Lead (ending at New standard).

Download SVG Fixture IDgrowth-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