Commit Graph

301 Commits

Author SHA1 Message Date
Braks
268ed0e84e feat(core): add useNodeConnections composable (#1728)
* feat(core): add `useNodeConnections` composable

* chore(core): export `useNodeConnections`

* chore(docs): update math example

* docs: add guide for `useNodeConnections`

* chore(changeset): add
2025-01-12 10:05:01 +01:00
Braks
b33da47a3a fix(core): use center position of handle as snapping point for connection lines (#1625)
* fix(core): calculate handle positions correctly

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

* fix(core): remove handleId check

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

* chore(core): cleanup

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

* chore(core): cleanup click connect handlers

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

* fix(core): add flow id to handle ids

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

* tests: correct updateEdge test

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

* fix(core): use center position of handle

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

* chore(examples): cleanup easy connect example

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

* refactor(tests): run actions on chrome

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

* chore(workflows): correctly hash lock file

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

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2025-01-04 16:56:00 +01:00
Braks
129d543c4e fix(background): set default offset to 0 (#1692)
* fix(background): correct offset

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>
2024-11-13 20:20:43 +01:00
Braks
de6f042826 chore: update deps (#1633)
* chore(tests): update deps

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

* chore(workflows): update actions to latest

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

* chore: update pnpm-lock.yaml

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

* chore(examples,vite): update deps

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

* chore(examples,nuxt): update deps

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

* chore(examples,quasar): update deps

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

* chore(examples,docs): update deps

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

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2024-11-01 19:48:16 +01:00
Braks
2976b11025 docs(examples): update layouting example (#1576)
* refactor(examples): use offsetPath in layouting example

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

* chore(examples): cleanup

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

* docs(examples): update layouting example

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

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2024-08-14 15:09:16 +02:00
Braks
257c7aa704 examples: add confirm delete example (#1466)
* examples: add confirm delete example

* docs: add confirm delete example
2024-06-09 13:04:20 +02:00
Braks
a8ba97331f examples: add math example (#1461)
* examples: add math example

* docs: add math example
2024-06-08 20:35:18 +02:00
braks
f74be96b2d examples: add screenshot example (#1456) 2024-06-08 16:56:21 +02:00
Braks
6503b3e9ed examples: update pinia example (#1458)
* examples: update pinia example

* chore(examples): update pinia dep

* examples: add icons to pinia panel

* docs(examples): update pinia example
2024-06-08 16:07:50 +02:00
braks
a220161876 docs: cleanup examples 2024-06-06 10:45:38 +02:00
braks
f1bd5b5eef chore(docs,examples): replace dagre with dagrejs/dagre 2024-05-12 18:06:56 +02:00
braks
8d3887f615 chore(examples): cleanup reactivity transform 2024-04-29 20:59:42 +02:00
braks
c7957df0e9 chore(examples): update nuxt example 2024-02-21 23:42:55 +01:00
braks
49a9f4aeee chore(examples): cleanup tsconfig & vite config 2024-02-15 17:46:21 +01:00
braks
75355b04e7 feat(docs): add animation edge to layouting example 2024-02-07 22:29:40 +01:00
braks
43a1c9d2ac examples: animation edge 2024-02-07 22:29:40 +01:00
braks
f9e4d84297 chore(docs): update layout example styles 2024-02-06 23:58:02 +01:00
braks
0ae75025b6 examples: add example for running a process tree 2024-02-06 13:03:49 +01:00
braks
3220e20c0e docs: add dagre layout example 2024-02-05 07:51:12 +01:00
braks
10060064f2 chore(examples): add cdn example file 2024-02-05 07:51:12 +01:00
braks
14c8f2faa1 chore(examples): cleanup options api example 2024-01-03 11:13:31 +01:00
braks
5d9ba67d01 chore: cleanup pkg json files 2023-11-15 07:32:54 +01:00
braks
17a50dc7dc chore: update deps 2023-10-30 13:36:07 +01:00
braks
e51c7e9c17 chore: update deps 2023-10-30 13:36:07 +01:00
braks
41015cc07f chore(docker): update dev container config 2023-09-25 12:30:57 +02:00
braks
7df2bfa146 feat(core): resolve promise from viewport actions on transition end 2023-07-24 23:46:59 +02:00
Alex Liu
5669c8b101 chore(docs): replace the deprecated enum PanelPosition (#979) 2023-07-10 18:22:50 +02:00
braks
005f696fbe chore(examples): update floating edges example 2023-05-29 16:52:40 +02:00
braks
4336ff7578 chore(examples): update color selector node example 2023-05-25 20:48:26 +02:00
braks
94b43a68d6 chore: lint 2023-05-25 20:48:26 +02:00
braks
26943b2d85 chore(deps-dev): update vite & vue-tsc
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-05-25 20:48:26 +02:00
braks
d470ce1f92 chore(examples): update RGB examples
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-05-11 15:33:42 +02:00
braks
ca302d7510 chore(examples): cleanup
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-05-11 15:33:42 +02:00
braks
e464d7b8a5 chore(examples): update examples with new API for add/remove
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-05-11 15:33:42 +02:00
braks
c2b6a62cff chore(vite-examples): update basic example
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-05-05 11:02:58 +02:00
braks
18aeefb069 feat(examples): add pinia example to vite-examples
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-26 10:15:39 +02:00
braks
a3f27fd901 fix(node-resizer): hide resizer when isVisible is false
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-26 10:15:39 +02:00
braks
ade07841b9 chore(examples-quasar): disable no-console rule
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-24 00:09:13 +02:00
braks
5e4225d0b6 chore(examples-quasar): update deps
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-20 16:31:07 +02:00
braks
99866c7617 chore(examples-nuxt): lint
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-20 16:29:44 +02:00
braks
20f9910793 chore(examples-nuxt): correct import path of defineNuxtConfig
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-20 16:19:27 +02:00
braks
544fd05d3e chore(examples): lint
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-11 20:30:23 +02:00
braks
0f18263899 chore(examples): cleanup
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-05 12:23:23 +02:00
braks
e1b7bfcfb6 chore(examples): allow console
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-03 08:55:19 +02:00
braks
adccf1b38e chore(examples): add easy connect example
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-03 08:54:32 +02:00
braks
707aaef535 chore: add dev scripts
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-02 21:40:07 +02:00
braks
60fefab45b chore(examples): cleanup
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-01 00:35:45 +02:00
braks
f61e5beb02 chore: lint files
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-03-31 21:30:23 +02:00
braks
65db65da2f chore: update lint scripts
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-03-31 21:30:23 +02:00
braks
b101bf81da chore(examples): cleanup
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-03-23 15:58:30 +01:00