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

pub enum OutputMode {
    BreadthFirst,
    NodesFirst,
    EdgesFirst,
}
Expand description

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

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.