Braks
c9fd24dc82
fix(core): use null as fallback id for edge source handle ( #1794 )
...
* fix(core): use null as fallback id for edge source handle
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-03-17 12:47:52 +01:00
Braks
dd9c92ff81
fix(core): avoid removing handle bounds on handle unmount ( #1781 )
...
* fix(core): avoid removing handle bounds on handle unmount
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-03-09 10:10:38 +01:00
Braks
44b9232b19
refactor(core): inherit attrs on edge path el in BaseEdge ( #1742 )
...
* refactor(core): inherit attrs on edge path el in base edge
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-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
600d1a63fd
fix(core): prevent scrolling when using arrow keys to move node selection ( #1702 )
...
* fix(core): prevent scrolling when using arrow keys to move node selection
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
* chore(changeset): update
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
---------
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2024-12-07 16:39:07 +01:00
Braks
04d13551e3
fix(frontend,core): prevent scrolling when using arrow keys to move nodes ( #1698 )
...
* fix(frontend,core): prevent scrolling when using arrow keys to move nodes
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-12-07 16:39:07 +01:00
Braks
f7a266415a
fix(core): escape node labels ( #1695 )
...
* fix(core): escape node labels
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
5a028cf2d4
fix(core): check if dragEnd event is UseDrag or MouseTouch event ( #1680 )
...
* feat(core): add snapPosition util
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
* fix(core): check if dragEnd event is actually a UseDrag or MouseTouch event
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 >
---------
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2024-11-13 20:20:43 +01:00
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