The Logic Map visualizes code relationships as an interactive graph. To use it:
- Open a completed scan from the Scans tab.
- Click the Logic Map tab (Network icon) in the scan detail page.
- The graph loads showing nodes (files, functions, classes, endpoints) and edges (relationships between them).
- Pan by clicking and dragging empty space. Zoom with scroll or pinch.
- 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
| Control | What 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 Filter | Show 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 Flow | Generate a logical flow path from the selected node. A flow drawer shows the sequence of calls and data transformations. |
| Full Screen | Expand the graph across the full viewport for detailed review. |
| Export | Save 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.
