pub enum AutoLayoutStrategy {
Smart,
HierarchyFirst,
ForceDirectedFirst,
SimpleFirst,
}Expand description
Strategies for automatic layout selection
Variants§
Smart
Automatically detect best layout based on graph structure
HierarchyFirst
Prefer hierarchical layouts when possible, fallback to force-directed
ForceDirectedFirst
Always use force-directed as primary with fallbacks
SimpleFirst
Use simple layouts (grid/circular) for small graphs
Trait Implementations§
Source§impl Clone for AutoLayoutStrategy
impl Clone for AutoLayoutStrategy
Source§fn clone(&self) -> AutoLayoutStrategy
fn clone(&self) -> AutoLayoutStrategy
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 AutoLayoutStrategy
impl Debug for AutoLayoutStrategy
Source§impl PartialEq for AutoLayoutStrategy
impl PartialEq for AutoLayoutStrategy
impl Copy for AutoLayoutStrategy
impl StructuralPartialEq for AutoLayoutStrategy
Auto Trait Implementations§
impl Freeze for AutoLayoutStrategy
impl RefUnwindSafe for AutoLayoutStrategy
impl Send for AutoLayoutStrategy
impl Sync for AutoLayoutStrategy
impl Unpin for AutoLayoutStrategy
impl UnwindSafe for AutoLayoutStrategy
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