Skip to content

types(joint-core): add useModelGeometry to bbox/rectangle connection point types#3273

Merged
Geliogabalus merged 2 commits intoclientIO:masterfrom
kumilingus:feat/core-type-fixes
Apr 14, 2026
Merged

types(joint-core): add useModelGeometry to bbox/rectangle connection point types#3273
Geliogabalus merged 2 commits intoclientIO:masterfrom
kumilingus:feat/core-type-fixes

Conversation

@kumilingus
Copy link
Copy Markdown
Contributor

Summary

Add BBoxConnectionPointArguments and RectangleConnectionPointArguments interfaces with useModelGeometry property. Both bbox and rectangle connection points support this option at runtime but the types were missing — users had to cast to use it.

BoundaryConnectionPointArguments does NOT get useModelGeometry as the boundary connection point does not support it.

Changes

  • packages/joint-core/types/joint.d.ts — add new interfaces, update ConnectionPointArgumentsMap

🤖 Generated with Claude Code

@kumilingus kumilingus changed the title fix(joint-core): add useModelGeometry to bbox/rectangle connection point types types(joint-core): add useModelGeometry to bbox/rectangle connection point types Apr 13, 2026
@kumilingus kumilingus requested a review from zbynekstara April 13, 2026 17:42
…int types

Add `BBoxConnectionPointArguments` and `RectangleConnectionPointArguments`
with `useModelGeometry` property. Both bbox and rectangle connection points
support this option at runtime but the types were missing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@kumilingus kumilingus force-pushed the feat/core-type-fixes branch from ed693bf to 7b9574a Compare April 13, 2026 18:02
Link.Attributes now correctly types source/target as optional,
so getTargetOrSource must accept undefined.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@kumilingus kumilingus marked this pull request as ready for review April 14, 2026 10:34
@kumilingus kumilingus requested a review from Geliogabalus April 14, 2026 10:34
@Geliogabalus Geliogabalus merged commit 42916de into clientIO:master Apr 14, 2026
3 checks passed
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.

2 participants