pub struct LayeredParams {
pub direction: Direction,
pub lanes: usize,
pub margin: f64,
pub arrow: f64,
pub loop_size: f64,
pub lane_gap: f64,
pub lane_head: f64,
}Expand description
Spacing and options; the defaults are anofox-visualization’s diagram.
Fields§
§direction: Direction§lanes: usizeNumber of swimlanes (nodes carry the index).
margin: f64§arrow: f64Arrowhead length (an edge label’s gap leaves room for two).
loop_size: f64A self-loop’s reach beyond its box.
lane_gap: f64Extra space between swimlanes, and a lane’s label strip.
lane_head: f64Trait Implementations§
Source§impl Clone for LayeredParams
impl Clone for LayeredParams
Source§impl Debug for LayeredParams
impl Debug for LayeredParams
Auto Trait Implementations§
impl Forget for LayeredParams
impl Freeze for LayeredParams
impl Move for LayeredParams
impl RefUnwindSafe for LayeredParams
impl Send for LayeredParams
impl Sync for LayeredParams
impl Unpin for LayeredParams
impl UnsafeUnpin for LayeredParams
impl UnwindSafe for LayeredParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more