pub struct GraphDebugger { /* private fields */ }Expand description
Graph debugger for analyzing and visualizing graphs
Implementations§
Source§impl GraphDebugger
impl GraphDebugger
Sourcepub fn with_shapes(self, shapes: HashMap<NodeIndex, ShapeInfo>) -> Self
pub fn with_shapes(self, shapes: HashMap<NodeIndex, ShapeInfo>) -> Self
Set shape information
Sourcepub fn with_types(self, types: HashMap<NodeIndex, DType>) -> Self
pub fn with_types(self, types: HashMap<NodeIndex, DType>) -> Self
Set type information
Sourcepub fn get_debug_info(&self) -> Vec<NodeDebugInfo>
pub fn get_debug_info(&self) -> Vec<NodeDebugInfo>
Get debug information for all nodes
Sourcepub fn visualize_text(&self, options: &VisualizationOptions) -> String
pub fn visualize_text(&self, options: &VisualizationOptions) -> String
Generate a text-based visualization of the graph
Sourcepub fn visualize_json(&self, options: &VisualizationOptions) -> String
pub fn visualize_json(&self, options: &VisualizationOptions) -> String
Generate JSON format visualization for programmatic consumption
Sourcepub fn visualize_mermaid(&self, options: &VisualizationOptions) -> String
pub fn visualize_mermaid(&self, options: &VisualizationOptions) -> String
Generate Mermaid diagram format for modern web visualization
Sourcepub fn visualize_dot(&self, options: &VisualizationOptions) -> String
pub fn visualize_dot(&self, options: &VisualizationOptions) -> String
Generate a DOT format visualization
Sourcepub fn visualize_html(&self, options: &VisualizationOptions) -> String
pub fn visualize_html(&self, options: &VisualizationOptions) -> String
Generate an HTML table visualization
Sourcepub fn get_statistics(&self) -> GraphStatistics
pub fn get_statistics(&self) -> GraphStatistics
Get graph statistics
Auto Trait Implementations§
impl Freeze for GraphDebugger
impl RefUnwindSafe for GraphDebugger
impl Send for GraphDebugger
impl Sync for GraphDebugger
impl Unpin for GraphDebugger
impl UnsafeUnpin for GraphDebugger
impl UnwindSafe for GraphDebugger
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more