Files
xyflow/examples/react
Peter Kogo 6cf0113005 Use correct end handle position when drawing a connection (#4382)
* use correct end handle position \when drawing connection lines

* provide correct connection end handle, also when connection is invalid

* add end handle position to connection despite being invalid

* chore(connectionline): remove logs

---------

Co-authored-by: moklick <info@moritzklack.com>
2024-06-19 17:15:07 +02:00
..
2024-04-17 12:33:07 +02:00

React Flow examples

This Vite app is used internally to develop and test the library.

Start local dev server

pnpm dev

Adding new example

Development of the library is done against src/examples. Feel free to add new implementations for features that you develop.

  1. Create a new folder & flow at src/examples/
  2. Register the new route in src/App/routes.ts

Adding new E2E implementation

E2E testing is done against the flows implemented in src/generic-tests. Adding a new configuration file automatically adds a new route under http://localhost:3000/tests/generic/$foldername/$filename. For further documentation visit xyflow/tests/playwright.