save_reactflow_json

Function save_reactflow_json 

Source
pub fn save_reactflow_json(
    leaves: &[HydroLeaf],
    filename: Option<&str>,
    config: Option<HydroWriteConfig>,
) -> Result<PathBuf>
Expand description

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