Dataset
Lucidchart diagram datasets for AI training
A Lucidchart dataset is a collection of the diagrams one business drew in Lucidchart: documents and their pages of shapes, lines, containers and swimlanes, with shape data, linked data sets and comments. SourceX sources it to a buyer's spec from established businesses that run Lucidchart for process flows, system architecture diagrams, network maps, entity relationship diagrams and org charts. Each dataset is de-identified and licensed for an agreed permitted use, and the hostnames, IP addresses and names written on shapes are for the buyer to check in a sample.
Dataset manifest
Sourced to your spec- What it is
- One Lucid account's Lucidchart documents as structured page contents, with a rendered view of each page
- Typical systems
- Lucidchart with its BPMN, UML, entity relationship, network and cloud shape libraries and data linking; Lucidspark boards only on request
- Typical history
- Specified by the buyer; documents still in the account, with earlier states only where the supplier captured revisions
- Modality
- Typed graphs of shapes and lines per page, shape data, linked rows and comment threads, plus PNG, SVG or PDF renderings
- Delivery formats
- Agreed per order; document contents as JSON, one rendering per page, CSV or JSONL for shape data, VSDX as a secondary view
- Preparation
- Replacement of hostnames, IP addresses, account identifiers and people's names agreed per order, in the structure and in every rendering
- Licensing
- Permitted use agreed per license; the buyer should ask how Lucid templates, logos and vendor icon sets were handled
- Availability
- Sourced to your spec from businesses that diagram in Lucidchart; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| document_id | string | Pseudonym of the Documents ID, shared by every page, comment and revision of one document. |
| product | enum | The product named on the Documents record, Lucidchart or Lucidspark, so whiteboards can be told apart. |
| document_origin | enum | Whether the document was drawn in Lucidchart, started from a Lucid template or imported from Visio or another tool, where known. |
| page | object | One of the document's Pages: its ID, title and position in the tab order. |
| notation | enum | The notation the page uses, such as BPMN, UML class or entity relationship, read from the Shape libraries its shapes come from. |
| shapes | array | Shapes on the page, each with its ID, the class naming its library shape and its text areas; position and size are read from a rendering. |
| lines | array | Lines with two endpoints, each giving an arrow style and the ID of the shape it is connected to, or none where it floats. |
| containers | array | Containers and swimlanes with the IDs of the shapes inside them, and whether membership was recorded or computed. |
| groups_layers | object | Groups with their member IDs, and Layers with their names and member IDs. |
| shape_data | array | Shape data: the custom name and value pairs an author attached to a shape, line or page. |
| linked_data | object | Linked data sets: for each data-linked shape, the data set, its primary key and the row's values at capture. |
| comments | array | Comments as threads on the document, with replies and pseudonymous authors, and the shape each is anchored to where captured. |
| revisions | array | Revision history entries, each with a time and an editor pseudonym, where the supplier captured them. |
| renderings | array | PNG, SVG or PDF views of the page, made from the same state as the structured contents. |
Field names from the table above; values are masked placeholders.
Example record
{
"document_id": "doc_4b7e19",
"product": "lucidchart",
"document_origin": "drawn_in_lucidchart",
"page": {
"id": "pg_02",
"title": "Refund approval",
"index": 1
},
"notation": "flowchart",
"shapes": [
{
"id": "s_11",
"class": "ProcessBlock",
"textAreas": [
{
"label": "Text",
"text": "Review refund request"
}
]
},
{
"id": "s_12",
"class": "ProcessBlock",
"textAreas": [
{
"label": "Text",
"text": "Issue credit note"
}
]
}
],
"lines": [
{
"id": "l_21",
"endpoint1": {
"style": "None",
"connectedTo": "s_11"
},
"endpoint2": {
"style": "Arrow",
"connectedTo": "s_12"
}
},
{
"id": "l_22",
"endpoint1": {
"style": "None",
"connectedTo": "s_12"
},
"endpoint2": {
"style": "Arrow",
"connectedTo": null
},
"text": "Rejected"
}
],
"containers": [
{
"id": "c_01",
"kind": "swimlane",
"title": "Finance",
"members": [
"s_11",
"s_12"
],
"membership": "computed"
}
],
"groups_layers": {
"groups": [],
"layers": [
{
"name": "Notes",
"members": []
}
]
},
"shape_data": [
{
"item": "s_11",
"name": "Owner role",
"value": "AP analyst"
}
],
"linked_data": {
"s_11": {
"data_set": "ds_process_steps",
"primary_key": "STEP-014"
}
},
"comments": [
{
"thread": "th_07",
"anchor": "s_11",
"author": "p_0142",
"text": "Approval limit changed last quarter."
}
],
"revisions": [],
"renderings": [
{
"format": "svg",
"file": "doc_4b7e19_pg_02.svg"
}
]
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Diagram to structure
Each rendering comes with its exact shapes, lines and labels, so diagram parsing is scored without annotation.
Notation-aware generation
BPMN, UML and entity relationship pages show how practitioners use each notation, including where they bend it.
Process and architecture reasoning
Typed nodes and attached lines let a model say what follows a gateway or which service calls which.
Schemas and code from diagrams
Entity shapes with field rows and UML class shapes support diagram-to-DDL and diagram-to-class tasks.
Diagram editing agents
Revision history, where it was captured, shows how a real diagram changed between versions.
Use-case guides: Document AI, enterprise search and RAG, Enterprise and computer-use agents, Coding agents, Private evaluation sets
What makes this data valuable
Library-typed shapes
Shapes from notation libraries, not generic rectangles and text boxes.
Attached lines
Most line endpoints attached to a shape, so the page is a graph.
Structured contents
Document contents in Lucid's own form, with exports only as views.
Shape data in use
Custom shape data or linked data sets, with the data sets delivered.
Drawn, not imported
Documents made in Lucidchart, with templates and Visio imports flagged.
Rendering matches structure
Every label in the picture found in the structure, from the same state.
Document stack
Lucidchart dataset
Library shapes make a Lucidchart page a typed graph
Most shapes on a Lucidchart page were dragged from a shape library, and a library is a notation. A diamond from the flowchart library is a decision. A diamond from the BPMN library is a gateway. An entity shape from the entity relationship library holds rows of fields with their keys and types, and a UML class shape has compartments for attributes and operations. The document records a class for each shape, such as ProcessBlock for a flowchart process step, so a node arrives with a notation-defined meaning before its text is read. On a freeform whiteboard a diamond is only a drawing.
Lines carry meaning the same way. A Lucidchart line has two endpoints, and each endpoint is either attached to a specific shape or left floating, with its own arrow style. In an entity relationship diagram the endpoint styles are the cardinality. In UML they tell inheritance from association, and in BPMN the line style tells sequence flow from message flow. An attached line is an edge in a graph, while a line that merely stops near a shape is a picture of an edge, so the share of floating endpoints is the first thing to measure in a sample.
The type is what the author dragged, which is not always what they meant. People draw servers with flowchart rectangles and mix notations on a page. Documents imported from Visio or another tool may hold shapes that belong to no Lucid library. Some diagrams were generated, not drawn: an org chart built from an imported employee data set, an entity relationship diagram imported from a database schema, shapes filled from linked data. There the diagram is a view of a table, and the table is the better record to ask for. Lucidchart keeps a revision history in the editor, but Lucid's REST reference lists no endpoint that returns it, so ask how any earlier versions were obtained.
The picture, the connectors or the document itself
Lucidchart offers several ways out and each keeps a different layer. PNG and JPEG keep the picture. PDF and SVG keep the picture with its text and vector paths, but neither says which path is a shape or which shape a line attaches to. A Visio export carries shapes and, at best, connectors into another product's model, so test whether custom shape data, data links and comments survived it. The CSV export of shape data can list shapes with their library and container and lines with their source and destination. Check its columns in a sample. It is a table, not a layout.
The fuller record is the document's contents in Lucid's own structured form, which Lucid's API returns as JSON: the pages, and on each page the shapes, lines, groups and layers, with text areas, custom data and linked data on each item. Each line endpoint names the shape it is connected to, and a container shape lists the IDs it contains. Lucid's reference for this response lists no position or size, so layout has to come from a rendering of the same state. Comment threads come from separate endpoints. Lucid also warns that an unchanged document may return varying results over time, so record each pull's date. Ask whether swimlane membership arrived as IDs or was computed from geometry.
To test a sample, take one page of each notation you care about. Count the lines and the share with both endpoints attached. Count shapes by library. Render the page and check that every string in the picture appears in the structure, and the reverse, since a hidden layer can hold text that no picture shows. Look for one Lucid template repeated with small changes. Network and cloud architecture diagrams carry hostnames, IP addresses and account identifiers, org charts carry employee names, and all of it is drawn into every rendering too, so a replacement made in the JSON must be made again in the image.
What to check before licensing
- Ask for document contents in Lucid's structured form, with PNG, SVG, PDF or Visio files only as rendered views, and confirm both came from the same state.
- Measure the share of line endpoints attached to a shape. Floating lines look connected in the picture and are not edges in the data.
- Count shapes by shape library per page, and ask how documents imported from Visio or other tools are flagged.
- Ask whether custom shape data, linked data sets and comment threads were captured, since image and PDF exports carry none of them and a Visio export needs testing.
- Check network and cloud architecture diagrams for hostnames, IP addresses and account identifiers, and org charts for employee names, in the structure and in the renderings.
- Ask how template-based and near-duplicate documents were detected, and whether Lucidspark boards were mixed in.
- Have the buyer and the data owner each check Lucid Software's terms on exported data and API use against the intended use, with counsel.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Why not license Lucidchart diagrams as images or PDFs?
Because the image is the thinnest layer of the document. A PNG or PDF shows boxes and arrows, and someone then has to guess which line joins which shape. The Lucidchart document already records each shape's class, the shape at each end of a line and any shape data. With both, the rendering is the input and the structure its exact label.
Do Lucidchart diagrams follow BPMN and UML correctly?
Not reliably. Shapes come from typed libraries, so a BPMN gateway is recorded as a gateway, but business users mix notations, skip end events and use generic rectangles for anything. Treat the library type as the author's choice of symbol. Decide whether you want strict diagrams, realistic ones or both, labeled.
Are Lucidspark boards part of a Lucidchart dataset?
They should be kept apart unless you want both. Lucidspark is Lucid's whiteboard product, and its boards sit in the same account and folders but hold sticky notes and freehand items, not library-typed shapes. Lucid's contents response names the product on each document, so ask for that value on every record.
Can we get earlier versions of a diagram?
Only where the supplier captured them by a route of its own. Lucidchart keeps a revision history for each document in the editor, but an export or a contents pull returns the document as it stands, and Lucid's REST reference lists no revision endpoint. Ask which documents have revisions and whether each is a full state.
What does data linking add to a diagram dataset?
It ties shapes to rows. With data linking a shape shows values from an imported data set, such as a spreadsheet of servers or employees. The linked row is ground truth about what the shape represents. The data set is a separate object from the picture, and an image export carries none of it, so ask for it by name.
Is SourceX affiliated with Lucid Software?
Lucidchart is named to identify the system the records come from. That does not imply a partnership with or endorsement by Lucid Software. The records belong to the business that runs Lucidchart, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- Whiteboards and business diagrams
Native diagram and whiteboard files with shapes, connectors and text as objects, plus a render of each page
- Miro boards
Boards from a business's Miro teams with their frames, sticky notes, shapes, connectors, cards, text, images and tags, each item with coordinates
- Whimsical flowcharts and wireframes
One Whimsical workspace's boards and docs: wireframes, flowcharts, mind maps, sequence diagrams and sticky notes
- P&IDs and process flow diagrams
P&IDs and process flow diagrams with line lists, equipment lists, instrument indexes and revision marks
- Engineering design docs, RFCs and decision records
Design docs, RFCs and decision records with review threads, status history and links to implementing changes
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell 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 26 November 2026.