Expand description
Visualization helpers (graph exporters for DOT, D2, Mermaid, JSON) Visualization utilities (diagram rendering, export formats).
§Unified Graph Exporters
The unified module provides visualization exporters that work directly with
GraphSnapshot:
UnifiedDotExporter- Graphviz DOT formatUnifiedD2Exporter- D2 diagram formatUnifiedJsonExporter- JSON for web visualizationsUnifiedMermaidExporter- Mermaid for Markdown
A higher-level, seeded architecture export lives in
archify, built on the shared seeded,
depth-limited traversal in subgraph.
These exporters use the unified graph’s edge metadata:
Calls { argument_count: u8, is_async: bool }Imports { alias: Option<StringId>, is_wildcard: bool }Exports { kind: ExportKind, alias: Option<StringId> }
§Usage Example
ⓘ
use sqry_core::visualization::unified::{UnifiedDotExporter, DotConfig};
let exporter = UnifiedDotExporter::with_config(&graph_snapshot, config);
let output = exporter.export();Modules§
- archify
- Archify architecture-diagram JSON exporter (seeded, grouped, tier-typed). Archify architecture-diagram exporter.
- subgraph
- Shared seeded, depth-limited subgraph traversal (entry-point-agnostic, format-agnostic). Backs the Archify exporter and future seeded exports. Shared seeded, depth-limited subgraph builder.
- unified
- Unified graph visualization exporters.