-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
Parent Epic
Part of #71 (Network Interface Visualization and Connectivity)
Summary
Research and design a port layout algorithm that handles high-density devices (48+ ports) within the constrained device width.
Problem Statement
- 1U device interior width: ~186px (19" rack)
- 48 ports × 8px spacing = 384px needed
- Won't fit in single row!
Research Areas
- Multi-row port layout (e.g., 2 rows of 24)
- Stacked ports (offset front/back rows)
- Dynamic spacing based on port count
- Threshold-based grouping (group when > N ports)
- Port size scaling at different densities
Acceptance Criteria
- Document algorithm with diagrams
- Define thresholds: when to use single-row vs multi-row vs grouped
- Ensure minimum touch target size (44px) is achievable on mobile
- Consider zoom-level behavior
Technical Constraints
- Must work for 10" rack (narrower) and 19" rack
- Must work for 0.5U to 4U+ devices
- Must maintain port identification (hover/click accuracy)
References
- Spike research: spike: Network interface visualization research #237, PR docs: network interface visualization spike research (#237) #242
- Prototype:
docs/research/prototype-port-indicators.svelte