pub fn open_json_visualizer(
roots: &[HydroRoot],
config: Option<HydroWriteConfig>,
) -> Result<()>Available on crate feature
viz only.Expand description
Opens Hydro IR roots as a JSON visualization in the browser. Automatically handles compression and file-based fallback for large graphs.
This function generates JSON from the Hydro IR and opens it in the configured visualizer (defaults to https://hydro.run/docs/hydroscope, can be overridden with HYDRO_VISUALIZER_URL environment variable).