Enum dotavious::attributes::OutputMode[][src]

pub enum OutputMode {
    BreadthFirst,
    NodesFirst,
    EdgesFirst,
}

These specify the order in which nodes and edges are drawn in concrete output.

The default “breadthfirst” is the simplest, but when the graph layout does not avoid edge-node overlap, this mode will sometimes have edges drawn over nodes and sometimes on top of nodes.

If the mode “nodesfirst” is chosen, all nodes are drawn first, followed by the edges. This guarantees an edge-node overlap will not be mistaken for an edge ending at a node.

On the other hand, usually for aesthetic reasons, it may be desirable that all edges appear beneath nodes, even if the resulting drawing is ambiguous. This can be achieved by choosing “edgesfirst”.

Variants

BreadthFirst
NodesFirst
EdgesFirst

Trait Implementations

impl<'a> DotString<'a> for OutputMode[src]

impl<'a> From<OutputMode> for AttributeText<'a>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.