vil_viz 0.2.0

VIL workflow visualization engine — graph rendering in 6 formats
Documentation
1
2
3
4
5
6
7
//! JSON output — structured graph data for egui IDE and custom tooling.

use crate::graph::VizGraph;

pub fn render(graph: &VizGraph) -> Result<String, String> {
    serde_json::to_string_pretty(graph).map_err(|e| format!("JSON serialization failed: {}", e))
}