Skip to main content

render_graph_set

Function render_graph_set 

Source
pub fn render_graph_set(
    graphs: &GraphSet,
    output_prefix: &Path,
) -> Result<Vec<PathBuf>, SvgRenderError>
Expand description

Renders each present graph as <output_prefix>.ast.svg and <output_prefix>.syntax_graph.svg. Absent layers are skipped.

ยงErrors

Returns SvgRenderError when Graphviz is missing or fails, or when an SVG cannot be written.