Expand description
Factor graph visualization and structural analysis.
Renders factor graphs as ASCII art and DOT (Graphviz) format, and computes structural statistics (degree distributions, tree detection, treewidth bounds).
Structs§
- Factor
Graph Model - A lightweight factor graph representation for visualization.
- Factor
Graph Stats - Structural statistics for a factor graph.
- VizFactor
Node - A factor node inside a
FactorGraphModel. - VizVariable
Node - A variable node inside a
FactorGraphModel.
Functions§
- render_
ascii - Render a
FactorGraphModelas human-readable ASCII text. - render_
dot - Render a
FactorGraphModelas a DOT (Graphviz) graph.