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 · 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 GraphLayoutAlgorithm
impl Debug for GraphLayoutAlgorithm
Source§impl PartialEq for GraphLayoutAlgorithm
impl PartialEq for GraphLayoutAlgorithm
impl Copy for GraphLayoutAlgorithm
impl Eq for GraphLayoutAlgorithm
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