Re-exports§
pub use super::graphviz::HydroDot;
pub use super::graphviz::escape_dot;
pub use super::mermaid::HydroMermaid;
pub use super::mermaid::escape_mermaid;
pub use super::reactflow::HydroReactFlow;
Structs§
- Hydro
Graph Structure - Graph structure tracker for Hydro IR rendering.
- Hydro
Write Config - Configuration for graph writing.
- Indented
Graph Writer - Base struct for text-based graph writers that use indentation. Contains common fields shared by DOT and Mermaid writers.
Enums§
- Hydro
Edge Type - Types of edges in Hydro IR.
- Hydro
Node Type - Types of nodes in Hydro IR for styling purposes.
- Node
Label - Label for a graph node - can be either a static string or contain expressions.
Traits§
- Hydro
Graph Write - Trait for writing textual representations of Hydro IR graphs, i.e. mermaid or dot graphs.
Functions§
- extract_
op_ name - Function to extract an op_name from a print_root() result for use in labels.
- extract_
short_ label - Extract a short, readable label from the full token stream label using print_root() style naming
- render_
hydro_ ir_ dot - render_
hydro_ ir_ mermaid - render_
hydro_ ir_ reactflow - write_
hydro_ ir_ dot - write_
hydro_ ir_ mermaid - write_
hydro_ ir_ reactflow
Type Aliases§
- Graph
Write Error - Common error type used by all graph writers.