CyfroCode

Logic Map

Explore code relationships as an interactive graph, with layout, view-mode, focus, and flow-extraction controls.

The Logic Map visualizes code relationships as an interactive graph. To use it:

  1. Open a completed scan from the Scans tab.
  2. Click the Logic Map tab (Network icon) in the scan detail page.
  3. The graph loads showing nodes (files, functions, classes, endpoints) and edges (relationships between them).
  4. Pan by clicking and dragging empty space. Zoom with scroll or pinch.
  5. Click any node to highlight its connections. A detail drawer opens on the right showing the node kind, file path, and relationships.

Logic Map Controls

ControlWhat It Does
Layout (Force / Layered)Switch between organic force-directed layout and hierarchical layered layout.
View Mode (Logic / File / Layered)Change how nodes are grouped — by logical structure, by file, or by application layer.
Node FilterShow or hide nodes by kind (function, class, endpoint, file, workflow) and status.
Focus + Depth (0–5)Select a node, then use Focus to show only nodes within that many hops. Isolates a subgraph around a specific component.
Extract FlowGenerate a logical flow path from the selected node. A flow drawer shows the sequence of calls and data transformations.
Full ScreenExpand the graph across the full viewport for detailed review.
ExportSave the current graph view as an image or structured data.

If the tab shows "Scan intelligence is still running," wait for analysis to complete and refresh. If it shows "Scan intelligence is unavailable," enable code-intelligence settings in the Policy tab and re-run the scan.

Continue reading