CyfroCode's architecture views help you understand a codebase faster — the Logic Map graphs code relationships, and the Mind Map lays out your API endpoints with AI explanations.
Logic Map
The Logic Map: an interactive graph of code relationships with layout, view-mode, filter, and focus controls.
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.
Mind Map
The Mind Map: API endpoints laid out as a tree of cards with AI-generated explanations and a detail panel.
The Mind Map displays your API endpoints as a tree of cards with AI-generated explanations. To use it:
- Open a completed scan from the Scans tab.
- Click the Mind Map tab (Brain icon) in the scan detail page.
- Endpoint cards appear in a tree layout. Each card shows the HTTP method, path, handler function, and a source badge (AI-generated or Deterministic).
- Filter by HTTP method (GET, POST, PUT, DELETE), status, or risk level using the toolbar filters.
- Use the search box to find endpoints by keyword or path fragment.
- Click any endpoint card to open a detail panel on the right.
The endpoint detail panel shows:
- Handler symbols — the functions or methods that handle this endpoint.
- HTTP path and method — the full route definition.
- Parameters (inputs) — query, path, body, and header parameters the endpoint accepts.
- Downstream calls — other services or functions this endpoint invokes.
- Security notes — authentication requirements, authorization checks, and risk observations.
- Linked findings — any security findings associated with this endpoint.
- Patch references — remediation drafts related to this endpoint.
If the tab shows "Mind Map not yet generated," wait for analysis to complete and click Refresh in the toolbar.
