pub struct GraphTopologyConfig {Show 17 fields
pub block_width: f32,
pub block_height: f32,
pub horizontal_spacing: f32,
pub vertical_spacing: f32,
pub generator_color: Rgb,
pub effector_color: Rgb,
pub modulator_color: Rgb,
pub io_color: Rgb,
pub audio_connection_color: Rgb,
pub modulation_connection_color: Rgb,
pub text_color: Rgb,
pub audio_connection_weight: f32,
pub modulation_connection_weight: f32,
pub show_arrows: bool,
pub arrow_size: f32,
pub dash_length: f32,
pub dash_gap: f32,
}Expand description
Configuration for the graph topology visualizer.
Fields§
§block_width: f32Width of each block rectangle.
block_height: f32Height of each block rectangle.
horizontal_spacing: f32Horizontal spacing between depth columns.
vertical_spacing: f32Vertical spacing between blocks in same column.
generator_color: RgbColor for generator blocks.
effector_color: RgbColor for effector blocks.
modulator_color: RgbColor for modulator blocks.
io_color: RgbColor for I/O blocks.
audio_connection_color: RgbColor for audio connection lines.
modulation_connection_color: RgbColor for modulation connection lines.
text_color: RgbColor for block label text.
audio_connection_weight: f32Audio connection line weight.
modulation_connection_weight: f32Modulation connection line weight.
show_arrows: boolWhether to show directional arrows on connections.
arrow_size: f32Size of the arrow head.
dash_length: f32Dash length for modulation connections.
dash_gap: f32Gap length between dashes for modulation connections.
Trait Implementations§
Source§impl Clone for GraphTopologyConfig
impl Clone for GraphTopologyConfig
Source§fn clone(&self) -> GraphTopologyConfig
fn clone(&self) -> GraphTopologyConfig
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 moreAuto Trait Implementations§
impl Freeze for GraphTopologyConfig
impl RefUnwindSafe for GraphTopologyConfig
impl Send for GraphTopologyConfig
impl Sync for GraphTopologyConfig
impl Unpin for GraphTopologyConfig
impl UnwindSafe for GraphTopologyConfig
Blanket Implementations§
Source§impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
Source§fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<Swp, Dwp, T>,
Convert the source color to the destination color using the specified
method
Source§fn adapt_into(self) -> D
fn adapt_into(self) -> D
Convert the source color to the destination color using the bradford
method by default
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> ConvertInto<U> for Twhere
U: ConvertFrom<T>,
impl<T, U> ConvertInto<U> for Twhere
U: ConvertFrom<T>,
Source§fn convert_into(self) -> U
fn convert_into(self) -> U
Convert into T with values clamped to the color defined bounds Read more
Source§fn convert_unclamped_into(self) -> U
fn convert_unclamped_into(self) -> U
Convert into T. The resulting color might be invalid in its color space Read more
Source§fn try_convert_into(self) -> Result<U, OutOfBounds<U>>
fn try_convert_into(self) -> Result<U, OutOfBounds<U>>
Convert into T, returning ok if the color is inside of its defined range,
otherwise an
OutOfBounds error is returned which contains the unclamped color. Read moreSource§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more