Skip to content

docs: add visualization page and improve GraphViz rendering#299

Open
bvdmitri wants to merge 1 commit intomainfrom
add-visualization-docs-and-graphviz-styling
Open

docs: add visualization page and improve GraphViz rendering#299
bvdmitri wants to merge 1 commit intomainfrom
add-visualization-docs-and-graphviz-styling

Conversation

@bvdmitri
Copy link
Copy Markdown
Member

@bvdmitri bvdmitri commented Apr 7, 2026

  • Add dedicated Visualization page to the docs covering both the GraphViz and GraphPlot extensions, with runnable @example blocks
  • Register GraphViz in docs/Project.toml so the GraphViz example renders as SVG in the built docs
  • Improve GraphViz DOT output to match Forney-style factor graphs: switch default layout to "dot", add rankdir=LR and splines=ortho for orthogonal (horizontal/vertical) edge routing
  • Strip module prefix from factor node labels (e.g. Distributions.Normal → Normal)
  • Nicer node styling: blue-filled factor nodes with white text, white-filled variable nodes, Helvetica font, soft gray edges

- Add dedicated Visualization page to the docs covering both the
  GraphViz and GraphPlot extensions, with runnable @example blocks
- Register GraphViz in docs/Project.toml so the GraphViz example
  renders as SVG in the built docs
- Improve GraphViz DOT output to match Forney-style factor graphs:
  switch default layout to "dot", add rankdir=LR and splines=ortho
  for orthogonal (horizontal/vertical) edge routing
- Strip module prefix from factor node labels (e.g. Distributions.Normal → Normal)
- Nicer node styling: blue-filled factor nodes with white text,
  white-filled variable nodes, Helvetica font, soft gray edges

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@bvdmitri bvdmitri requested a review from wouterwln April 7, 2026 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant