Commit Graph
193 Commits
Author SHA1 Message Date
Braks d4ccb11a4c feat(core): add autoPanSpeed prop (#1535)
* feat(core): add `autoPanSpeed` prop

* chore(changeset): add
2024-07-15 19:14:01 +02:00
Braks c8b55223b9 fix(core): correct calculation of nodes inside selection (#1509)
* fix(core): correct calculation of nodes inside selection

* chore(changeset): add
2024-07-01 10:34:54 +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 266f8744ad chore(core): cleanup pane (#1507)
* chore(core): cleanup pane

* chore(core): cleanup actions
2024-07-01 09:44:55 +02:00
Braks 545bb4edf5 refactor(core): remove useWindow (#1504)
refactor(core): remove `useWindow`
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 4fe1a7b541 refactor(core): add overloads to useVueFlow (#1481)
* refactor(core): add overloads to `useVueFlow`

* chore(changeset): add

* chore(core): cleanup
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 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 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 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