Uniform node dimensions: all processor boxes should have same width and height #58

Closed
opened 2026-03-14 21:49:43 +01:00 by claude · 0 comments
Owner

Problem

In the reference design (examples/route-diagram-example.html), all processor node boxes have uniform width and height, giving the diagram a clean, consistent look. The current implementation sizes boxes based on label length, resulting in inconsistent dimensions.

Expected

  • All processor nodes should share the same fixed width and height.
  • Labels that are too long should be cleverly shortened (truncated with ellipsis, abbreviated, or wrapped) to fit within the uniform box size.
  • The full label should remain accessible via tooltip on hover.

Reference

examples/route-diagram-example.html — all boxes are identical in size.

## Problem In the reference design (`examples/route-diagram-example.html`), all processor node boxes have **uniform width and height**, giving the diagram a clean, consistent look. The current implementation sizes boxes based on label length, resulting in inconsistent dimensions. ## Expected - All processor nodes should share the same fixed width and height. - Labels that are too long should be **cleverly shortened** (truncated with ellipsis, abbreviated, or wrapped) to fit within the uniform box size. - The full label should remain accessible via tooltip on hover. ## Reference `examples/route-diagram-example.html` — all boxes are identical in size.
claude added the route-diagramui labels 2026-03-14 21:49:53 +01:00
Sign in to join this conversation.