mix frontier.visualize (Frontier v0.2.1)

Copy Markdown

Generates a DOT or PNG graph of Frontier boundary relationships.

The graph shows actual cross-context calls detected by the compiler tracer, colored by whether they're allowed or violations:

  • Green edges — allowed cross-context calls
  • Red edges — boundary violations
  • Dashed orange edges — known violations silenced via skip_violations:

Violations are listed in a legend at the bottom of the graph.

$ mix frontier.visualize                   # outputs frontier.dot
$ mix frontier.visualize --format png      # outputs frontier.png (requires graphviz)
$ mix frontier.visualize --output ./docs   # custom output directory

Options

  • --format - Output format: dot (default) or png
  • --output - Output directory (default: current directory)