Commit Graph

3822 Commits

Author SHA1 Message Date
Git Cliff
a433f3512d chore: update CHANGELOG.md 2025-08-31 12:02:02 +00:00
github-actions[bot]
7a46a746ac chore: bump versions 2025-08-31 13:59:37 +02:00
Braks
bd606b98a2 refactor(core): avoid passing reactive values to position changes (#1937)
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-08-31 13:59:37 +02:00
Braks
490473d997 fix(core): prevent multi touch from aborting connections (#1938)
* fix(core): prevent multi touch from aborting connections

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-08-31 13:59:37 +02:00
Braks
c9c26d02f6 fix(core): skip resize handler if node not visible (#1936)
* fix(core): skip resize handler if node not visible

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-08-31 13:59:37 +02:00
Braks
e9f0cdff3d fix(core): correctly check if an event has any listeners bound to it (#1935)
* fix(core): separate listeners from emitter for correct check on hasListeners

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* fix(core): check for listeners bound via emits

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-08-31 13:59:37 +02:00
Braks
dd48e47d02 fix(core): use valid handle result as connecting handle (#1932)
* fix(core): use valid handle result as connecting handle

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-08-31 13:59:37 +02:00
braks
3c96b385c3 docs: remove info on pointer events removal when elements selectable is false
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-08-26 21:33:18 +02:00
Git Cliff
1abb1a6b37 chore: update CHANGELOG.md 2025-08-15 11:27:17 +00:00
github-actions[bot]
e293519ee2 chore: bump versions 2025-08-15 13:25:11 +02:00
Braks
299a04531e refactor(core): use event target for Handle pointer down events (#1924)
* refactor(core): use event target for Handle pointer down events

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-08-15 13:25:11 +02:00
Braks
c2aad1e43b fix(core): fetch correct source and target nodes for isValidConnection (#1922)
* fix(core): fetch correct source and target nodes for isValidConnection

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-08-15 13:25:11 +02:00
Braks
58a52e1374 fix(minimap): use 1 as zoomstep for minimap and apply factor based on macOs (#1923)
* fix(minimap): use 1 as zoomstep for minimap and apply factor based on macOs

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* refactor(core): expose isMacOs

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

* chore(changeset): add

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-08-15 13:25:11 +02:00
Braks
5fbbc826e5 feat(core): expose wheelDelta utility (#1918)
* feat(core): expose wheelDelta utility

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

* fix(minimap): apply wheel delta to zoom

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-08-15 13:25:11 +02:00
Braks
5dc276af52 docs(examples): helper lines (#1915)
feat: add optional chaining to prevent types errors and add an example of helper lines (#1904)

* docs: code errors in "Updating Node Data" (#1900)

fix(docs): Example of fixing code errors in "Updating Node Data"

* fix: add optional chaining to prevent errors in link filtering

* feat: add an example of helper lines

* refactor: In the HelperLines example, replace the observer with dimensions

---------

Co-authored-by: Charles Lee <114982593+rookie-orange@users.noreply.github.com>
Co-authored-by: J <gongjie0422@163.com>
2025-08-07 15:46:48 +02:00
Git Cliff
4bc9acc1e8 chore: update CHANGELOG.md 2025-08-07 13:43:16 +00:00
braks
e0944266bf examples: cleanup basic example
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-08-07 15:40:20 +02:00
github-actions[bot]
2b2c9a964d chore: bump versions 2025-08-07 15:39:59 +02:00
Braks
e97a65b6b5 fix(core): calculate overlapping area correctly (#1914)
* fix(core): calculate overlapping area correctly

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-08-07 15:39:59 +02:00
Braks
ed18865525 fix(core): emit node drag-start, drag and drag-end events on selection drag (#1913)
* fix(core): emit node drag-start, drag and drag-end events on selection drag

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-08-07 15:39:59 +02:00
Braks
dfae6619e2 fix(controls): add type="button" to avoid form submissions (#1911) (#1912)
* fix(controls): add `type="button"` to avoid form submissions (#1911)

* chore(changeset): add

---------

Co-authored-by: Hossam Hassan <58523735+devhus@users.noreply.github.com>
2025-08-07 15:39:59 +02:00
Braks
a43da6f1ec fix(core): use correct handlesuffix in getHandleConnections (#1880)
* fix(core): use correct handlesuffix in `getHandleConnections`

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-08-07 15:39:59 +02:00
J
b5c4c0e3f5 docs: code errors in "Updating Node Data" (#1900)
fix(docs): Example of fixing code errors in "Updating Node Data"
2025-07-18 22:57:05 +02:00
github-actions[bot]
447b2b05fd chore: bump versions 2025-06-12 14:01:30 +02:00
Braks
f4e139f1bc refactor(node-resizer): add auto-scale prop & scale resize controls with zoom level (#1872)
* refactor(node-resizer): add auto-scale prop & scale resize controls with zoom

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-06-12 14:01:30 +02:00
Git Cliff
e7dec135e1 chore: update CHANGELOG.md 2025-06-10 14:25:51 +00:00
github-actions[bot]
45225bf973 chore: bump versions 2025-06-10 16:24:11 +02:00
Braks
8fa70107a0 feat(core): add dom attributes option for nodes and edges (#1869)
* feat(core): add dom attributes option for nodes and edges (#1861)

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

* chore: cleanup

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
Co-authored-by: Kirill Zaytsev <zaytsev.cmath10@gmail.com>
2025-06-10 16:24:11 +02:00
Kirill Zaytsev
4c1b064230 feat(core): add dom attributes option for nodes (#1861)
feat: Possibility to customize nodes HTML attributes
2025-06-10 16:24:11 +02:00
Braks
eec568cbb7 docs(deps): add vitepress plugin llms (#1865)
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-06-06 12:07:14 +02:00
Git Cliff
6f2db57237 chore: update CHANGELOG.md 2025-05-19 15:36:58 +00:00
github-actions[bot]
a16d851894 chore: bump versions 2025-05-19 17:35:54 +02:00
Braks
505fbfef74 feat(core): add interpolate option to viewport transforming functions (#1851)
* chore(core): add d3-interpolate to deps

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* feat(core): add interpolate option to viewport transforming functions

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

* feat(core): add interpolate option to viewport transforming functions

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-05-19 17:35:54 +02:00
Braks
00bc28bf1b feat(core): add ease option to viewport transform functions (#1848)
* chore(core): update d3-deps

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* feat(core): add ease option to viewport transform functions

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

* chore: cleanup

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-05-19 17:35:54 +02:00
Braks
b792d7f536 refactor(core): use shallowRef where possible (#1847)
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-05-19 13:56:01 +02:00
Git Cliff
e9ccaa49ea chore: update CHANGELOG.md 2025-05-15 16:41:34 +00:00
github-actions[bot]
7ecca6141f chore: bump versions 2025-05-15 18:37:14 +02:00
Braks
735c81c63f fix(core): use whole handle for snapping area (#1843)
* chore(changeset): add

* fix(core): use whole handle for snapping area

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-05-15 18:37:14 +02:00
Braks
666e4eabab fix(core): allow multiselect when input is focused (#1842)
* fix(core): allow multiselect when input is focused

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-05-15 18:37:14 +02:00
Git Cliff
a0c83f8765 chore: update CHANGELOG.md 2025-04-24 13:46:45 +00:00
github-actions[bot]
96e07eeb9d chore: bump versions 2025-04-24 15:45:36 +02:00
Braks
ae9c6a0fe2 fix(core): add missing vue-flow__container class to marker defs (#1833) 2025-04-24 15:45:36 +02:00
braks
00e2146554 ci: use turbo remote cache
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-04-23 20:57:32 +02:00
Git Cliff
bea97b3ecf chore: update CHANGELOG.md 2025-04-23 18:41:14 +00:00
github-actions[bot]
78e29f2259 chore: bump versions 2025-04-23 20:39:08 +02:00
Braks
cc65f12af9 fix(core): fall back to changedTouches for touchend events (#1830)
* fix(core): fall back to changedTouches for touchend events

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-04-23 20:39:08 +02:00
Braks
265f928f13 fix(core): subtract container bounds when getting pointer position (#1829)
* fix(core): subtract container bounds when getting pointer position

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore: cleanup

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-04-23 20:39:08 +02:00
Braks
7d9ffe3f35 chore(core): cleanup getHandleBounds (#1828)
chore(core): cleanup getHandleBounds

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-04-23 20:39:08 +02:00
Braks
7a09afa12a refactor(core): allow passing null/undefined to use node connection args (#1820)
* refactor(core): allow passing null/undefined to use node connection args

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(core): cleanup

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-04-23 20:39:08 +02:00
Braks
cb588c8aa9 fix(core): add aria hidden to markers (#1817)
* fix(core): add aria hidden to markers

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-04-23 20:39:08 +02:00