Skip to main content

Module level_graph

Module level_graph 

Source
Expand description

Per-level payload types: LevelGraph (one analysis level’s structural graph + semantics dictionaries + computed cycles/stats/UI), LevelUi (computed UI hints), and CycleGroup (one classified SCC). These are the widely-imported model types; keeping them in their own module spreads their fan-in off the crate’s snapshot artifact.

Structs§

CycleGroup
One strongly-connected component with ≥ 2 nodes, plus its classification ("mutual" for a 2-node SCC, "chain" for 3+). Node ids match the level graph.
LevelGraph
Everything for one analysis level: the structural graph, the semantics dictionaries that describe its vocabulary, and the computed cycles + stats.
LevelUi
UI hints for a level: which metrics to offer as table columns, summary rows, sort/size keys, and the default sort — computed by the orchestrator from the attributes actually present, so the viewer hardcodes none of it.