Commit Graph
182 Commits
Author SHA1 Message Date
Braks cd5103e525 refactor(core): reduce node bounds calculation (#1453)
* refactor(core): reduce node bounds calculation

* chore(changeset): add

* chore(core): cleanup
2024-06-13 00:04:51 +02:00
Braks a592fbd78a refactor(core): use node lookup map internally (#1450)
* refactor(core): use node lookup map internally

* chore(changeset): add
2024-06-06 10:45:38 +02:00
braks 1bb7a19e1b feat(core): add edge id to handle connections 2024-06-06 10:45:38 +02:00
braks 5c2f15061e refactor(core): replace array map 2024-05-31 16:09:34 +02:00
braks 02f3ca2ba0 refactor(core): replace array fns 2024-05-31 16:09:34 +02:00
braks 8a8c8f50bf feat(core): add missing styles warning 2024-05-28 19:18:23 +02:00
braks 31c0f82efe chore(core): cleanup 2024-03-24 13:31:22 +01:00
braks 0a9e950077 refactor(core): move storage to separate file 2024-03-24 13:31:22 +01:00
braks 3ed91a0055 fix(core): check if dimensions exist in useNodesInitialized 2024-02-28 10:54:59 +01:00
braks 3a0dc0fff6 feat(core,composables): add edgeId to useHandleConnections return 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 f36fa770c2 feat(core,error): add error args to err 2024-02-05 07:51:12 +01:00
braks aaf106938f fix(core): avoid adding invalid edges (like null or undefined) 2024-02-05 07:51:12 +01:00
braks 04658b2c0d fix(core): avoid options passed to useVueFlow overwriting default state 2024-02-05 07:51:12 +01:00
braks 983971f576 fix(core): use existing node/edge obj for assignment 2024-02-05 07:51:12 +01:00
braks c4b4a04aa0 perf(core): replace Array.forEach loops 2024-02-05 07:51:12 +01:00
braks 84c2f6df99 refactor(core): find handle by id regardless of num of handles 2024-02-05 07:51:12 +01:00
braks 064cfd84b3 feat(core,composables): add useHandleConnections composable 2024-02-05 07:51:12 +01:00
braks a9bd82d28a chore(core): cleanup 2024-02-05 07:51:12 +01:00
braks b7cc917a09 fix(core,utils): check if values are numeric in isRect 2024-01-30 08:56:46 +01:00
braks 68cfbaebbe chore(core): lint files 2024-01-21 14:35:35 +01:00
braks e5c52a3dba fix(core): add default handler when no handlers exist 2024-01-21 14:35:35 +01:00
Abdelrahman AwadandBraks d78a53fcd6 feat(core): add source and target handle ids to edge removal change 2024-01-03 11:13:31 +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 ba0cf54fef refactor(core): keep connection line snapped to handle while hovering 2023-11-10 15:19:16 +01:00
braks c1603b2d58 feat(core): add nodes to isValidConnection args 2023-11-08 08:27:12 +01:00
braks 2ecd8def81 fix(core): push emit handlers into listeners set 2023-10-30 13:36:07 +01:00
braks 0bf12601df refactor(core): rename onError arg to triggerError 2023-10-30 13:36:07 +01:00
braks 7494817842 refactor(core): remove default event listener void fn 2023-10-30 13:36:07 +01:00
braks 3b175a553e refactor(core): remove primtive typeguards 2023-10-30 13:36:07 +01:00
braks 2a407f59e3 refactor(core): add stub for addEventListener in useWindow 2023-10-30 13:36:07 +01:00
braks c916284917 refactor(core): allow using expandParent with parent extent 2023-10-06 18:00:01 +02:00
braks edc7669b18 feat(core): add getIncomers, getOutgoers & getConnectedEdges as store actions 2023-10-06 18:00:01 +02:00
braks 7a013771f3 feat(core): add source and target node ids to edge remove changes 2023-10-06 18:00:01 +02:00
braks 67704e5a8f fix(core): use os specific key defaults 2023-08-21 17:44:20 +02:00
braks ac86b77b89 fix(core): unwrap blur fn 2023-07-25 09:20:15 +02:00
braks 2a597f8605 feat(core): allow passing node or id to getoutgoers/getincomers 2023-07-24 23:46:59 +02:00
braks 987538aebd feat(core): add hasListener to event hooks 2023-07-24 23:46:59 +02:00
braks 08f749ae30 fix(core): pass handle dom node to valid handle result 2023-07-19 19:12:29 +02:00
braks f52380d3d2 fix(core): nested nodes extent calculation off 2023-07-11 00:21:19 +02:00
Braks 82e79a6113 fix(core): clamp node extent by node dimensions to avoid overflow (#1014) 2023-07-10 19:20:26 +02:00
braks 245dd82574 fix(core): prioritize handle below during handle lookup 2023-07-10 19:20:26 +02:00
braks f3931a2c05 fix(core): consider handle dimensions when checking for closest handle 2023-06-15 22:35:25 +02:00
braks 4d68397119 chore(core): remove groupEdgesByZIndex util 2023-06-15 22:35:25 +02:00
braks 8e5d748013 refactor(core): use separate svg container for edges 2023-06-15 22:35:25 +02:00
braks 9d3c3584ff fix(core): handle pos calculation 2023-06-15 22:35:25 +02:00
braks 6e2c3e5281 fix(core): use validator with null handle when no closest can be found 2023-06-15 22:35:25 +02:00
braks 1e786a9b08 chore(core): cleanup 2023-05-25 20:48:26 +02:00
braks e42897e3ed fix(core): filter closest handles by validity 2023-05-25 20:48:26 +02:00