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
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
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
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
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
3498399ef7
refactor(core): render null if node is hidden
2024-06-06 10:45:38 +02: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
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
259514a229
refactor(core): cast zIndex to ref
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
458b5d42ba
fix(core): remove ts-transform-paths and use relative paths
2023-12-12 23:36:33 +01:00
braks
fb3d6a7f13
chore(core): cleanup node wrapper
2023-12-12 20:29:54 +01:00
braks
3b175a553e
refactor(core): remove primtive typeguards
2023-10-30 13:36:07 +01:00
braks
ee45b4e560
fix(core): select nodes on drag when threshold is > 0
2023-10-30 13:36:07 +01:00
braks
1415652a1b
fix(core): use post flush when calculating new node pos
2023-07-19 19:12:29 +02:00
braks
435cb9b687
refactor(core): change nodeEl and edgeEl type to allow ref(null)
2023-07-10 19:20:26 +02:00
braks
ff9f6471ed
chore(core): cleanup
...
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2023-05-25 20:48:26 +02:00
braks
e3e6a03359
refactor(core): add explicit imports and remove auto-imports
...
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2023-05-25 20:48:26 +02:00
braks
5a86c7cf1d
chore: update deps
...
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2023-05-25 20:48:26 +02:00
braks
b3412bc8ec
chore(core): cleanup
2023-05-25 20:48:26 +02:00
braks
20a9521cac
refactor(core): pass drag handle to useDrag
2023-05-25 20:48:26 +02:00
braks
26be1d2826
feat(core): add parent class name to parent nodes
...
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2023-05-11 15:33:42 +02:00
braks
a7db003b68
refactor(core): remove reactivity transform in node wrapper
...
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2023-05-11 15:33:42 +02:00
braks
d9be769f74
chore(core): cleanup types
...
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2023-04-11 20:28:02 +02:00
braks
56e911c1e7
chore: lint files
...
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2023-04-11 20:28:02 +02:00
braks
1e2a51ebb5
chore(core): cleanup
...
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2023-04-11 20:28:02 +02:00
braks
5560949ed1
chore: lint files
...
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2023-04-11 20:28:02 +02:00
braks
f19e210442
refactor(core): replace computed arg with getter fn
...
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2023-04-11 20:28:02 +02:00
braks
8c3f54ec28
feat(core): add onError hook
...
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2023-03-23 15:58:30 +01:00
braks
fe46e6f103
fix(core,nodes): rename parentNode prop to parent
...
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2023-03-17 19:44:34 +01:00
braks
0476dffa98
fix(core,nodes): unwrap refs and pass props
...
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2023-03-17 19:44:34 +01:00
braks
ccb302f132
chore(core): cleanup
...
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2023-03-17 17:27:48 +01:00
braks
d8434e6e8f
fix(core,nodes): use render fn for node wrapper
...
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2023-03-17 17:27:48 +01:00
braks
8cf8c51e0e
fix(core): blur node after unselect
...
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2023-03-06 23:07:59 +01:00
braks
566ba8e1f6
chore(core): revert node renderer & wrapper
...
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2023-03-02 08:47:38 +01:00
braks
7c026f084a
fix(core): prevent selecting nodes on drag when selectable disabled
...
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com >
2023-03-02 08:47:38 +01:00