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.

Trait Implementations

impl<'a, N, E, Ty, Ix> Display for Dot<'a, Graph<N, E, Ty, Ix>> where N: Display, E: Display, Ty: EdgeType, Ix: IndexType
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<'a, N, E, Ty, Ix> Debug for Dot<'a, Graph<N, E, Ty, Ix>> where N: Debug, E: Debug, Ty: EdgeType, Ix: IndexType
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<'a, N, E> Display for Dot<'a, GraphMap<N, E>> where N: Display + NodeTrait, E: Display
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<'a, N, E> Debug for Dot<'a, GraphMap<N, E>> where N: Debug + NodeTrait, E: Debug
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.