Skip to content

spike: port layout algorithm for high-density devices #248

@ggfevans

Description

@ggfevans

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions