Commit Graph
41 Commits
Author SHA1 Message Date
braks 065ff89d10 chore(changeset): add 2025-02-28 07:51:58 +01:00
braks 4891e9cc1c fix(react,svelte): prevent pane click when connection is in progress 2025-02-28 07:38:44 +01:00
braks adf4fb4e7b chore(changeset): add 2024-12-02 12:30:14 +01:00
braks 9458904cbb fix(react): prevent default scrolling behavior when node is moved with keypress 2024-12-02 12:29:43 +01:00
braks 02390f9966 chore(changeset): add 2024-09-18 14:24:55 +02:00
braks f70c5bb68f fix(react,svelte): calculate viewport dimensions inside of fitView action 2024-09-18 14:24:40 +02:00
braks 2e3b56be44 feat(react,svelte): add homepage, repo and issues links to package.json 2024-08-30 12:57:38 +02:00
braks 9ae914561a chore: update comment 2024-08-20 13:12:33 +02:00
braks b65aed1984 chore(changeset): add 2024-08-20 13:08:02 +02:00
braks 181dc66b8c feat(react,svelte): add getHandleConnections helper to useReactFlow & useSvelteFlow 2024-08-20 13:04:41 +02:00
braks 4ecfd7e197 chore(changeset): add 2024-08-12 16:26:14 +02:00
braks be33fc1c15 fix(system,errors): use handle id of matching handle type for errors 2024-08-12 16:23:41 +02:00
braks 12313a5b01 chore(changeset): add 2024-08-05 11:42:16 +02:00
braks 3c3e9504b8 fix(svelte): rename isConnectable prop to avoid naming collision 2024-08-05 11:42:16 +02:00
braks 0aa1ff2d73 chore(changeset): add 2023-11-10 09:36:33 +01:00
braks 7c60f2234a refactor(system,styles): use translate to align handles to center of their side 2023-11-10 09:35:37 +01:00
braks ba26ab62a9 chore(changeset): add 2023-11-09 22:42:53 +01:00
braks 1a57423204 refactor(system,panzoom): return promise from transitioned panzoom actions 2023-11-09 22:41:59 +01:00
braks 1f74c7cffe chore(changeset): add 2023-11-08 18:08:35 +01:00
braks bb6021e6f8 fix(react,svelte): allow panning by scroll when pan activation key is pressed 2023-11-08 18:07:28 +01:00
braks 6a7a18a394 chore(core): query node element in for-each loop to get curr el 2023-05-11 20:10:12 +02:00
braks 80e586fa5e refactor(core): wrap for-each loop in requestAnimationFrame 2023-05-10 12:31:56 +02:00
braks c80d269b85 chore(changeset): add 2023-05-10 12:31:56 +02:00
braks 70102b701b feat(core): allow array of ids as updateNodeInternals arg 2023-05-10 12:31:56 +02:00
braks 5f2f5db519 chore(examples): update updatable edge example 2023-03-24 22:42:09 +01:00
braks 449c3055e0 chore(core): cleanup 2023-03-24 22:42:09 +01:00
braks b06629e75e feat(core): allow setting edges updatable to bool, source or target 2023-03-24 22:42:09 +01:00
braks 82ee1415ef feat(core): add global edgesUpdatable prop 2023-03-24 22:42:09 +01:00
braks 5e41e975eb feat(core): add updatable prop to Edge types 2023-03-24 22:42:09 +01:00
braks eeed447850 chore(core,utils): add options obj to updateEdge util 2023-03-02 17:00:19 +01:00
braks 24d4c56343 chore(core,types): add UpdateEdgeOptions type 2023-03-02 16:59:43 +01:00
braks 16bf89f2b7 chore(changeset): add 2023-02-16 19:48:27 +01:00
braks 1be6dfa8e3 feat(core): add option to enable/disable replacing id when updating an edge 2023-02-16 19:48:27 +01:00
braks 0d259b0285 chore(changeset): add 2023-02-07 12:59:07 +01:00
braks 54509aa562 fix(core): avoid edge update if not using left mouse btn 2023-02-07 12:58:24 +01:00
braks 3d65627de5 chore(core): cleanup node filter fn 2023-02-06 14:06:27 +01:00
braks 23424ea675 chore(changeset): add 2023-02-06 11:14:27 +01:00
braks 806c1dfa77 feat(core): add nodes option to fitView
# What's changed?

- Add `nodes` option to `fitView`
- Allows `fitView` to only fit around a certain set of specified nodeIds
2023-02-06 11:13:33 +01:00
braks 383a074aea chore(changeset): add 2023-02-06 00:57:49 +01:00
braks 1d3126e4fe fix(core): check if prevClosestHandle exists in onPointerUp 2023-02-06 00:56:23 +01:00
BraksandGitHub d0efd5b791 fix(drag): set dragging to false on drag end
# What's changed?

* Set `dragging` to `false` on drag end event

# Fixes
* #2183
2022-05-27 23:53:33 +02:00