Enum dotavious::attributes::PackMode[][src]

pub enum PackMode {
    Node,
    Cluster,
    Graph,
}

The modes “node”, “clust” or “graph” specify that the components should be packed together tightly, using the specified granularity.

Variants

Node

causes packing at the node and edge level, with no overlapping of these objects. This produces a layout with the least area, but it also allows interleaving, where a node of one component may lie between two nodes in another component.

Cluster

guarantees that top-level clusters are kept intact. What effect a value has also depends on the layout algorithm.

Graph

does a packing using the bounding box of the component. Thus, there will be a rectangular region around a component free of elements of any other component.

Trait Implementations

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

impl<'a> From<PackMode> 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.