Repository navigation
Emit draw.io tooltips with tri-state status - #47
Merged
Merged
Conversation
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The exporter computed tooltip text but discarded it, and null reachability was labeled Unreachable while retaining role colors that contradicted the README's gray unknown state.
Nodes now use draw.io's supported
UserObjectmetadata structure with stable IDs, labels, tooltips, and individual device properties around the vertex cell. Reachable, Unreachable, and Unknown statuses consistently control tooltip text and green, red, or gray styling. Edge source and target references continue to point at the node object IDs.The regression test parses emitted XML, verifies all three states, covers untested routers and switches, checks tooltip contents and gray styling, and proves edge references resolve to UserObject IDs. The older unique-ID test now includes all ID-bearing XML elements.
Format reference: https://www.drawio.com/docs/reference/diagram-generation/style-reference/
Validation:
git diff --checkpassed. PowerShell and draw.io Desktop are unavailable on the local host; GitHub Actions will provide three-OS Pester and analyzer coverage. Interactive hover verification in draw.io remains required before merge and is not claimed here.Closes #10