Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

GraphvizFormatting

GraphvizFormatting controls how nonlinear factor graphs are laid out when exported to Graphviz DOT. It extends DotWriter with pose-aware axes, scale, and factor-merging options.

Open In Colab

A graph with geometric values

The formatting object uses Values to place pose variables according to their translations. Factors are drawn between those positioned variables.

Paper axes and scale

paperHorizontalAxis and paperVerticalAxis choose which world axes appear on the page; negative-axis enum values flip a direction. scale converts geometry units into Graphviz position units.

Factor and node styling

mergeSimilarFactors combines repeated factors with the same scope. Inherited DotWriter fields control boxes, binary edges, factor points, explicit variable/factor positions, and figure dimensions. saveGraph() writes the same DOT representation to a file.

Source

GraphvizFormatting.h

AI assistance caveat

AI was used to help draft this documentation, and inaccuracies could be present.