Enum dotavious::attributes::LabelLocation [−][src]
Vertical placement of labels for nodes, root graphs and clusters.
For graphs and clusters, only labelloc=t and labelloc=b are allowed, corresponding to placement at the top and bottom, respectively.
By default, root graph labels go on the bottom and cluster labels go on the top.
Note that a subgraph inherits attributes from its parent. Thus, if the root graph sets labelloc=b, the subgraph inherits this value.
For nodes, this attribute is used only when the height of the node is larger than the height of its label.
If labelloc=t, labelloc=c, labelloc=b, the label is aligned with the top, centered, or aligned with the bottom of the node, respectively.
By default, the label is vertically centered.
Variants
Trait Implementations
impl<'a> DotString<'a> for LabelLocation
[src]
fn dot_string(&self) -> Cow<'a, str>
[src]
impl<'a> From<LabelLocation> for AttributeText<'a>
[src]
fn from(label_location: LabelLocation) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for LabelLocation
impl Send for LabelLocation
impl Sync for LabelLocation
impl Unpin for LabelLocation
impl UnwindSafe for LabelLocation
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,