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.

How the picture reads
- A dot for each module. Round the circle, grouped by part: the browser app (405 modules in
src/app), the engine (636 insrc/core), file readers and writers (87 insrc/io) and the connector (69 tool files). A dot is as large as the number of imports in and out of it. - 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.
- 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.

src/app, none of which use the page.
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.

core/agent.js, picked out: a click on a node in the app does the same.
app/main.js to core/fitout-kit.js, the geometry under every piece of furniture.Make one in Plotlay
- 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.
- 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.
- 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.
- 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.




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
- A link means one module names another in an import. It says nothing about how often the code runs, and a module the connector reaches may never be called by a tool.
- Whether a module uses the page is found by looking for browser-only names in its code (
document.createElement,window.addEventListener,localStorageand a few more). A check by eye, not a proof; the proof is that the connector runs the engine on a server with no page. - The longest chain counts imports loaded on first use as well, so it is not a chain the browser loads at start. Loops are broken the way the chart does it (a depth-first walk from the modules in name order); another order can give a slightly different chain.
- Only the app’s own modules are counted: the 3D library, the map library and other outside code are left out, and so are the website’s build scripts and the tests.
- The repository changes every day. These are the numbers for 2 December 2026.
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).
Draw a graph of your own
Plotlay is free to start: every tool, three cloud projects.
AnalysisPaste a table of links, pick Links and hierarchy