Skip to content

fix(drawio): distinct L2-FDB edge style (#59) - #65

Merged
jacobyoby merged 1 commit into
mainfrom
cursor/drawio-l2-fdb-style-0de2
Sep 9, 2026
Merged

jacobyoby merged 1 commit into
mainfrom
cursor/drawio-l2-fdb-style-0de2

Conversation

@jacobyoby

Copy link
Copy Markdown
Owner

Closes #59.

Get-SnmpBridgeNeighbors (#56) emits L2-FDB edges, and Merge-Edges ranks them between verified SNMP and heuristic hints. Export-DrawIO only special-cased L2-SNMP, L2-SNMP-Heuristic, and L3-Inferred, so FDB links rendered as the gray dotted “unknown” default.

Changes

  • Dedicated L2-FDB style branch: solid teal #0B7285, strokeWidth=2, dashed=0 (between SNMP green and amber dashes; not the unknown dotted path).
  • Pester coverage for L2-FDB stroke markers and that the other four styles stay distinct.
  • README confidence legend now mentions L2-FDB.

Visual rank

Confidence Stroke
L2-SNMP solid green #2D7600, width 2.5
L2-FDB solid teal #0B7285, width 2
L2-SNMP-Heuristic amber dashed #B26A00
L3-Inferred gray dashed #808080
unknown gray dotted #999999

Does not merge. Scoped to DrawIO styling + docs/tests for #59.

Open in Web Open in Cursor 

Bridge FDB edges from Get-SnmpBridgeNeighbors were falling through
Export-DrawIO's gray dotted default. Give them a dedicated solid teal
stroke between verified L2-SNMP and dashed heuristic/L3 styles.

Co-authored-by: Jacobrakai <jacobyoby@users.noreply.github.com>
@jacobyoby
jacobyoby marked this pull request as ready for review September 9, 2026 19:12
@jacobyoby
jacobyoby merged commit 2f826af into main Sep 9, 2026
7 checks passed
@jacobyoby
jacobyoby deleted the cursor/drawio-l2-fdb-style-0de2 branch September 9, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Export-DrawIO: style L2-FDB edges distinctly (not unknown default)

2 participants