The dependency map
A dependency says that what one page describes uses what another page describes, for example “Sales site uses Licence service (API)”. Either page can be any page, including a database record such as a product, service or component. Dependencies are written by people; links between pages are found by themselves and are shown on the knowledge graph instead.
You see dependencies in three places: on both pages, on the Dependency map screen and in Dependency map blocks inside your documentation.
Add a dependency
- Open the page, then its info (the line under the title).
- In Dependencies, click Add dependency.
- Fill in the form:
| Field | What to enter |
|---|---|
| Direction | This page uses… or … uses this page |
| Page | The other page, chosen from the list |
| Kind | API, Events / queue, Library, Data or Infrastructure |
| Exact part used (optional) | Optional, up to 500 characters: an endpoint such as POST /api/licences/verify, a queue or a table |
| Needed or optional | Needed (it does not work without it) or Optional (it works, with less) |
| Notes (optional) | Optional, up to 4,000 characters |
- Click Save.
The section then lists Uses and Used by, grouped by kind, with the interface, criticality and notes. Each row has buttons to edit and remove it, and Open in the map shows the page on the map. When a page has dependencies, the line under its title says how many.
- The same kind between the same two pages can exist once; another kind is a separate dependency.
- A page cannot depend on itself.
- You need read access to both pages and edit access to at least one of them, so a dependency can be kept up to date from either side.
- A dependency with a page in the trash is hidden and comes back when the page is restored.
Suggestions from code
When projects have GitHub repositories attached and one product’s code calls a route that only another product’s code serves, Venolio suggests that the first product’s home page uses the second (kind API, with the route as the interface and the places in the code as evidence). Suggestions appear under Suggested from code on the dependency map screen.
Only specific routes count, so a suggestion is worth a look: routes with at least two fixed parts
(not /{id}, /health or /media/{id}), served by one product only, and called from the
product’s own code, not from its tests or scripts. A call to a route the calling product serves
itself is not suggested.
- Accept adds the dependency (you need edit access to one of the pages).
- Dismiss hides the suggestion for good.
Nothing is added until someone accepts it. See The code graph.
The dependency map screen
Open More → Workspace → Dependency map.
The map is laid out in layers from left to right: pages that use something are on the left, what they use is on the right. Lines are coloured by kind, and optional dependencies are dashed. Hover over a line to see its kind, criticality, interface and notes.
- Focus a page: click it. The map shows the page and its neighbours up to two steps away, with a side panel of what it uses and what uses it. Show the whole map goes back.
- Open a page: double-click it, or Ctrl + click.
- Filter: by kind, by criticality and by teamspace. Find a page highlights matching pages, ignoring capitals and accents.
- Move and zoom: drag to move; Ctrl + scroll, scroll or pinch to zoom; Fit to screen brings everything back into view.
- Export: PNG or SVG saves what is shown.
The map shows up to 500 pages; narrow it with filters or focus a page when it says it was cut.
Embed a map in a page
The Dependency map block shows a live map inside documentation.
- Type
/and choose Dependency map. - Under Show, choose what to show:
- This page and its neighbours (the default);
- Another page and its neighbours, then pick the page;
- The records of a database: the records of a database and what they use;
- Chosen pages: up to 50 pages you add, and the dependencies between them.
- Optionally set Steps away (up to 3), Kinds and Criticality.
- Click Show map.
Edit map changes the settings later, and Open the full map opens the dependency map screen. The page keeps only the settings, so every reader sees the map with their own access. The block refreshes when a dependency changes, when you come back to the window and every minute while it is visible. In the block, a plain scroll scrolls the page; Ctrl + scroll or pinch zooms the map.
A Dependency map block on a published page shows nothing, because visitors have no access to other pages.
Pages you cannot open
You see a dependency in full only when you can open both pages. If one end is a page you cannot open, the dependency shows its kind, interface, criticality and notes, and the other page appears muted with a lock as Restricted page: it cannot be opened, edited or removed from your side. A dependency between two pages you cannot open is left out, and a hidden page never connects two pages you can see.
Someone with full access to a page (its owner, or an owner or admin of its teamspace) can turn on Show the name to people without access in the page’s info. Members without access (not guests) then see the page’s title instead of “Restricted page” wherever a page they can open links to it, uses it or is used by it. Its content stays closed, but anyone in the workspace who has the page’s link can read its name, so use it only for pages whose name may be known.
Limits
- Dependencies are entered by hand or accepted from code suggestions. There is no import from other tools.
- Changes made by other people appear when you come back to the window or within a minute.
About this part of Venolio: See how your team's knowledge connects
Checked against the app on . The same help is built into the Venolio apps and works offline. Something wrong or missing? Tell us.