Commit Graph

3836 Commits

Author SHA1 Message Date
Braks
cca5ab8c44 feat(core): replace fitView option offset with expressive padding (#1967)
* feat(core): replace fitView option `offset` with expressive `padding`

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-10-02 09:12:54 +02:00
Git Cliff
cc0054095e chore: update CHANGELOG.md 2025-09-22 09:20:40 +00:00
github-actions[bot]
9e2359c98a chore: bump versions 2025-09-22 11:19:36 +02:00
Braks
7729eff1f0 fix(core): unwrap connection line status ref (#1962)
* fix(core): unwrap connection line status ref

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-09-22 11:19:36 +02:00
braks
f3dc522618 chore(examples): cleanup
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-09-22 11:11:59 +02:00
Git Cliff
80c2b52d8f chore: update CHANGELOG.md 2025-09-11 13:15:49 +00:00
github-actions[bot]
dee75ddc1a chore: bump versions 2025-09-11 15:14:45 +02:00
Braks
2ebe3d9088 fix(core): remove node border styles from required styles (#1954)
* fix(core): remove node border styles from required styles

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-09-11 15:14:45 +02:00
Git Cliff
c9770732dc chore: update CHANGELOG.md 2025-09-05 17:54:36 +00:00
github-actions[bot]
c9c9040fb8 chore: bump versions 2025-09-05 19:51:15 +02:00
Braks
67832e528d fix(core): add nullish operator to check visibility (#1942)
* fix(core): add nullish operator to check visibility

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-09-05 19:51:15 +02:00
Git Cliff
f8c11e432a chore: update CHANGELOG.md 2025-08-31 12:17:18 +00:00
github-actions[bot]
ed35bdeb0c chore: bump versions 2025-08-31 14:16:26 +02:00
Braks
2bacaa8b2d fix(core): only emit position changes if change occurred (#1939)
* fix(core): only emit position changes if a position change occurred

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 14:16:26 +02:00
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