pub fn get_unified_edge_style(
edge_properties: &HashSet<HydroEdgeProp>,
src_location: Option<usize>,
dst_location: Option<usize>,
) -> UnifiedEdgeStyleAvailable 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 Property | Visual Channel | Values |
|---|---|---|
| Network | Line Pattern + Animation | Local (solid, static), Network (dashed, animated) |
| Ordering | Waviness | TotalOrder (straight), NoOrder (wavy) |
| Boundedness | Halo | Bounded (none), Unbounded (light-blue transparent) |
| Keyedness | Line Style | NotKeyed (plain line), Keyed (line with hash marks/dots) |
| Collection Type | Color + Arrowhead | Stream (blue #2563eb, triangle), Singleton (black, circle), Optional (gray, diamond) |