xyflow / web

📖 This monorepo contains the xyflow website and the documentation sites for React Flow and Svelte Flow.
https://xyflow.com
MIT License
54 stars 55 forks source link

Document new connection callback API and `useConnection` hook. #472

Closed hayleigh-dot-dev closed 2 months ago

hayleigh-dot-dev commented 3 months ago

We tweaked the types of useConnection, onConnectEnd, and onReconnectEnd slightly. This PR updates the docs to reflect the new API. It also documents the InternalNode type as that was being referenced without being documented.

Closes #471.

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
reactflow-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 19, 2024 10:23pm
svelteflow-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 19, 2024 10:23pm
xyflow-svelte-examples ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 19, 2024 10:23pm
xyflow-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 19, 2024 10:23pm
moklick commented 2 months ago

Good idea to document InternalNode as well!