pub enum GraphLayoutAlgorithm {
ForceDirected,
Circular,
Hierarchical,
Grid,
Organic,
}Expand description
Graph layout algorithms
Variants§
ForceDirected
Spring-mass model layout.
Circular
Arrange nodes in a circle.
Hierarchical
Layered arrangement for directed acyclic graphs.
Grid
Arrange nodes in a regular grid.
Organic
Natural-looking organic arrangement.
Trait Implementations§
Source§impl Clone for GraphLayoutAlgorithm
impl Clone for GraphLayoutAlgorithm
Source§fn clone(&self) -> GraphLayoutAlgorithm
fn clone(&self) -> GraphLayoutAlgorithm
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 moreimpl Copy for GraphLayoutAlgorithm
Source§impl Debug for GraphLayoutAlgorithm
impl Debug for GraphLayoutAlgorithm
impl Eq for GraphLayoutAlgorithm
Source§impl PartialEq for GraphLayoutAlgorithm
impl PartialEq for GraphLayoutAlgorithm
Source§fn eq(&self, other: &GraphLayoutAlgorithm) -> bool
fn eq(&self, other: &GraphLayoutAlgorithm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GraphLayoutAlgorithm
Auto Trait Implementations§
impl Freeze for GraphLayoutAlgorithm
impl RefUnwindSafe for GraphLayoutAlgorithm
impl Send for GraphLayoutAlgorithm
impl Sync for GraphLayoutAlgorithm
impl Unpin for GraphLayoutAlgorithm
impl UnsafeUnpin for GraphLayoutAlgorithm
impl UnwindSafe for GraphLayoutAlgorithm
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