save_reactflow_json

Function save_reactflow_json 

Source
pub fn save_reactflow_json(
    roots: &[HydroRoot],
    filename: Option<&str>,
    config: Option<HydroWriteConfig>,
) -> Result<PathBuf>
Available on crate feature viz only.
Expand description

Saves Hydro IR roots as a ReactFlow.js JSON file. If no filename is provided, saves to temporary directory.