Commit Graph

31 Commits

Author SHA1 Message Date
peterkogo
ee53f8baf7 add reproduction of the bug 2026-02-06 19:41:24 +01:00
moklick
3680a6a0e6 Merge branch 'main' into feat/zindexmode 2025-12-02 17:10:35 +01:00
Moritz Klack
e4e3605d62 Merge branch 'main' into middlewares 2025-12-02 16:34:21 +01:00
moklick
ddbb9280f6 chore(examples): add zindexmode 2025-12-02 13:43:12 +01:00
Alessandro
482b618f49 initial implementation of edge toolbar 2025-10-09 16:00:06 +02:00
peterkogo
e23d4f0ed6 add middleware example 2025-08-28 11:16:19 +02:00
Karlo Bistrički
940b42de89 add DetachedHandle example 2025-07-31 16:18:45 +02:00
Amr-Shams
fb9684802a feat(examples): sync dropdown with current example on refresh
The dropdown now correctly reflects the current example after a page refresh. This is achieved by parsing the example name from the URL and setting the dropdown's initial state accordingly. Also, an  has been added to the dropdown for improved accessibility.
2025-07-16 19:01:27 +03:00
Ze-Zheng Wu
ab05d008d9 fix(react): also respect custom default edge type in fallback logic 2025-07-05 19:31:55 +08:00
Ze-Zheng Wu
18514e118f fix(react): respect custom default node type when falling back from unknown node type 2025-07-05 18:11:27 +08:00
Abbey Yacoe
ee8709b5fb chore: update LabelConfig name, add to store, create a11y example 2025-05-20 17:20:46 +02:00
moklick
0b67a6c303 refactor(errors): show error when user drags uninitialized node #5014 2025-02-25 10:52:54 +01:00
peterkogo
4fc8e08128 fixed internal examples, made code more understandable 2025-01-07 11:57:33 +01:00
moklick
babaa782ea chore(examples): add moving handle example 2024-08-14 16:30:01 +02:00
moklick
69bd68f4b8 feat(panzoom): add paneClickDistance prop 2024-07-09 10:50:50 +02:00
Moritz Klack
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
moklick
28a2f8d9fb chore(react): add redux example 2024-04-17 12:33:07 +02:00
moklick
ed6f4313b1 feat(react): add devtools example 2024-03-21 14:30:33 +01:00
moklick
aead13f485 chore(react): add addNodeOnEdgeDrop example 2024-02-28 10:25:20 +01:00
Hayleigh Thompson
81b5ea6141 Add an example demonstrating how batched updates work. 2024-01-19 16:10:06 +00:00
moklick
9d4ecff2ee refactor(react/setNodes): naive batching 2024-01-08 18:01:45 +01:00
moklick
3d1834b138 feat(react): add useConnection 2023-12-23 17:13:35 +01:00
moklick
3b69a11aac chore(examples): cleanup 2023-12-16 11:19:39 +01:00
moklick
959935dfb5 feat(hooks): add useNodesData, useUpdateNodeData, simplify useHandleConnections 2023-12-07 13:23:25 +01:00
moklick
124df00f60 feat(react): connection lookup draft 2023-12-01 12:10:01 +01:00
Moritz Klack
ab5eef220f Feat: dark mode (#3652)
* feat(react/svelte): add dark mode defaults

* refactor(darkmode): minimap, edges, edge labels

* chore(style): edge label color

* feat(colorMode): add colorMode prop light/dark/system

* chore(examples): cleanup

* test(colorMode): add tests

* chore(base.css): add dark base

* chore(examples): cleanup
2023-11-23 12:15:36 +01:00
moklick
d82a54fa5b chore(examples): cleanup 2023-11-08 17:44:51 +01:00
Peter
e83079c5cd react examples now automatically redirect / to examples 2023-11-08 11:28:17 +01:00
Peter
8be0337e00 refactored react-examples app and created generic test case component 2023-11-07 16:19:09 +01:00
Moritz Klack
ae33cba887 feat(react/svelte): controlled viewport (#3461)
* feat(react): controlled viewport

* refactor(react): cleanup viewport

* feat(svelte): two way data binding for viewport, cleanup transform <> viewport stuff

* refactor(svelte): viewport stuff
2023-09-28 16:19:03 +02:00
Moritz Klack
dcc38794a6 chore(svelte-examples): pull out of lib package (#3363)
* chore(svelte-examples): pull out of lib package

* chore(svelte-examples): cleanup

* chore(examples): add readme files
2023-08-31 16:44:27 +02:00