exporter.SemanticVizPayload
JSON-serializable statement-graph visualization.
Usage
exporter.SemanticVizPayload()Distinct from cell-level LightweightVizPayload. Nodes are statements, not cells. ranks on the graph come from the distance-zero residual; positions come from the shared clustered force layout (clusters are series) with the vertical rank_pull towards input depth.
Parameter Attributes
version: intgraph: StatementGraphpositions: tuple[tuple[float, float], …]depths: tuple[int, …]rank_pull: RankPull = DEFAULT_RANK_PULLannotations: Mapping[str, Any] | None = None
Attributes
| Name | Description |
|---|---|
| tier | Shared size tier of this graph. |
tier
Shared size tier of this graph.
tier: VizTier
Methods
| Name | Description |
|---|---|
| to_dict() | Return a JSON-serializable mapping. |
to_dict()
Return a JSON-serializable mapping.
Usage
to_dict(*, cell_sample=None)Parameters
cell_sample: int | None = None-
If set, keep only the first
cell_sampleaddresses on each node and the firstcell_sampleinstance edges on each bundle. The HTML viewer uses this cap; omit it for a full dump (--json).cell_countand instance_edge_count stay the true sizes.