Files
xyflow/examples/svelte
Moritz KlackandGitHub 75acd24cee Rename updateEdge to reconnectEdge (#4373)
* refactor(edges): rename update to reconnect

* refactor(react): rename edge update to reconnect

* chore(examples): repair broken reconnect example

* chore(react): changelog
2024-06-19 16:57:30 +02:00
..
2024-06-05 12:57:19 +02:00
2024-03-05 13:26:05 +01:00

Svelte Flow examples

This Vite app is used internally to test the library.

Start local dev server

pnpm dev

Adding new example

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

  1. Create a new folder & flow at src/routes/examples/
  2. Register the new route in src/components/Header/Header.svelte

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:5173/tests/generic/$foldername/$filename. For further documentation visit xyflow/tests/playwright.