Internal link graph visualisation

Read the internal link graph of a saved scan: nodes, edges, orphans, the shortest path to a page and the links pointing to it. The desktop app shows it, and the CLI and MCP read the same scan the audit uses.

What it does

Whole-scan graph

scan-graph reads the internal links kept in a saved scan, with no network request. It reports nodes, edges and orphans, and can group a large site by section. The desktop Link graph screen shows the same counters and a paged table with each URL, its HTTP status, crawl depth, inlinks and word count.

  • Filter by link position (nav, header, sidebar, footer, content or other) or by section
  • Aggregate by section when the graph is too large to list
  • Compare two scans to see added and removed links and new orphans

Local graph

Focus on one page to see its neighbors. In the desktop URL card the Graph tab draws the links around the selected URL, one to three levels deep, from the saved scan. A link the scan does not hold is never drawn. In the CLI, scan-graph with --around and --depth gives the same neighborhood as data.

  • Depth is limited to three levels, and the drawing is bounded in size
  • Outgoing and incoming links can be listed for the page
  • Read-only: nothing is written to your project or site

Paths and inlinks

scan-link-inspect answers the questions the graph raises. It returns the shortest observed path from a start URL to a page, the pages that link to it, and the placement of each link. You can filter links by follow type, status class and internal or external.

  • Views: path, inlinks, context and paged links
  • Presets for incoming internal links and for broken internal targets
  • Nofollow, sponsored and ugc links are kept apart from followed ones

Three steps, one saved scan

  1. Crawl the site once

    crawl-site follows links on the same host and saves one SQLite scan that records each internal link with its anchor and position.

  2. Query the graph from the saved scan

    scan link-inspect reads the shortest path to a page, the links pointing to it, or the links on one URL, without touching the site again.

  3. Fix what the graph shows

    Orphan pages, deep pages and broken internal links become audit findings, each with the fix written next to it.

Checks in this feature

CheckWhat it meansSeverityEvidence
ORPHAN_PAGEThe page has no internal inlinks, so users and crawlers can only reach it by URL or sitemap.ImportantPage URL and inlink count of zero
DEEP_CLICK_DEPTHThe page is more clicks from the crawl's start URL than the configured floor.ImportantClick depth and the start URL
DEEP_DISCOVERY_PATHThe shortest hyperlink route from the start page is longer than the configured depth.TipShortest path from the start page
LOW_LINK_SCOREThe page's internal link score is far below the site median.TipPage score and site median
ONLY_NOFOLLOW_INLINKSEvery internal link to the page is nofollow, so link equity does not reach it.ImportantInlinks with their rel values
BROKEN_INTERNAL_LINKAn internal link points to a URL that returns 4xx.CriticalSource page, link position and anchor, target status
DUPLICATE_INTERNAL_LINKThe same destination with the same anchor appears more than once on one page.TipRepeated destination, anchor and count

One command

bash
spiderhead-desktop --project ./shop

Install first: installation guide. Every command also runs as an MCP tool for AI agents.

What you need

  • A saved scan: a scan.v1 SQLite file from crawl-site, or a scan open in the desktop app
  • Links retained in that scan (older scans may need scan-reanalyze for link positions)
  • A start URL for path queries, and a page URL for local graphs

Limits

  • It shows links the crawl observed, not how a search engine weighs them
  • On a partial crawl, orphan counts mean unreachable in the observed graph, not on the whole site
  • Link positions stay not_classified when the page body was not kept
  • The desktop overview is a table with counters. The drawn graph is local to one URL

Questions

Do I need another tool for the link graph?
No. The graph reads the saved scan that crawl-site writes, the same scan the audit uses, and nothing beyond it.
Does the graph change anything on my site?
No. It reads the saved scan file. Nothing is written to your site, and the checks only report what the crawl found.
A page is in my sitemap but flagged as an orphan. Why?
ORPHAN_PAGE means no internal link points to it. SITEMAP_ORPHAN is the sitemap version of the same problem. Add a link from a relevant page, or remove the URL from the sitemap.
What if the crawl was partial?
The toolkit withholds whole-site claims from partial crawls. Orphan and component counts are labeled with their scope, and a missing route or inlink list is marked partial or unavailable, never shown as a clean result.
Can I use the graph without the desktop app?
Yes. scan-graph and scan-link-inspect are CLI commands and MCP tools, so a script or an agent can read the same graph as JSON.
How large a graph can it read?
Reads are bounded. There are hard ceilings on nodes and edges per call, and larger sites are aggregated by section with clipping reported in the result.

Try it on your own site