Skip to content

docs: correct arrow binding inputs in read_me - #115

Open
maxmeis wants to merge 1 commit into
excalidraw:mainfrom
maxmeis:docs/fix-skeleton-arrow-bindings
Open

maxmeis wants to merge 1 commit into
excalidraw:mainfrom
maxmeis:docs/fix-skeleton-arrow-bindings

Conversation

@maxmeis

@maxmeis maxmeis commented Nov 22, 2026

Copy link
Copy Markdown

read_me documents startBinding/endBinding with elementId/fixedPoint, but create_view passes inputs through convertToExcalidrawElements. In the pinned Excalidraw 0.18.0, that documented example produces null arrow bindings.

Use skeleton start: { id } / end: { id } in the binding instructions and two-box example. Keep explicit arrow geometry, explain that referenced shapes must be in the same input array, and place those shapes before their connecting arrow during streaming. This lets the existing converter create the reciprocal bindings.

Validation:

  • pnpm run build passed (TypeScript, Vite, declarations, and Bun bundles; pnpm 10.11.0 with the frozen lockfile).
  • Headless Chromium smoke check ran the documented example through the app's actual convertRawElements helper and installed Excalidraw 0.18.0. Both endpoint bindings and reciprocal shape references were present; moving each box through Excalidraw's updateBoundElements moved its arrow endpoint with it. The original example reproduced null bindings. This checks conversion and binding updates, not a full MCP-host UI drag interaction.
  • git diff --check and independent source review passed.

Downstream report and maintainer request: chocoford/ExcalidrawZ#176. Related upstream discussion: #33.

@vercel

vercel Bot commented Nov 22, 2026

Copy link
Copy Markdown

@maxmeis is attempting to deploy a commit to the Excalidraw 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

1 participant