Files
xyflow/examples/react
Moritz Klack 6b18c9daeb refactor defaultNodes/defaultEdges handling (#3882)
* refactor(react): cleanup defaultnodes/defaultedges handling

* chore(examples): cleanup

* chore(examples): cleanup

* fix(react): selection for uncontrolled flows
2024-02-07 17:09:39 +01: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.