get_unified_edge_style

Function get_unified_edge_style 

Source
pub fn get_unified_edge_style(
    edge_properties: &HashSet<HydroEdgeProp>,
    src_location: Option<usize>,
    dst_location: Option<usize>,
) -> UnifiedEdgeStyle
Available on crate feature viz only.
Expand description

Convert HydroEdgeType properties to unified edge style. This is the core logic for determining edge visual properties.

ยงVisual Encoding Mapping

Semantic PropertyVisual ChannelValues
NetworkLine Pattern + AnimationLocal (solid, static), Network (dashed, animated)
OrderingWavinessTotalOrder (straight), NoOrder (wavy)
BoundednessHaloBounded (none), Unbounded (light-blue transparent)
KeyednessLine StyleNotKeyed (plain line), Keyed (line with hash marks/dots)
Collection TypeColor + ArrowheadStream (blue #2563eb, triangle), Singleton (black, circle), Optional (gray, diamond)