Plotlay Open the app →

Showcase · Links and hierarchy in Analysis · Plotlay’s own repository

Plotlay, module by module

Plotlay runs in two places: in a browser tab, and on a server where AI agents work in people’s projects through its connector. The plan was always one engine for both, with no page in it, so a room an agent draws is the room the app draws. Here is the check, from nothing but the import graph: all 1,197 modules of the app’s repository and the 5,352 imports between them. Follow every import from the connector’s 69 files and you reach 575 of the engine’s 636 modules, 97% of its code. Not one engine module uses the browser’s page.

Graph of links round a circle, bundled: The AI connector runs 575 of the engine’s 636 modules. 1,197 nodes in 4 groups round a circle, joined by 5,352 links. The longest chain is 65 links, from app/main.js to core/fitout-kit.js. Most depended on: app/ui.js (276 links in). 119 links close loops and are drawn upward.
Plotlay’s Links and hierarchy chart, round a circle on the Neon paper: every module a dot, coloured by part, and every import a line bundled through the parts, coloured from where it starts to where it ends.
Each picture is the chart as Plotlay exports it, its title set to the point; joined into a video outside the app with the Analysis page and the end card.
575 of 636engine modules reached from the AI connector’s files
97%of the engine’s code by size (15.6 of 16.0 MB)
0 of 636engine modules that use the browser’s page
65imports in the longest chain, from the app shell to furniture geometry

How the picture reads

  1. A dot for each module. Round the circle, grouped by part: the browser app (405 modules in src/app), the engine (636 in src/core), file readers and writers (87 in src/io) and the connector (69 tool files). A dot is as large as the number of imports in and out of it.
  2. A line for each import. Each runs from the module that imports to the module it imports, through the middle of the circle, bundled with the lines going the same way (hierarchical edge bundling), and coloured along its length from one end’s part to the other’s. Where thousands of lines share a path they read as one band.
  3. The counts beside it. Modules in each part, the 5,352 links, the longest chain, the module most depended on, and the 119 imports that close a loop (modules that import each other), which the chart finds and counts rather than drops.
Graph of links round a circle, bundled: They reach 575 of 636 engine modules. 1,197 nodes in 4 groups round a circle, joined by 2,559 links. The longest chain is 32 links, from mcp/index.ts to core/fitout-kit.js. Most depended on: core/agent.js (89 links in). 20 links close loops and are drawn upward.
From the connector’s files, every import followed: 575 engine modules and 77 file readers and writers. The lines into the app are the 54 Library data and shape files kept under src/app, none of which use the page.
Graph of links in levels, bundled: Two front doors, one engine. 1,197 nodes in 3 levels, joined by 5,352 links. The longest chain is 65 links, from app/main.js to core/fitout-kit.js. Most depended on: app/ui.js (276 links in). 119 links close loops and are drawn upward.
The same graph in levels: the app and the connector along the top, file readers and writers in the middle, the engine along the foot. Two front doors, one engine.

What it shows

The app reaches 624 engine modules and the connector 575; 571 are shared by both. The 61 the connector does not reach are the pieces for a person at a screen or for the account round the project: phone navigation, the reader for a GPS receiver, pairing with Plotlay Scan, billing, promo links and the welcome email (some of which Plotlay’s other server functions use). 1,096 of the 5,352 imports load a module on first use, which is how the app opens quickly while carrying every tool.

The most imported module is the app’s own app/ui.js (dialogs and toasts, 276 modules import it). In the engine it is core/agent.js, the high-level operations the connector’s tools call, imported by 146.

Graph of links round a circle, bundled: 146 modules import core/agent.js. 1,197 nodes in 4 groups round a circle, joined by 5,352 links. The longest chain is 65 links, from app/main.js to core/fitout-kit.js. Most depended on: app/ui.js (276 links in). 119 links close loops and are drawn upward.
The 146 modules that import core/agent.js, picked out: a click on a node in the app does the same.
Graph of links in levels, bundled: The longest chain is 65 imports deep. 1,197 nodes in 66 levels, joined by 5,352 links. The longest chain is 65 links, from app/main.js to core/fitout-kit.js. Most depended on: app/ui.js (276 links in). 119 links close loops and are drawn upward.
The longest chain, 65 imports deep, drawn over the graph in levels and written out under it: from app/main.js to core/fitout-kit.js, the geometry under every piece of furniture.

Make one in Plotlay

  1. Paste a table of links. Analysis › Add a table: one row per link, with a from and a to column; a weight, a level and a group are optional. Or a parent column for a hierarchy: an org chart, a bill of materials, an asset tree.
  2. Make a chart. Pick Links and hierarchy. Plotlay finds the columns by name, works out levels from the longest path (or takes a level column), finds loops and orders each level to cut crossings.
  3. Choose the look. Layers top to bottom or round a circle, how hard the lines bundle, coloured from end to end or by where they start, how many names, and whether to show the counts and the longest chain. Every chart style and paper works; dark papers add a glow.
  4. Take it with you. PNG, SVG, the links as CSV with their levels and whether each is on the longest chain, and a snapshot on a board.
Plotlay's Analysis page with the Links and hierarchy chart of Plotlay's own modules round a circle, the list of tables and charts beside it.
The chart in Analysis. Download as PNG, SVG or the links as CSV.
The Links and hierarchy controls: links given as from and to or a parent column, the columns, layout, levels, bundling, colours, names and the counts and longest chain.
The controls: the columns, the layout, the bundling and what goes on it.
The chart on a phone, 390 px wide, in Analysis.
On a phone: the chart in Analysis.
The chart's controls on a phone.
The controls on a phone.

For AI agents

Through Plotlay’s connector an agent makes the same chart: make_chart with type: 'bundle' takes a table and its from, to (or parent), level and group columns and a bundle object for the layout, bundling, colours, names and counts; edit_chart changes any of them, and export_chart gives PNG or SVG. The answer carries the counts and the longest chain in words. See AI agents.

Read it carefully

Sources and licences

On GitHub: the 5,352 imports and the 1,197 modules as CSV (names, sizes, groups, whether each touches the page), the same as the one table the example uses (each opens as it is in Power BI, Python or a spreadsheet), every number on this page as JSON, a notebook that works them out again, the script that read the repository, and the pictures. No source code is published.

Data: Plotlay’s own app repository, read on 2 December 2026. Our tables and pictures are CC BY 4.0; the script and the notebook are MIT.

Method: hierarchical edge bundling after Holten, D. (2006), “Hierarchical Edge Bundles: Visualization of Adjacency Relations in Hierarchical Data”, IEEE Transactions on Visualization and Computer Graphics 12(5).