pub struct GraphLayoutConfig {
pub node_width: f64,
pub node_height: f64,
pub node_spacing: f64,
pub layer_distance: f64,
pub circle_radius: f64,
pub iterations: usize,
pub spring_strength: f64,
pub repulsion_strength: f64,
pub damping: f64,
pub max_velocity: f64,
pub ideal_edge_length: f64,
}Expand description
Graph layout configuration
Fields§
§node_width: f64§node_height: f64§node_spacing: f64§layer_distance: f64§circle_radius: f64§iterations: usize§spring_strength: f64§repulsion_strength: f64§damping: f64§max_velocity: f64§ideal_edge_length: f64Trait Implementations§
Source§impl Clone for GraphLayoutConfig
impl Clone for GraphLayoutConfig
Source§fn clone(&self) -> GraphLayoutConfig
fn clone(&self) -> GraphLayoutConfig
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 GraphLayoutConfig
impl Debug for GraphLayoutConfig
Auto Trait Implementations§
impl Freeze for GraphLayoutConfig
impl RefUnwindSafe for GraphLayoutConfig
impl Send for GraphLayoutConfig
impl Sync for GraphLayoutConfig
impl Unpin for GraphLayoutConfig
impl UnwindSafe for GraphLayoutConfig
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