pub trait ToDOT {
// Required method
fn get_dot_graph(&self) -> String;
}Expand description
Objects implementing this train can be converted visualized as a graph with graphviz
This trait is only available if the dot feature is enabled. It allows to
export an object into the
DOT format,
which can be visualized using tools like Graphviz.
Required Methods§
Sourcefn get_dot_graph(&self) -> String
fn get_dot_graph(&self) -> String
Get the underlying graph in DOT format
Returns the visualization in DOT format. The output can be visualized using tools Graphviz or tools compatible with the DOT Language.