Available on crate feature
viz
only.Expand description
Debugging utilities for Hydro IR graph visualization.
Similar to the DFIR debugging utilities, this module provides convenient methods for opening graphs in web browsers and VS Code.
Functionsยง
- open_
dot - Opens Hydro IR roots as a single DOT diagram.
- open_
mermaid - Opens Hydro IR roots as a single mermaid diagram.
- open_
reactflow_ browser - Opens Hydro IR roots as a ReactFlow.js visualization in a browser. Creates a complete HTML file with ReactFlow.js interactive graph visualization.
- save_
and_ open_ reactflow_ browser - Helper function to create a complete HTML file with ReactFlow.js visualization and open it in browser. Creates files in temporary directory to avoid cluttering the workspace.
- save_
dot - Saves Hydro IR roots as a DOT/Graphviz file. If no filename is provided, saves to temporary directory.
- save_
mermaid - Saves Hydro IR roots as a Mermaid diagram file. If no filename is provided, saves to temporary directory.
- save_
reactflow_ json - Saves Hydro IR roots as a ReactFlow.js JSON file. If no filename is provided, saves to temporary directory.