DunneFlow · Start here
The start page and your first map
What the start page shows, how the Analyse a directory dialog works, what a run reports, and what a finished map contains.
The start page#
The start page is what DunneFlow shows when no map is open, which is how a freshly installed application begins. It is deliberately not the dashboard with everything emptied out: it says what is here, and offers the two things you can do about it.
- The lead line says how many programs have been mapped, or that none have.
- Maps are kept in shows the path to your maps, with two buttons. Show me opens it in Finder, File Explorer or your Linux file manager. Move… points DunneFlow somewhere else and optionally carries your maps across (see Installing).
- The program list shows every directory that actually holds a map, and how many points in time each holds (one point in time, 3 points in time). Click a row to open it. Opening a large map takes a moment, so the lead line becomes a progress line naming the program and the step it is on, and the page becomes the dashboard by itself when it is done. DunneFlow decides what is a map by looking inside a directory, never by its name.
- + Analyse a directory… reads a new tree.
- The footer states that nothing leaves this machine: the analysis is standard-library parsing and no part of it calls a model or opens a network connection.
If a map is already open and you come back to the start page (for example by visiting
/start), an extra panel names it and offers Back to it or Close it. Closing returns
the server to its start state; nothing on disk is touched, and a running analysis keeps
running.
The Analyse a directory dialog#
Press + Analyse a directory… on the start page. The same entry sits in the program menu inside the dashboard, just above × Close this map, so you never have to leave a map to read another.
Directory to read is the whole path, as this machine sees it. A path relative to your
terminal means nothing to the server, which reads the tree itself. Choose… opens a
folder picker, and the typed field never goes away. For a Python project, point it at src/
or the package directory rather than the repository root.
Call it names the directory the map is written to. Leave it and DunneFlow uses the directory's own name.
Read the documentation too is on by default. DunneFlow scans the Markdown, reStructuredText, AsciiDoc and plain text beside the code as a separate, parallel corpus. That is what fills the glossary, the naming lanes and the second lane of Document view. Turn it off for a quicker, code-only map.
Under each flow diagram, list chooses what the map's flows page writes beneath each
diagram: every routine each way in reaches, only what each diagram leaves out, or how
many each reaches. Listing every routine can make that page very large on a big program, and
once a name has been analysed each choice says what it came to last time. On the command
line it is --flow-inventory.
Ask me first if it may take longer than … minutes is ten unless you change it (1 to 600).
It is kept in this browser rather than with any one program, and on the command line it is
--warn-after.
The pre-flight#
DunneFlow checks what you type as you type it, and Analyse stays disabled until it is satisfied. Each refusal has its own sentence. The one you are most likely to meet is:
dunneflow is the program being read — its graph is open here, and an analysis may
discard and re-extract it. Switch to another program first, or run this from a terminal.
That happens when you analyse into the name that is currently open, which would rewrite the graph the server is holding while you read it. Switch the program menu to something else first. Analysing into a name that exists but is not open is allowed, and the dialog says plainly that it rewrites that program's working snapshot. That is a note, not a refusal. See When it refuses for the full list.
A long read asks first. Press Analyse and the button reads Starting… while the tree is walked to estimate the run. If the estimate is over the minutes you set, nothing starts: the dialog says what it expects and what it based that on. Yes — read it now starts the run; Not now leaves you in the dialog with nothing started.
One analysis runs at a time. Press Analyse while another is going and the dialog names the run and the step it is on, and offers to stop it. Or wait: the dialog stays open, and Analyse comes back by itself when the run finishes.
While it runs#
A progress panel appears bottom-right and stays there for as long as the run does. Keep reading beside it: the map you already have open stays open and stays true for the whole run.
The steps are counted for this run, because the options you chose remove work. A full run reads the source tree, reads the documents, captures the document bodies, reads standards (only if you gave a standards directory), resolves calls and command trees, captures the source bodies, looks for anomalies, and writes the map. The bar counts those steps, not files, so through a long first step it stays empty and the figure beside the step is what moves (1,550/5,744 is files read so far, of the files in the tree).
If nothing has moved for more than three-quarters of a minute, the panel says so and does nothing about it. Resolution can be quiet for minutes on a large program, so whether a run is stuck is your call.
Stopping it#
Stop it ends the run. What it had written stays on disk, marked unfinished. That
mark matters: an analysis killed part-way leaves a graph that opens perfectly and is wrong,
for example reporting every routine but no calls between them. So DunneFlow records whether
its own analysis finished, and every command that vouches for a map refuses an unfinished
one. Analysing again completes it quickly, because extraction is cached against the content
of each file. Analyse it again, on the stopped panel, opens the dialog with the same
directory and name filled in, so finishing it is one more press of Analyse. A command
that must read an unfinished map anyway takes --allow-unfinished, and warns.
A stopped run is reported as stopped, not failed.
What it read, and what it left out#
A run ends by saying both. This is DunneFlow reading itself, six of the seven languages it reads (its own source holds no Kotlin), shortened:
files 181 (parsed 181, cached 0, removed 0, failed 0) in 12.0s
read: cpp 11 · go 8 · java 11 · python 128 · rust 12 · typescript 11
cpp 2 include directories inferred from 46 #include spellings; …
cpp libclang: Apple clang version 21.0.0 (clang-2100.4.1.1) …
java edges: javac reported 1 errors attributing 11 files; calls whose receiver it
could not type are `untyped`, never guessed
typescript plugins/typescript/tsconfig.json: 11 files
unread: 9 .json, 9 .yaml, 8 .js, 2 .html, 1 .cjs, 1 .css, 1 .lock, 1 .mjs, 1 .mod, 1
.toml — no reader here claims those suffixes
left out as tests: 1 go, 1 java — analyse again with --include-tests to read them
…
rust frontier read from this machine, never fetched: 2 dependencies — proc_macro2
1.0.107, syn 2.0.119
pruned 4 directories: vendor ×3, .cargo
read: is per language, so you can tell a tree whose TypeScript was read from one that has
none. The lines under it are each reader saying how it did the work: which tsconfig.json
files TypeScript compiled, which clang the C and C++ reader asked and what it could not
find, how many errors javac reported. Every line after them is a filter, and none is silent:
| Line | Meaning |
|---|---|
unread: | No reader in this build claims those suffixes. |
left out as tests | Test files, judged per language. --include-tests reads them. |
test code inside source files left out | Items a reader marks as tests inside an ordinary source file, such as Rust's #[test] functions and #[cfg(test)] blocks. --include-tests does not bring these back. |
declined by you | You passed --without for that language. |
skipped by the reader's own rule | For example .d.ts declaration files. |
strings not judged | Too short or too long to scan for SQL and filenames. |
calls resolved to somewhere outside this map | The reader's own compiler followed the call to a library or a file no reader claimed. External, and right. |
calls whose far end the reader could not name at all | Left external rather than guessed by name. |
rust frontier read from this machine, never fetched | Dependencies found in your local cargo cache and read, so the map can say what an outside call reaches. Nothing was downloaded. |
pruned N directories | node_modules, vendor, __pycache__, dot-directories, and anything holding another map. |
The dialog gets the same lines: the progress panel carries What was left out of this map, closed by default with a count of its lines, which you can open while the run goes and after it ends. Once the map is open, About this map keeps the same record for good.
What you get#
A directory under your maps root, holding:
graph@<instant>.db: every fact about the program, in SQLite. Every question the dashboard asks is a query against it.docs@<instant>.db: the documentation, in a parallel store that a documentation rescan can rebuild without touching the graph.source.dbanddocsource.db: the bodies of what was read, held by content hash. This is what lets Code view show you the source months later, on a machine that never held the tree.map@<instant>/: fifteen Markdown documents about the program plus an index (entrypoints, flows, routines, data, boundaries, governance, database, network, anomalies, glossary, naming, traceability, mirror, constants and macros). They are readable with no tooling at all, so you can send someone the answer rather than the application.
Then the dashboard opens. Next: The shell.
Something unclear or out of date? Tell us.