Dependinator
Dependinator visualizes code structure and dependencies as an interactive,
navigable map — making complex architectures easier to understand, analyze, and refactor.
Think of it like a map app. Just as Google Maps shows continents when you're zoomed
out and individual streets when you zoom in, Dependinator shows your whole system at a glance
and reveals more detail about an area as you zoom into it. There are no separate "open" and
"close" actions — you simply zoom in to drill down and zoom out to step back.
What you can do
- Explore an interactive dependency map — see your codebase, or your Azure
Bicep deployment, as a zoomable, navigable diagram instead of scrolling through files.
- Zoom for detail — zoom into any node to reveal its internals
(namespaces, types and members; in a Bicep deployment the resource groups, the modules deployed
into them with the icon of what they mainly deploy, their resources, and settings such as role
assignments and diagnostics as rows under the resource they configure), then zoom back out to
see the bigger picture.
- Follow dependencies — pick any node and trace what it depends on,
or what depends on it, across the whole model.
- Jump to source — in the VS Code extension, go straight from a node
to the code it represents (and back).
- Edit and annotate — in edit mode, arrange nodes, pick icons and colors,
add your own nodes, links, notes and zones, or sketch an architecture from an empty model.
- Export — save the current view, a selected area or the whole diagram
as an SVG or PNG image.
- Ask an AI — ask about the model, take a guided tour of the codebase, review a
cycle or a broken rule, get rules suggested, or have Claude Code or Copilot improve comments or make
a fix (see AI help).
- Optional device sync — enable device sync to keep your models and
views in sync across devices.
Getting around
- Zoom in (scroll or pinch) to drill into an area and see more detail; zoom out
to step back to the overview — just like panning and zooming a map.
- Drag the background to pan across the model.
- Double-click a node to zoom the view to it.
- Search (the magnifier in the toolbar, or Ctrl+F) to jump
straight to a node by name. Type parts of a name, e.g. PZS finds
PanZoomService; ↑ ↓ and Enter pick a result.
- Use Fit to Screen (the toolbar button, Home, or the right-click menu) to
recenter and reset the view at any time.
- The breadcrumb under the toolbar shows, while a node is selected, where it is: the model,
then the containers down to the selected node. Click any crumb to zoom to it; the model crumb fits
the whole diagram. With nothing selected it is hidden, to keep the diagram clear.
- Back and Forward (the toolbar arrows, Alt+← / →,
or Backspace / Shift+Backspace) retrace your jumps: every
search result, explorer row, breadcrumb click, double-click and Fit to Screen is a step
you can return from.
- Alt+↑ (or the right-click menu) zooms out one container level per press,
up to the whole diagram.
Working with a node
Click a node to select it and show its toolbar. From there you can:
Minimap — View › Show Minimap puts a small overview in the bottom-right corner with a
frame for what is on screen; click or drag in it to move the view. It zooms in with you: deep inside
a container it shows that container's surroundings and scrolls along as you move.
New here? On the first start a short tour walks through the basics (zoom, click a node,
open the explorer, search); Menu › Help › Show Tips brings it back any time. To get to know the
code itself, Menu › Help › Tour This Codebase … has an AI walk you through its key parts (see
AI help).
- Show references / dependencies — open the Dependencies explorer for the
nodes that use this node (references) or the nodes it uses (dependencies).
- Follow a child's lines — inside an open container, a child's lines to the
outside end in a short arrow with a ring (a stub); click it to draw those lines all the way to the
nodes at the other end.
- Zoom to node — fit the node to the screen (same as double-clicking it).
- Go to source — in the VS Code extension, nodes that map to code
show a button that opens the corresponding file in the editor.
- Select several — Shift+click (or Ctrl+click) adds nodes to the
selection, and Shift+drag draws a rectangle that selects the nodes inside it; the toolbar
shows how many. Dragging one moves them all, and dim, hide, color, size and delete apply to all of them
in one undo step.
- Share a link — Copy Link to Node (node menu or right-click) and
Export › Link to Current View copy a dependinator.com link that opens this model at that
node or view. The link works for an account that has the model synced (device sync), and always
for the demo models.
- Dim or hide the node — from the toolbar menu: Dim Node draws it and its
lines faintly, Hide Node leaves them out, Show Node undoes either. Everything inside a
dimmed or hidden node follows it. View › Reveal Hidden Nodes draws hidden nodes faintly, to find
them again, until it is turned off (it is not saved). The eye count in the toolbar (or
View › Show Hidden Nodes List) lists the nodes you dimmed or hid, to switch them between dimmed
and hidden, go to one, or show them again. A grey badge on a node counts the children you hid
(Settings › Hidden node badges); its menu's List Hidden Children lists them.
- Soft lines — lines are drawn faint, so the nodes stand out; select a node,
or rest the mouse on one for a moment, to see its lines at full strength. Cycles, broken rules and
paths always show at full strength (Settings › Soft lines, on by default).
- See only its lines — while a node (or line) is selected, every line that does
not touch it is faded (Settings › Dim unrelated lines, on by default); hover a faded line to
see it at full strength.
- How many links — hover a line to see how many links it carries. To compare
them at a glance, turn on Settings › Line widths by link count (off by default): the selection's
lines and the Dependencies explorer's lines are then drawn thicker the more links they carry.
- Legend — View › Show Legend explains every line style and node icon.
- While parsing — the overlay shows the model being parsed and the time so far; "Continue in
background" lets you keep exploring while it finishes. A background refresh tells you what changed.
- Find cycles — View › Show Cycles lists every container whose children
depend on each other in a circle (projects, namespaces, classes or resources referencing each other) and draws
those lines in red; click a row to go there. The panel's ▲ button folds it down to its title bar (on a narrow
screen a click in the diagram does that too), and a click on the title brings it back. The review
button on a row opens the cycle's review.
A cycle that is intended can be accepted with a reason: it moves to the Accepted section and its
lines are drawn normally. It is reported again if another node joins it. Accepting is saved with the model
and can be undone. Not sure? Get an AI opinion in the review asks an AI (see AI help)
whether the cycle is intended, or how to break it; the prompt includes the source code behind the cycle's
thinnest dependencies in VS Code and the local web app. For a second opinion, ask again or ask another AI:
each answer is kept, labeled by where it came from, and when they differ you pick the one that convinces
you. An accepting answer fills in the reason; Ask how to break it under it asks for the change
that would break the cycle anyway. A breaking one shows the change and offers Fix with the default
AI that can change code (Claude Code, or Copilot in VS Code), with the ▾ menu beside it for another
one or Copy fix prompt, a prompt for any AI that can change the code (the button itself where none
can); Fix later, which moves the cycle to the To fix section with the planned change (its
lines stay red, and its fix prompt can be copied from there); or Accept anyway, with the suggested
fix kept in the reason. Nothing is saved until you decide. If a refactor breaks an accepted or to-fix cycle, or a node
joins one, the refresh message says so, and the entry is marked and listed first in its section until you
remove it.
- Architecture rules — View › Show Architecture Rules lets you declare
"this must not depend on that" by picking two nodes (a project, a namespace, a class, a resource). Every
dependency that breaks a rule is listed per class pair and drawn orange; rules are saved with the
model, so they stay checked after every re-parse. Each broken dependency has a review like a cycle's:
an AI suggests fixing it or allowing it, and an allowed one is kept with its reason under its rule, where it
no longer counts as a problem. Suggest rules … asks an AI for rules that fit the model; Dependinator
checks each one, shows what it would break today, and you tick the ones to add.
- Find a path — why does one node depend on another? View › Find Path
lets you choose two nodes and lists the shortest chains of dependencies from the first to the
second; the chosen chain is drawn highlighted while every other line fades, and clicking a hop takes
you there. The explorer's indirect rows (below) open the same panel for their chain.
- Leave lines out — View › Lines hides lines to external packages,
inheritance lines or member-level lines, or shows only lines carrying at least 2, 5 or 10 links.
Configuration lines (Bicep values flowing into parameters and variables, such as a location
or tags) are left out by default; turn them on there when you want to see them. The explorer's
lines and direct lines you asked for are always drawn.
- Leave rows out — View › Rows hides whole kinds of rows at once, with
their lines: Bicep parameters, variables, outputs, or the setting rows (role assignments,
diagnostics, locks) under a resource. A view setting, not an edit: the rows stay in the model,
the explorer and search, and their places in the layout stay empty until you show them again.
To hide particular nodes instead, use Hide in the node menu; a whole selection hides in
one undo step.
To see what's inside a node, you don't need a button — just zoom in on it and its
internals come into view. Right-click a node, a line or the background for the same
actions as a context menu.
The Dependencies explorer
When you show a node's references or dependencies, the Dependencies explorer opens beside
the diagram and draws the node's own lines in the diagram:
- Choose a direction — look at the nodes that use the selected node
(references) or the nodes it uses (dependencies).
- Drill into the chain — expand a row to split its line one level deeper
in the diagram; the row lists the far side's children with their link counts.
- Include indirect — the » button also lists the nodes reached
through other nodes, dimmed and with their hop counts, in the same containers as the direct
ones. That is how you discover a dependency nobody referenced on purpose; hover such a row and
click the chain button to see how it comes about.
- Navigate — click a row to pan the diagram to that node; hover a row for
"show node", "show source code" (VS Code) and "show direct line".
- Keep the lines — closing the explorer keeps its lines until you select
something else; pin them to keep them while you select other nodes, or hide them with the
lines button or View › Hide All Direct Lines.
On a small screen a click on the diagram folds the explorer down to its title bar, so it does
not cover the map; click the title bar to bring it back.
AI help
Wherever Dependinator can use an AI, it asks the one you chose. There are four:
- Claude — the Anthropic API with your own API key (from console.anthropic.com),
a few cents per answer. VS Code asks for the key the first time, in a box at the top of the window; the
command "Dependinator: Set Claude API Key" changes or removes it. It is kept in VS Code's secret storage
and sent only to Anthropic.
- Claude Code (experimental) — the claude command on this computer with
your own Claude login. It runs in the model's folder and reads the code to check its answer. It is off
until you turn it on in Settings › AI, after a warning: it is unclear whether Anthropic's terms
allow a third-party tool to use a Claude subscription this way.
- Copilot — in VS Code, a language model VS Code offers to extensions, GitHub
Copilot's by default, with your Copilot plan. Settings › AI chooses the model. To change code it
hands the prompt to Copilot Chat in agent mode, where you keep or undo each edit.
- Your AI chat — free: copy the prompt into claude.ai or any AI chat, then paste its
answer back, where it is read as soon as it is pasted. Open claude.ai opens a chat to paste it
into.
The first time you ask, the choices are shown side by side, and the one you pick becomes the
default. From then on the button asks the default at once, and the ▾ menu beside it asks
another AI, once. Settings › AI changes the default, turns Claude Code on or off and picks Copilot's model. If asking
fails (no key, a key not accepted, no credits left, Claude Code not installed), the AI chat route is
offered instead. Show prompt shows what is sent or copied before you send it. Claude and Claude
Code are offered in VS Code and the local web app, Copilot in VS Code; the web app at dependinator.com
offers the AI chat route.
- Ask About the Model — the speech-bubble button in the app bar (or
View › Ask About the Model) opens a panel for questions such as where something is handled or
what a change would touch. Claude, Claude Code or Copilot looks the answer up in the model with Dependinator's
tools, and reads a node's code when it needs to; each lookup shows as a line while it works. Node names
in the answer are links to the diagram, and Show all zooms to every node it names. Ask
follow-ups: the AI sees the conversation until you clear it. The chip under the question box shows which AI
answers and switches to another. VS Code and the local web app only.
- Tour This Codebase … — in Menu › Help: an AI reads the model's structure
and dependencies and picks 5 to 8 key parts in the order a newcomer should read them. Start tour
then zooms to each one with a few words on it; Back and Next step through the stops. The
tour is not saved yet: ask again for a new one.
- Review a cycle or a broken rule — Get an AI opinion in the review (see
Find cycles and Architecture rules above).
- Suggest rules … — in the Rules panel, asks for architecture rules from the
model's containers and the dependencies between them; Claude Code can check its candidates against
the model first.
- About Node … — in the node menu: the node's comment, what it contains and how
many types it uses and is used by, with a question about it for an AI ("What is this and why is it
here?" by default).
- Improve Comments … — in the node menu and the About Node dialog: Claude Code
adds or rewrites the comments of namespaces and types, which the diagram shows as descriptions;
Improve with Copilot hands the same prompt to Copilot Chat in VS Code, and without either the
prompt is copied for any coding agent.
- Fix with … — when an answer suggests breaking a cycle or fixing a broken rule,
one button makes the change with the default AI that can change code. Claude Code makes it in the
model's folder (edits only, no commands), after a warning about uncommitted changes, then lists the
changed files and re-parses. Copilot makes it in Copilot Chat's agent mode, and the diagram re-parses
when the files change. The ▾ menu beside it picks another AI or copies the fix prompt.
- AI agents can ask Dependinator — in VS Code a local MCP server lets Copilot's
agent mode, and Claude Code after "Dependinator: Connect Claude Code", look up nodes, dependencies,
paths, cycles and rules of the open diagram.
Edit mode
The diagram is view-only until you turn on Edit mode (the pencil in the toolbar, or
Edit › Edit Mode). The setting is remembered. In edit mode you can:
- Move and resize nodes — drag a selected node, or drag its edge handles;
the toolbar also has grow/shrink buttons. Layout changes are remembered per model.
- Arrange inside a container — pan and zoom the contents of the selected
container without moving the container itself.
- Icons and colors — pick an icon (including Azure, AWS and Google cloud
icons), an icon color, and a container color (border and background).
- Add nodes and links — double-click empty canvas, or use Edit › Add Node
or the right-click menu; drag the + handle that appears at the right of a hovered node
onto another node to link them, or onto the canvas to add a linked node.
- Notes — place numbered notes on the diagram (Edit › Add Note or
the right-click menu) and list them with View › Show Notes Sidebar.
- Zones — draw a labeled background area (Edit › Add Zone or the
right-click menu) to group nodes the way you think about them: a tier, a subnet, a team. Resize it
over the nodes; dragging the zone moves the nodes inside it along. The parsed structure, the lines
and the layout are untouched, the zone survives re-parsing, and double-clicking it edits its label
and subtitle.
- Line labels and bend points — select a line and use its label button (or
double-click the line, or right-click › Edit Label) to put a short text on it, with an optional
description under it like a node's: what flows across it, which outputs feed which parameters. The
label sits at the line's middle, fades with the line and
stays through re-parsing while the line exists (it comes back with a line that disappears and
returns). The + / − buttons add and remove bend points you can drag.
- Display names — give any node a name of your own (node menu or right-click ›
Display Name): "Storefront" for
frontend, "UI" for a long project name. The real
name stays the node's identity: it shows in the tooltip and the breadcrumb hover, search finds the
node by either name, and links and share links keep working.
- Undo — every edit can be undone (Ctrl+Z); a delete
offers Undo right in its message.
User-drawn nodes carry a small ✎ marker and can be renamed or deleted; parsed nodes cannot.
Models › New Model creates an empty model to sketch an architecture by hand.
Keyboard and mouse
| Scroll / pinch | Zoom in and out at the pointer |
| Drag | Pan the diagram (in edit mode: move a selected node) |
| Click | Select a node or line and show its toolbar |
| Double-click | Zoom to the node (in edit mode on empty canvas: add a node) |
| Right-click | Context menu (or cancel a placement in progress) |
| Ctrl+F | Search nodes |
| Home / Ctrl+0 | Fit to screen |
| + / - | Zoom in / out |
| ← → ↑ ↓ | Pan (hold Shift for larger steps) |
| Esc | Cancel a placement or drag, leave arrange mode, or clear the selection |
| Alt+↑ | Zoom out one container level |
| Alt+← / → | Back / forward through your jumps (also Backspace / Shift+Backspace) |
| Ctrl+Z / Ctrl+Y | Undo / redo an edit |
| Delete | Delete the selected user-drawn node, note, zone or link (edit mode) |
The menu (the ☰ button, top-left) is your
hub: search and fit, undo/redo and edit mode, export as image, view options, your models
(Models › Manage Models lists the workspace's solutions and Bicep deployments, recent models,
models in the cloud and design models), Settings … (the theme, light by default, and the layout
density, diagram lines and badges, mouse zoom, this model's test projects and the AI), and help.
VS Code vs. the web app
The VS Code extension is where you'll do the real work of building and editing diagrams
alongside your code. It parses the solution or Bicep deployment in your workspace (and re-parses when files change).
The diagram follows the editor: switching to a C# or Bicep file shows its node (setting
Follow Active Editor), Ctrl+Alt+D reveals the node at the
cursor, and from the diagram you can jump back to open the corresponding editor — so the map
and the source stay in step. The command palette has Dependinator: Search Nodes and
Re-parse Model, and the status bar shows when it is parsing. The extension is available
on the
Visual Studio Marketplace — in VS Code, search for
"Dependinator" in the Extensions view.
The web app at dependinator.com is the companion for viewing your models outside
VS Code, in a desktop or mobile browser. It cannot parse code itself: enable device sync in
both the extension and the web app and the models you build in VS Code are available wherever
you are. Editing works there too, and you can sketch design models by hand.
Device sync
The cloud button in the toolbar opens the device sync status: who is signed in, whether this
model is in sync, has local changes to upload, has a newer cloud copy to download, or a conflict to
resolve, with a button for each. Enabling device sync lets Dependinator sync your models and views
across devices. It's entirely optional — everything works locally without an account.
To see the same diagram on, say, VS Code on your computer and dependinator.com on your phone, just
enable device sync with the same account on both devices. Once it's enabled on each, your
models and views stay updated on every device that has sync enabled. Changes sync automatically
in the background (a message tells you when the diagram was updated from the cloud); if both
copies changed, the conflict dialog shows when each changed and asks which one should win.