Commit Graph
195 Commits
Author SHA1 Message Date
braks ee45b4e560 fix(core): select nodes on drag when threshold is > 0 2023-10-30 13:36:07 +01:00
braks 870bc4f74a chore(core): cleanup 2023-10-06 18:00:01 +02:00
braks ce1647ad1e feat(core): cleanup handle bounds from node when handle is unmounted 2023-10-06 18:00:01 +02:00
braks 3e446fab68 feat(core): allow passing a number as connectable prop 2023-10-06 18:00:01 +02:00
braks ad7d01305e fix(core): unselect edge if selected and multi-selection is active 2023-10-06 18:00:01 +02:00
braks 2f66300f05 fix(core): better smoothstep edge label position 2023-08-21 17:44:20 +02:00
braks 8943ec762b fix(core): vertically or horizontally aligned nodes 2023-08-21 17:44:20 +02:00
braks bb1473a688 fix(core): add role img to edges if not focusable 2023-08-21 17:44:20 +02:00
braks 16bf14c7d4 fix(core): smooth step edge horizontally or vertically aligned nodes 2023-08-21 17:44:20 +02:00
braks 17755ddb9a fix(core): get correct handle pos for connection line 2023-07-24 09:55:03 +02:00
braks 4f36cef1e8 fix(core): connection status prop as nullable 2023-07-19 19:12:29 +02:00
braks 1415652a1b fix(core): use post flush when calculating new node pos 2023-07-19 19:12:29 +02:00
braks 0b60cc3c3e chore(core): add missing generic 2023-07-10 19:20:26 +02:00
Braks 55de815a39 chore(core): cleanup (#1003) 2023-07-10 19:20:26 +02:00
braks 7d93915f36 refactor(core): use normal components for edges 2023-07-10 19:20:26 +02:00
braks 903583a399 chore(core): cleanup export paths 2023-07-10 19:20:26 +02:00
braks 38bb4e1e12 fix(core): add style to base edge props 2023-07-10 19:20:26 +02:00
braks b2dc046fe9 chore(core): update export 2023-07-10 19:20:26 +02:00
braks 80ad6f1677 refactor(core): use sfc for base edge and bind template refs 2023-07-10 19:20:26 +02:00
braks 435cb9b687 refactor(core): change nodeEl and edgeEl type to allow ref(null) 2023-07-10 19:20:26 +02:00
braks e7e4f1fd0a chore(core): cleanup export path 2023-06-15 22:35:25 +02:00
braks 33b6fe121a fix(core): correct connection line calculation 2023-06-15 22:35:25 +02:00
braks d2c1c5185f fix(core): set interaction edge styles so animation does not break pointer 2023-06-15 22:35:25 +02:00
braks f720f27360 chore(core): remove reactivity transform 2023-05-25 20:48:26 +02:00
braks 1180ab247f chore(core): cleanup
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-05-25 20:48: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 128b968168 chore: lint 2023-05-25 20:48:26 +02:00
braks 8fa6ad5076 chore(core): cleanup handle cmp 2023-05-25 20:48:26 +02:00
braks 4d505c974c refactor(core): allow ref for isValidConnection in useHandle 2023-05-25 20:48:26 +02:00
braks 9b0b969caf refactor(core): remove reactivity transform from connection line component 2023-05-25 20:48:26 +02:00
braks b3412bc8ec chore(core): cleanup 2023-05-25 20:48:26 +02:00
braks 13d3be9c33 chore(core): cleanup unnecessary refs 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 4bc576ec7f fix(core): do not render edges connected to a hidden node
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-05-11 15:33:42 +02:00
braks fb09d08e9b refactor(core): pass id to base edge
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-05-11 15:33:42 +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 d659d48279 fix(core): set handle connectable undefined as default
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-07 19:48:22 +02:00
braks c459653015 fix(core): use connection click start handle
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-03 11:13:53 +02:00
braks 8229ee8748 fix(core): remove duplicate event binding
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-03 11:13:53 +02:00
braks 3222e979ff fix(core): use fallback for connectable start and end
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-03 11:13:53 +02:00
braks a105d4c0bf chore(core): cleanup
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-03 08:53:33 +02:00
braks 4efc787067 refactor(core): add connection start and end handles to store state
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-03 08:53:33 +02:00