pub fn write_hydro_ir_mermaid( output: impl Write, leaves: &[HydroLeaf], config: &HydroWriteConfig, ) -> Result