Skip to content

Dataset

Whiteboard and business diagram datasets for AI training

A diagram dataset is a collection of business diagrams and collaborative whiteboards, such as flowcharts, architecture and network diagrams, org charts, process maps and workshop boards, delivered as native files with the object graph of shapes, connectors and text, plus a rendered image of each page. SourceX sources them to a buyer's spec from established businesses whose engineering, operations and consulting teams drew them in tools such as Miro, Lucidchart, Visio and draw.io. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Native diagram and whiteboard files with shapes, connectors and text as objects, plus a render of each page
Typical systems
Miro, Lucidchart, Visio, draw.io, FigJam, Mural; Mermaid and PlantUML text kept in repositories
Typical history
Set by your spec; depends on how long the tool kept boards and their version history
Modality
Diagram source files, page renders and a normalized node and edge table per page
Delivery formats
Native vsdx, drawio and board JSON, PNG or SVG renders, graph JSONL with bounding boxes
Preparation
Names on org charts and boards removed or replaced; hostnames, IP addresses and account IDs masked; screenshots reviewed
Licensing
Rights reviewed per workspace; client-owned and vendor-supplied diagrams screened; permitted use set in the license
Availability
Sourced to your spec; pairing depends on the holder; supply is not guaranteed
Office documents and PDFsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
diagram_idstringPseudonymous, stable ID for one diagram file or board, shared by its pages and renders.
diagram_kindenumFlowchart, swimlane process map, BPMN model, architecture, network, org chart, entity-relationship, sequence, mind map or workshop board.
source_toolobjectAuthoring tool, native format, export route (file, API or conversion) and the shape libraries the diagram uses.
pagesarrayPages, tabs or frames in the file, with canvas extent and layers.
nodesarrayEach shape with its ID, shape or stencil type, label text, bounding box and containing lane or group.
edgesarrayEach connector with source and target node IDs, the arrowhead at each end, its label and whether each end is attached.
containersarraySwimlanes, groups and frames, with membership marked as declared in the file or inferred from geometry.
free_elementsarrayText boxes, sticky notes, pasted images and freehand strokes that are attached to no node or edge.
page_rendersobjectImage of each page with its resolution and the pixel box of every node and edge label.
notationobjectThe legend, any stated notation standard and what colors and line styles mean.
described_artifactobjectThe procedure, system inventory, repository or session the diagram depicts, by ID, with the method used to link them.
snapshotsarrayDated earlier states with editor roles, where the tool's history could be exported.
sensitivity_reviewobjectClasses of detail masked or withheld, such as addressing, security controls and personal names.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "diagram_id": "dg_52c9e0",
  "diagram_kind": "swimlane_process_map",
  "title": "Supplier invoice approval",
  "source_tool": { "tool": "drawio", "export_route": "native_file", "libraries": ["flowchart"] },
  "containers": [
    { "id": "c1", "type": "lane", "label": "AP clerk", "membership": "declared" },
    { "id": "c2", "type": "lane", "label": "Budget owner", "membership": "declared" }
  ],
  "nodes": [
    { "id": "n4", "shape": "process", "label": "Match invoice to PO", "container": "c1" },
    { "id": "n5", "shape": "decision", "label": "Within tolerance?", "container": "c1" },
    { "id": "n6", "shape": "process", "label": "Approve variance", "container": "c2" },
    { "id": "n7", "shape": "process", "label": "Release for payment", "container": "c1" }
  ],
  "edges": [
    { "id": "e4", "source": "n4", "target": "n5", "arrow_end": "block", "attached": [true, true] },
    { "id": "e5", "source": "n5", "target": "n7", "label": "Yes", "arrow_end": "block", "attached": [true, true] },
    { "id": "e6", "source": "n5", "target": "n6", "label": "No", "arrow_end": "block", "attached": [true, true] },
    { "id": "e7", "source": "n6", "target": null, "arrow_end": "block", "attached": [true, false],
      "note": "end point lies on n7 but is not attached" }
  ],
  "free_elements": [{ "id": "t2", "type": "text", "text": "Tolerance set by [POLICY_REF]" }],
  "described_artifact": { "type": "procedure_page", "id": "sop_ap_014", "link_method": "embedded_in_page" },
  "sensitivity_review": { "masked": ["person_names"], "withheld": [] }
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Diagram parsing from images

Each render comes with the exact nodes, edges and label text from the file, so an image-to-graph model can be scored without hand annotation.

Diagram generation from text or structure

Graphs paired with layouts people drew are references for models that emit Mermaid, draw.io XML or board items.

Questions that need path reasoning

Answers to questions such as what happens after a rejection can be computed from the graph and used as test items.

Turning workshop boards into structured output

Sticky notes grouped in frames, set beside the summary written afterward, are examples of clustering raw notes into themes and actions.

Keeping documentation in step with the system

A dated diagram paired with the process or infrastructure it maps shows a model where the picture has gone stale.

Use-case guides: Document AI, enterprise search and RAG, Enterprise and computer-use agents, Private evaluation sets

What makes this data valuable

Attached connectors

Connectors attached at both ends mean the edge list matches what the picture shows.

Native files, not flattened exports

A plain PDF or PNG of a diagram has lost the object graph, and so has a diagram pasted into a slide as a picture.

Labels bound to shapes

Text typed into a shape belongs to a node. Text in a loose box on top of it belongs to nothing.

Declared notation

A legend or a stated standard such as BPMN says what a diamond or a dashed line means here.

A link to what is described

An embed, hyperlink or shared ticket ties the diagram to a document or system.

Dated snapshots

Earlier states show how a diagram was built up and when it last matched reality.

Value drivers

Diagram dataset

This page covers whiteboards and business diagrams.Illustrative

The object graph is the label for every render

Diagram image sets are usually labeled by people who draw boxes around shapes and type out what each arrow connects. A native file needs none of that, because the tool already stores each shape as an object with an identifier, geometry and text, and each connector as an object that names the shape at either end. A draw.io file is XML in which every shape and connector is a cell, marked as a vertex or an edge, and an edge cell refers to its source and target cells. A Visio vsdx file is a zip package of XML parts, with a list of connections saying which connector end is glued to which shape. Miro's API returns connectors that name a start item and an end item. Render the page and you hold an image and its exact graph, so image-to-graph output can be scored edge by edge and generated diagram code can be parsed and compared the same way.

That holds only where the author used the tool as its makers intended. A connector dragged close to a shape but never attached has no target in the file, though it looks connected in the render. A connector drawn from B to A with the arrowhead moved to its start reads as A to B, so direction has to come from the arrowheads and not from which end is called the source. A label typed into a separate text box that sits on a shape belongs to no node. Swimlane membership may be declared by nesting or may be nothing more than position on the canvas.

Workshop boards are weaker ground truth again. Most of the content is sticky notes whose meaning is carried by proximity, color and frame, with few connectors, and a pasted photo of a physical whiteboard carries no objects at all.

A diagram is worth more with what it describes

A diagram alone supports reading tasks: transcribe the labels, list the nodes, follow an arrow. Reasoning tasks need the thing it refers to. Whether a process map agrees with the written procedure, or which box in an architecture diagram is the service that failed, cannot be answered from the picture. A box labeled Billing svc is a string until it is tied to a system.

Three pairings recur. A process map goes with the procedure page it is embedded in or links to. An architecture or network diagram goes with the infrastructure it maps, through a resource inventory, infrastructure code or a service catalog whose names match the node labels. Diagrams go stale, so the date matters, and a labeled stale pair is useful for drift detection. A workshop board goes with the session that produced it. Where the board records when each item was created, those times can be lined up with a transcript to show which note was written during which part of the discussion.

Check how each link was made. An embed or hyperlink is explicit, while a match on names is an inference and should be flagged. Pairing also raises the stakes on sensitivity, since an architecture diagram joined to an inventory is a map of a network. Confirm that this detail was cleared for release and that identifiers were masked the same way on both sides.

What to check before licensing

  • Ask what share of connectors is attached at both ends and what share of pages is images only, per tool. Open sample pages where the render shows a connection the graph lacks.
  • Confirm that the holder's security owner cleared network and security architecture detail for release, including IP ranges, hostnames, firewall rules, cloud account IDs and product versions.
  • Check that names are removed from org charts, sticky notes, comments, author metadata and pasted screenshots, while role titles and reporting lines stay.
  • Ask the export route for each tool: native file, API or conversion to another tool's format. Conversion can drop layers, shape data and connector attachment. An API may not return every item type, and Miro's documentation lists some, such as freehand strokes and tables, as unsupported. Ask whether any draw.io pages are stored compressed, since those need decoding before text can be searched.
  • Ask whether lane and group membership and sticky-note clusters were declared in the file or inferred from geometry, and whether inferred values are flagged.
  • Check ownership. Diagrams drawn for a client, vendor reference architectures, tool templates and third-party icon sets may not be the holder's to license.
  • Ask how each diagram was linked to the document, system or session it describes, what share has a link, and whether identifiers were masked the same way on both sides.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

Which file formats keep the object graph?

The tools' native formats and APIs do. That covers Visio vsdx files, draw.io XML, Miro and Mural boards read through their APIs, BPMN XML and text formats such as Mermaid, PlantUML and Graphviz. A PNG, PDF or SVG export normally carries the picture alone. One exception is draw.io, which can embed a copy of the diagram in the PNG, SVG or PDF it writes. For Lucidchart and FigJam, ask which export or API route was used and test on a sample whether connectors arrive attached.

How are the rendered images made?

From the native file, by the tool's own export or by a headless renderer, and you should ask for the method to be stated per tool. Renders can differ from what the author saw when a font or shape library is missing on the rendering machine. Boards on an infinite canvas have no pages, so they are rendered frame by frame.

Are photographed or hand-drawn whiteboards included?

They can be, but they are a different asset. A photo of a physical whiteboard has no object graph, so ground truth exists only if someone redrew it in a tool or annotated it. Freehand strokes on a digital board are usually stored as vector paths, which is still not nodes and edges. Have these labeled apart.

How is sensitive network and security detail handled?

The holder decides what can leave, and you verify it. Options are masking identifiers such as hostnames and addresses consistently, generalizing a diagram to its topology, or withholding it. An old diagram can still describe a live network, so age alone is not clearance. Ask who approved release, and review the sample for addressing, firewall rules and account identifiers.

Can diagrams be delivered with the documents or systems they describe?

Sometimes. It depends on whether one holder has both sides and whether a link between them can be shown. Process maps embedded in wiki pages are the easiest case. Architecture diagrams matched to infrastructure code take more security review. A request does not mean a matching dataset exists, so say whether pairing is required or preferred.

Do business diagrams follow a formal notation?

Mostly not. Many flowcharts use shapes loosely, so a diamond is not always a decision and a cylinder is not always a database. BPMN is the main exception: a BPMN file stores the process model, with typed tasks, gateways and events, separately from the layout of the picture. Ask for notation to be recorded per diagram so you can filter on it.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 25 November 2026.

See if your company qualifies