Struct daggy::petgraph::dot::Dot [] [src]

pub struct Dot<'a, G> where 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>

fn new(graph: &'a G) -> Dot<'a, G>

Create a Dot formatting wrapper with default configuration.

fn with_config(graph: &'a G, config: &'a [Config]) -> Dot<'a, G>

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 E: Display, Ix: IndexType, N: Display, Ty: EdgeType

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

Formats the value using the given formatter.

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

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

Formats the value using the given formatter.

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

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

Formats the value using the given formatter.

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

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

Formats the value using the given formatter.