pub struct GraphVisualizer;Expand description
Computation graph visualizer for debugging and analysis
Implementations§
Source§impl GraphVisualizer
impl GraphVisualizer
Sourcepub fn to_dot<T>(node: &ComputationNode<T>) -> Stringwhere
T: Shareable,
pub fn to_dot<T>(node: &ComputationNode<T>) -> Stringwhere
T: Shareable,
Generates a DOT graph representation for visualization
Sourcepub fn print_tree<T>(node: &ComputationNode<T>, indent: usize)where
T: Shareable,
pub fn print_tree<T>(node: &ComputationNode<T>, indent: usize)where
T: Shareable,
Prints a text-based representation of the computation graph
Auto Trait Implementations§
impl Freeze for GraphVisualizer
impl RefUnwindSafe for GraphVisualizer
impl Send for GraphVisualizer
impl Sync for GraphVisualizer
impl Unpin for GraphVisualizer
impl UnsafeUnpin for GraphVisualizer
impl UnwindSafe for GraphVisualizer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more