SVG rendering of the branchial graph returned by WolframModel.branchial_graph/1.
Each node represents a possible rule match at the current state. An edge connects two nodes when their matched hyperedges overlap, meaning the two rule applications conflict (they cannot both be applied without first resolving the branch).
Nodes are placed on a circle and coloured by rule name. The label shows the rule name (truncated) and which hyperedges it matched.
Example
universe
|> WolframModel.branchial_graph()
|> WolframModel.BranchialGraphSVG.to_svg()
|> then(&File.write!("branchial.svg", &1))
Summary
Functions
Returns an SVG string for branchial_data.