2a7528f8d8
Previously the only VLAN visual was a small 14px swatch inside the detail table -- easy to miss, not what the user meant by 'legend'. Added a dedicated colored block per VLAN (VLAN <id> on a color fill, name in a matching-outline box next to it), stacked left of the existing detail table, same layout idea as the reference diagram this was modeled on. Also fixed a real bug this surfaced: vlan_color() picked a palette color by hash(vid), which let two different VLANs collide on the same color (209 and 217 both landed on green). Colors are now assigned by position among the VLANs actually present, which can't collide as long as there are <= 8 of them (the palette size) -- true here with room to grow. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NM3nivbufxEWiKKmatEtEe
1.9 MiB
3952x9500px
1.9 MiB
3952x9500px