Commit Graph
250 Commits
Author SHA1 Message Date
Braks cfc2332370 fix(core): use all handle bounds in loose connection mode (#1665)
* fix(core): use all handle bounds with loose mode when updating edges

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-01 19:48:16 +01:00
Braks 6338a9db06 fix(core,nodes,edges): allow pointer events if mouse evt listeners exist (#1618)
* fix(core,nodes): allow node pointer events if listener(s) exist

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

* fix(core,edges): allow edge pointer events if listener(s) exist

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-09-16 13:11:49 +02:00
Braks f4bde90302 fix(core): prevent overwriting size in node styles object (#1608)
* fix(core): prevent overwriting size in node styles object

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

* fix(core): update node styles if `updateStyles` is `true`

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

* chore(core): update pkg json links

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-09-06 09:50:34 +02:00
Braks 8539731a8a fix(core): dispatch click if drag move was attempted (#1534)
* fix(core): dispatch click if drag move was attempted

* chore(core): cleanup
2024-07-15 19:14:01 +02:00
Braks 9d14595f1d fix(core): emit node click if drag was aborted (#1525)
* fix(core): emit node click if drag was aborted

* chore(changeset): add

* chore(core): cleanup
2024-07-09 00:42:51 +02:00
Braks d8ddc4de6e fix(core): use post flush to re-observe nodes after toggling visibility (#1517)
* fix(core): use `post` flush to re-observe nodes after toggling visibility

* chore(changeset): add

* chore(core): cleanup
2024-07-01 16:03:21 +02:00
Braks 3489fae8fe refactor(core): use correct end handle position in connection line (#1508)
* refactor(core): use correct end handle position in connection line

* chore(changeset): add
2024-07-01 09:44:55 +02:00
Braks 8454dca6d4 chore(core): cleanup handle utils (#1497) 2024-07-01 09:44:55 +02:00
Braks 09e222124c refactor(core): calculate correct handle pos in handle lookup (#1494)
* refactor(core): use `getHandlePosition` to calculate handle pos

* chore(changeset): add
2024-07-01 09:44:55 +02:00
Braks cf32d59074 refactor(core): replace until watcher with onMounted in handle cmp (#1488) 2024-07-01 09:44:55 +02:00
Braks 9b4e3b2656 feat(core): add EdgePathParams type to edge utils (#1479)
* feat(core): add `EdgePathParams` type to edge utils

* chore(changeset): add

* chore(core): cleanup jsdocs
2024-06-18 12:29:29 +02:00
Braks cff55c8ebf refactor(core): use empty arr when updating all internals (#1476)
* refactor(core): use empty arr when updating all internals

* chore(changeset): add
2024-06-18 12:29:29 +02:00
Braks d429394f42 refactor(core): cleanup connection line component (#1470) 2024-06-13 00:04:51 +02:00
Braks d658c1d357 refactor(core): replace arr reduce methods (#1467)
* refactor(core): replace arr reduce methods

* chore(core): cleanup
2024-06-13 00:04:51 +02:00
Braks 798faf1be4 refactor(core): remove connectedEdges from node mouse events (#1464)
* refactor(core): remove `connectedEdges` from node mouse events

* chore(changeset): add
2024-06-13 00:04:51 +02:00
Braks 0825101ebe refactor(core): remove node intersections arg from drag events (#1460)
* refactor(core): remove node intersections arg from drag events

* chore(changeset): add

* docs(examples): update intersection example
2024-06-13 00:04:51 +02:00
Braks 0c5dfddc47 refactor(core): remove initialized from graph-nodes (#1457)
* refactor(core): remove `initialized` from graph-nodes

* chore(changeset): add

* refactor(node-resizer): replace node initialized check

* chore(changeset): add
2024-06-13 00:04:51 +02:00
braks faf67c2b55 fix(core): use computed edge ref 2024-06-06 10:45:38 +02:00
Braks 876b71dc19 refactor(core): use node/edge id as only dependency for nodes/edges list (#1447)
* refactor(core): use node id to (re-)render nodes

* refactor(core): use edge id to (re-)render nodes

* chore(changeset): add

* chore(core): cleanup

* chore(core): cast cmp as any
2024-06-06 10:45:38 +02:00
braks 5e9db1c87f refactor(core): render null if edge is hidden 2024-06-06 10:45:38 +02:00
braks 3498399ef7 refactor(core): render null if node is hidden 2024-06-06 10:45:38 +02:00
braks 660831cc37 refactor(core): check if starting handle exists 2024-06-06 10:45:38 +02:00
braks c822f9c632 refactor(core,handle): remove auto-generated handle ids 2024-06-06 10:45:38 +02:00
braks 464dc582dc fix(core): pass path options to edges 2024-04-29 20:56:09 +02:00
braks f858d13909 refactor(core): remove reactivity transform 2024-03-24 13:31:22 +01:00
braks a8c09a90da fix(core,edges): use nullish check to fallback to default center 2024-02-28 10:54:59 +01:00
braks c48d3c9be3 fix(core): use default cursor and apply drag cursor if node is draggable 2024-02-21 23:27:01 +01:00
braks f815ef6dd5 fix(core): prevent esc keypress when a11y is disabled 2024-02-21 23:27:01 +01:00
braks e5a84656ad refactor(core): replace vueuse imports with vue 2024-02-21 23:27:01 +01:00
braks e5aaaa6e8c fix(core,edges): correct smoothstep edge pathing 2024-02-15 22:04:22 +01:00
braks 5094e330b8 fix(core): wrap marker urls with quotes 2024-02-15 17:46:21 +01:00
braks ee8748e936 chore(core): add missing generic for output node 2024-02-15 17:46:21 +01:00
braks 6c638b8e27 refactor(core): use data obj for labels in default nodes 2024-02-15 17:46:21 +01:00
braks 308338fa79 refactor(core): remove exports from barrel files 2024-02-05 07:51:12 +01:00
braks 259514a229 refactor(core): cast zIndex to ref 2024-02-05 07:51:12 +01:00
braks cedb1f51e7 chore(core): cleanup EdgeWrapper 2024-02-05 07:51:12 +01:00
braks 0544fbdb6a refactor(core): call fitViewOnInit when node dimensions are initially set 2024-02-05 07:51:12 +01:00
braks 4bbc14b882 fix(core): update node dimensions on next tick 2024-02-05 07:51:12 +01:00
braks 68cfbaebbe chore(core): lint files 2024-01-21 14:35:35 +01:00
braks 2192fff9b2 fix(core,connection-line): pass flow id to getMarkerId in connection line 2024-01-21 14:35:35 +01:00
braks 2f0b00f854 feat(core,handle): expose onClick and onPointerDown handlers 2024-01-21 14:35:35 +01:00
braks ffcc20a263 feat(core,handle): expose handler functions 2024-01-21 14:35:35 +01:00
braks f1d3fa2aa3 fix(core): merge connection line styles 2024-01-21 14:35:35 +01:00
braks 5344fec3af fix(core): add fallback for connection-line type 2024-01-21 14:35:35 +01:00
braks 58689d751a chore(core): cleanup 2023-12-12 23:36:33 +01:00
braks 458b5d42ba fix(core): remove ts-transform-paths and use relative paths 2023-12-12 23:36:33 +01:00
braks aac4c4d593 chore(core): cleanup 2023-12-12 20:29:54 +01:00
braks eff1afdfde fix(core): use nullish check when finding edge label renderer el 2023-12-12 20:29:54 +01:00
braks fb3d6a7f13 chore(core): cleanup node wrapper 2023-12-12 20:29:54 +01:00
braks 6162389cc2 revert(core): cleanup imports from vueuse/core that exist in vue
This reverts commit 7cc798ad
2023-11-08 16:22:15 +01:00