pub struct UnifiedEdgeStyle {
pub line_pattern: LinePattern,
pub line_width: u8,
pub arrowhead: ArrowheadStyle,
pub line_style: LineStyle,
pub halo: HaloStyle,
pub waviness: WavinessStyle,
pub animation: AnimationStyle,
pub color: &'static str,
}Available on crate feature
viz only.Expand description
Unified edge style representation for all graph formats. This intermediate format allows consistent styling across JSON, DOT, and Mermaid.
Fields§
§line_pattern: LinePatternLine pattern (solid, dashed)
line_width: u8Line width (1 = thin, 3 = thick)
arrowhead: ArrowheadStyleArrowhead style
line_style: LineStyleLine style (single plain line, or line with hash marks/dots for keyed streams)
halo: HaloStyleHalo/background effect for boundedness
waviness: WavinessStyleLine waviness for ordering information
animation: AnimationStyleWhether animation is enabled (JSON only)
color: &'static strColor for the edge
Trait Implementations§
Source§impl Clone for UnifiedEdgeStyle
impl Clone for UnifiedEdgeStyle
Source§fn clone(&self) -> UnifiedEdgeStyle
fn clone(&self) -> UnifiedEdgeStyle
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 UnifiedEdgeStyle
impl Debug for UnifiedEdgeStyle
Source§impl Default for UnifiedEdgeStyle
impl Default for UnifiedEdgeStyle
Source§impl PartialEq for UnifiedEdgeStyle
impl PartialEq for UnifiedEdgeStyle
impl Eq for UnifiedEdgeStyle
impl StructuralPartialEq for UnifiedEdgeStyle
Auto Trait Implementations§
impl Freeze for UnifiedEdgeStyle
impl RefUnwindSafe for UnifiedEdgeStyle
impl Send for UnifiedEdgeStyle
impl Sync for UnifiedEdgeStyle
impl Unpin for UnifiedEdgeStyle
impl UnwindSafe for UnifiedEdgeStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§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§impl<T> ToSinkBuild for T
impl<T> ToSinkBuild for T
§fn iter_to_sink_build(self) -> SendIterBuild<Self>
fn iter_to_sink_build(self) -> SendIterBuild<Self>
§fn stream_to_sink_build(self) -> SendStreamBuild<Self>where
Self: Sized + Stream,
fn stream_to_sink_build(self) -> SendStreamBuild<Self>where
Self: Sized + Stream,
Starts a [
SinkBuild] adaptor chain to send all items from self as a [Stream].