Files
xyflow/examples/svelte
peterkogo b8affc1c82 Svelte NodeToolbar with E2E (#3643)
* Added NodeToolbar

* Added comments & fixed default behaviour in svelte

* Added e2e-tests for NodeToolbar component & added data-id to react NodeToolbar

* refactor(svelte/NodeToolbar): cleanup

* refactor(node-toolbar): add system utils

---------

Co-authored-by: moklick <info@moritzklack.com>
2023-11-20 18:40:43 +01:00
..
2023-11-20 18:40:43 +01:00
2023-10-25 13:23:37 +02: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.