Skip to content

The System map ​

The System map is an interactive picture of one of your Systems. Each dot is a part found in your code, such as a program, a file or data definition, a batch job, a copybook, a screen map or a field. The lines show how the parts connect and depend on each other.

The map sits next to chat, and the parts an answer references light up on it. It is for exploring and understanding a large codebase, not for editing it.

The interactive System map: the parts of a System, colored by kind and joined by the connections between them.The interactive System map: the parts of a System, colored by kind and joined by the connections between them.

What you see ​

You start with an overview of the whole System, arranged automatically so that related parts sit together. Color shows the kind of part:

Kind of partColor family
Programs, copybooks, paragraphsGreen
Screens & mapsBlue
Jobs & stepsYellow / orange
Files & dataCyan
CICS commandsOrange / red

Exploring the map ​

  • Select a part: click its dot. It highlights, and a details panel opens.
  • Drill into a program: with a top-level part selected, click Zoom In just below it to see its inner detail, such as paragraphs and data definitions.
  • Go back to the whole System: in a detail view, click the back arrow at the top-left. The part's name shows next to it.
  • Change a detail view's layout: use the layout button at the top-right to choose Hierarchical or Circular.
  • Zoom and pan: use the plus and minus buttons, which show the current zoom, or drag the canvas.
  • Clear a selection: click empty space.

If the map cannot load, it says so and offers Try again.

Filtering what's shown ​

Open the Entities control to choose which kinds of parts appear. Every kind is shown to begin with.

  • Tick or untick kinds, or use Select all.
  • Search the list with Find filter.
  • A badge shows how many kinds are selected.

Nomain remembers your selection for each System.

Progressive exploration ​

The same panel has a Progressive toggle. When it is on, the map starts empty and shows only the parts your chat answers reference, so you explore a few at a time. Nomain remembers the choice for each chat.

The details panel ​

Selecting a part opens the details panel. It can include:

  • An explanation of what the part does. Click a name inside it to highlight that part on the map.
  • A Dead Code Analysis tab, when the part contains code that appears unused. Code in a repository with unused code detection off has none. A line under it says how many connected repositories it was checked against, for example "Computed over 12 connected repositories, as of …". See dead-code detection.
  • An Entity Info tab with what you need to find the part in your own repository: Identifier, Kind, Source file (with its repository), Lines and Language.

If a part has no extra detail, the panel says so.

  • Chat: the map sits next to the conversation and lights up with each answer.
  • Business processes: the same System in business terms, one switch away from the System map.
  • Systems: what the map shows.