Skip to content

Connected arrows - #43

Open
lifeofguenter wants to merge 1 commit into
quickdrawjs:mainfrom
lifeofguenter:feature/connected-arrows
Open

lifeofguenter wants to merge 1 commit into
quickdrawjs:mainfrom
lifeofguenter:feature/connected-arrows

Conversation

@lifeofguenter

@lifeofguenter lifeofguenter commented Nov 25, 2026 •

Copy link
Copy Markdown

What & why

Arrows and lines can connect to shapes, notes, text and images, and follow them when they move, resize, rotate or change shape type. Closes #21.

An end holds a binding (props.start / props.end: { id, ax, ay }) next to its drawn geometry, so anything that only renders records still draws the arrow. A new store.derive(fn) hook re-points connected arrows inside the same transaction as the edit that moved their shapes. That keeps it one undo step and one diff for peers; remote diffs are not re-derived. Holding ⌘/Ctrl draws an unattached arrow.

Checklist

  • Tests added or updated (npm test passes)
  • Type declarations updated if the public API changed (npm run typecheck)
  • RN WebView bundle regenerated if core changed (npm run build)
  • No new runtime dependencies in @quickdrawjs/core

@vercel

vercel Bot commented Nov 25, 2026

Copy link
Copy Markdown

@lifeofguenter is attempting to deploy a commit to the naman's projects Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
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.

Add semantic node-to-node connectors with automatic edge routing

1 participant