pub struct AutoLayoutConfig {
pub strategy: AutoLayoutStrategy,
pub small_graph_threshold: usize,
pub enable_transitions: bool,
pub transition_duration: f64,
pub force_relayout_on_change: bool,
}Expand description
Configuration for automatic layout management
This configuration controls how the AutoLayoutManager selects and applies layout algorithms based on graph characteristics.
Fields§
§strategy: AutoLayoutStrategyStrategy for automatic algorithm selection
small_graph_threshold: usizeMaximum number of nodes to consider a graph “small” for simple layouts
enable_transitions: boolWhether to enable smooth transitions between layout changes
transition_duration: f64Duration of layout transitions in seconds
force_relayout_on_change: boolWhether to force relayout when graph structure changes
Implementations§
Source§impl AutoLayoutConfig
impl AutoLayoutConfig
Sourcepub fn builder() -> AutoLayoutConfigBuilder
pub fn builder() -> AutoLayoutConfigBuilder
Create a new configuration builder
Trait Implementations§
Source§impl Clone for AutoLayoutConfig
impl Clone for AutoLayoutConfig
Source§fn clone(&self) -> AutoLayoutConfig
fn clone(&self) -> AutoLayoutConfig
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 AutoLayoutConfig
impl Debug for AutoLayoutConfig
Auto Trait Implementations§
impl Freeze for AutoLayoutConfig
impl RefUnwindSafe for AutoLayoutConfig
impl Send for AutoLayoutConfig
impl Sync for AutoLayoutConfig
impl Unpin for AutoLayoutConfig
impl UnwindSafe for AutoLayoutConfig
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