Struct petgraph::dot::Dot
[−]
[src]
pub struct Dot<'a, G: 'a> { // some fields omitted }
Dot
implements output to graphviz .dot format for a graph.
Formatting and options are rather simple, this is mostly intended for debugging. Exact output may change.
Methods
impl<'a, G> Dot<'a, G>
[src]
fn new(graph: &'a G) -> Self
Create a Dot
formatting wrapper with default configuration.
fn with_config(graph: &'a G, config: &'a [Config]) -> Self
Create a Dot
formatting wrapper with custom configuration.