Skip to main content

Crate vil_viz

Crate vil_viz 

Source
Expand description

VIL Workflow Visualization Engine

Pure rendering library: takes a VizGraph and outputs 6 formats. Does NOT depend on WorkflowManifest — conversion happens in the caller.

Formats:

  • Mermaid: GitHub/Notion-compatible diagrams
  • JSON: structured data for egui IDE
  • DOT: Graphviz for large graphs
  • ASCII: terminal-friendly box drawing
  • SVG: vector graphics via dot -Tsvg
  • HTML: self-contained interactive viewer

Re-exports§

pub use config::*;
pub use graph::*;

Modules§

ascii
ASCII art output — terminal-friendly for SSH/CI environments.
config
Visualization configuration.
dot
Graphviz DOT output — for large graphs and pipeline visualization.
graph
Core graph data model for VIL workflow visualization.
html
Self-contained HTML output with embedded Mermaid.js for interactive viewing.
json
JSON output — structured graph data for egui IDE and custom tooling.
mermaid
Mermaid diagram output — renders in GitHub, Notion, and Mermaid Live Editor.
svg
SVG output — shells out to dot -Tsvg from DOT output.

Functions§

render
Render a VizGraph to the specified output format.