Skip to content

The viewer

The viewer is a static site that shows the Model as diagrams. archidocs dev serves it on your machine as you edit; archidocs build writes it for any static host, with the Model at every past Revision. It is read-only: it never writes to the Workspace.

Most people arrive from a link in a pull request, a chat thread or an incident channel, so the viewer is built to answer the question in the link first. Try it on the Big Bank demo ↗.

  • Find (press /) searches Elements by name, id, technology or Owner, and Services by any of their URLs.
  • The Model tree walks Systems, Services and Components; the Teams tree lists what each Team owns; the Views tree lists the Generated and Saved Views.
  • The location bar shows where you are, with back and forward, recent places and Copy link.
  • Selecting a node opens the Element panel: its Owner, description, links, Relationships in and out, Deployments with their URLs in each Environment, and the ADRs linked to it. For a Service, Where is it deployed? opens each Environment’s Deployment View with its Deployments marked.

On a structural View, open a System or Service in place to see what is inside it, without leaving the View.

A Lens highlights part of a View without changing what it shows:

Lens Answers
Impact What is upstream or downstream of this Element, and how far away?
Connect to… How are these two Elements connected?
Team What does this Team own?

The URL holds everything on screen: the View, what is open, the selection, the Lens, the direction and the Revision. Copy it and anyone who opens it sees the same thing. For example, everything upstream of Big Bank’s mainframe on the Service Landscape:

https://big-bank.archidocs.dev/#/view/c2?impact=core:mainframe&way=upstream

When a screen answers a question worth keeping, Save as View writes it out as Saved View YAML, the same definition the MCP upsert_view tool takes. The viewer doesn’t save it anywhere: paste it into a Project’s views.yaml and open a pull request, so the View is reviewed like the rest of the Model. See Save a View.

A Dynamic View opens as a sequence chart, with its Steps listed beside it. Select a Step to follow the scenario one interaction at a time, switch to a graph of the numbered Steps, or show the broker that each event goes through.

A published viewer holds the Model at every kept Revision. Pick a Revision to see the whole viewer as it was then, or Compare two to see what was added, removed and changed, marked on the diagram. See Revisions and history.

Any View can be downloaded as SVG or PNG from the viewer, styled as it is on screen. For pictures in CI, wikis and slide decks, use archidocs export.