pub struct GraphTrace {
pub nodes: Vec<NodeInfo>,
pub connections: Vec<ConnectionInfo>,
}Expand description
A trace of a graph, containing information about nodes and connections.
Fields§
§nodes: Vec<NodeInfo>Information about each node in the graph.
connections: Vec<ConnectionInfo>Information about each connection in the graph.
Implementations§
Source§impl GraphTrace
impl GraphTrace
Sourcepub fn create_mermaid_graph(&self) -> String
pub fn create_mermaid_graph(&self) -> String
Creates a mermaid graph representing the graph.
Trait Implementations§
Source§impl Clone for GraphTrace
impl Clone for GraphTrace
Source§fn clone(&self) -> GraphTrace
fn clone(&self) -> GraphTrace
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GraphTrace
impl RefUnwindSafe for GraphTrace
impl Send for GraphTrace
impl Sync for GraphTrace
impl Unpin for GraphTrace
impl UnwindSafe for GraphTrace
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