pub struct SugiyamaLayout {
pub coords: Matrix,
pub routing: Vec<Matrix>,
}Expand description
Result of Graph::layout_sugiyama.
Fields§
§coords: MatrixThe vertex coordinates, n × 2; the y coordinate of a vertex is
its layer index times vgap.
routing: Vec<Matrix>One matrix per edge with the extra control points (one per row) the edge must pass through, from its source to its target; edges spanning adjacent layers have a 0 × 2 matrix.
Trait Implementations§
Source§impl Clone for SugiyamaLayout
impl Clone for SugiyamaLayout
Source§fn clone(&self) -> SugiyamaLayout
fn clone(&self) -> SugiyamaLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SugiyamaLayout
impl Debug for SugiyamaLayout
Source§impl PartialEq for SugiyamaLayout
impl PartialEq for SugiyamaLayout
Source§fn eq(&self, other: &SugiyamaLayout) -> bool
fn eq(&self, other: &SugiyamaLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SugiyamaLayout
Auto Trait Implementations§
impl Freeze for SugiyamaLayout
impl RefUnwindSafe for SugiyamaLayout
impl Send for SugiyamaLayout
impl Sync for SugiyamaLayout
impl Unpin for SugiyamaLayout
impl UnsafeUnpin for SugiyamaLayout
impl UnwindSafe for SugiyamaLayout
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