pub fn save_mermaid(
roots: &[HydroRoot],
filename: Option<&str>,
config: Option<HydroWriteConfig>,
) -> Result<PathBuf>
Expand description
Saves Hydro IR roots as a Mermaid diagram file. If no filename is provided, saves to temporary directory.