Skip to content

Add Polygon Node and Polygon Drawing Tool with Label Support#1105

Merged
jesusmpc merged 4 commits into
mainfrom
feature/GH-1104-add-polygon-node-and-polygon
Jun 16, 2026
Merged

Add Polygon Node and Polygon Drawing Tool with Label Support#1105
jesusmpc merged 4 commits into
mainfrom
feature/GH-1104-add-polygon-node-and-polygon

Conversation

@jesusmpc

Copy link
Copy Markdown
Contributor

Closes #1104

@jesusmpc jesusmpc self-assigned this Jun 16, 2026
@jesusmpc jesusmpc added the skip-release Skips the release creation label Jun 16, 2026
@jesusmpc jesusmpc marked this pull request as ready for review June 16, 2026 10:30
jesusmpc and others added 2 commits June 16, 2026 13:14
…lity gate

Adds 8 new test suites to polygon.test.ts to raise line coverage of
polygon.ts from ~67% to the required ≥80% threshold on new_coverage:

- Suite 10: polygonSelfRect helper via bgShape.getSelfRect()
- Suite 11: scaleReset with non-unit scaleX/scaleY
- Suite 12: scalePolygonByDimensions triggered via onUpdate with width/height
- Suite 13: addNodeState with all optional label and style properties
- Suite 14: updateNodeState with all optional label and style properties
- Suite 15: onUpdate full bg/border setAttrs path
- Suite 16: allowedAnchors() returns all 8 expected anchor names
- Suite 17: transform/transformstart/transformend events, dblClick, getNodeMinSize

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sonarqubecloud

Copy link
Copy Markdown

@jesusmpc jesusmpc merged commit 41f2369 into main Jun 16, 2026
16 checks passed
@jesusmpc jesusmpc deleted the feature/GH-1104-add-polygon-node-and-polygon branch June 16, 2026 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-release Skips the release creation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Polygon Node and Polygon Drawing Tool with Label Support

1 participant