Commit Graph
154 Commits
Author SHA1 Message Date
Braks 180109c0ca feat(core): add paneClickDistance (#1542)
* feat(core): add `paneClickDistance`

* chore(changeset): add
2024-07-15 19:14:01 +02:00
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 266f8744ad chore(core): cleanup pane (#1507)
* chore(core): cleanup pane

* chore(core): cleanup actions
2024-07-01 09:44:55 +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 850f54aebd chore(core): cleanup unused event arg (#1475)
chore(core): cleanup unused `event` arg
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 ed2e5744fd fix(core): hide graph until initial fitview is done (#1459)
* fix(core): hide graph until initial fitview is done

* chore(changeset): add

* fix(core): wait for fit view to finish
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 9a7e4ac952 refactor(core): use for loop 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 49dc8ae2a1 feat(core): add updateEdgeData action (#1452)
* feat(core): add `updateEdgeData` action

* chore(changeset): add
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 cc0b8b69a3 refactor(core): remove hidden check from getNodes & getEdges 2024-06-06 10:45:38 +02:00
braks 1a87312434 chore(core): cleanup 2024-05-31 16:09:34 +02:00
braks 02f3ca2ba0 refactor(core): replace array fns 2024-05-31 16:09:34 +02:00
braks 0139e6eb0f chore(core): cleanup 2024-02-15 17:46:21 +01:00
braks 300c742352 refactor(core): rename useViewport to useViewportHelper 2024-02-15 17:46:21 +01:00
braks bbf16e385c chore(core): remove experimental from state 2024-02-15 17:46:21 +01:00
braks f2165afe6f feat(core,composables): add useNodesInitialized composable 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 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 0544fbdb6a refactor(core): call fitViewOnInit when node dimensions are initially set 2024-02-05 07:51:12 +01:00
braks 417a301b42 refactor(core): add missing viewport helper functions to actions 2024-02-05 07:51:12 +01:00
braks eca0447d3b chore(core): cleanup 2024-02-05 07:51:12 +01:00
braks fe1d801d5b feat(core): add updateNode & updateNodeData actions to store 2024-02-05 07:51:12 +01:00
braks c855dfe454 feat(core): add viewport helper to state 2024-02-05 07:51:12 +01:00
braks fd84025dd1 feat(core): add init hook 2024-02-05 07:51:12 +01:00
braks 5798cc5578 refactor(core): use useOnInitHandler to emit paneReady event 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 72cc175142 refactor(core): omit events when calling toObject 2024-02-05 07:51:12 +01:00
braks f09b7d934b refactor(core): move fitViewOnInit to node dimensions update 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 2259b2ab9e refactor(core)!: remove experimental flag 2024-01-29 21:56:44 +01:00
braks 3977875d0b refactor(core): trigger fitViewOnInit together with paneReady 2024-01-29 21:56:44 +01:00
braks 8a888a9194 tests: use transform matrix to confirm node positions 2024-01-29 21:56:44 +01:00
braks abe6006a09 refactor(core): emit pane ready after timeout of 1ms 2024-01-29 21:56:44 +01:00
braks 308cff5f45 refactor(core): add fitViewOnInitDone to state 2024-01-29 21:56:44 +01:00
braks ca70a7cd67 fix(core,store): await fitView before emitting pane-ready 2024-01-21 14:35:35 +01:00
braks 68cfbaebbe chore(core): lint files 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 458b5d42ba fix(core): remove ts-transform-paths and use relative paths 2023-12-12 23:36:33 +01:00
braks c995b801ce refactor(core): return promise from fromObject 2023-12-12 20:29:54 +01:00
braks e2b30e0b9a refactor(core): set default drag threshold to 1 2023-12-12 20:29:54 +01:00
braks 0c07bd4e2a fix(core): use node rect for intersection check 2023-11-09 14:19:51 +01:00
braks e4e3188b76 revert(core): wait for d3zoom before setting opts 2023-11-08 15:12:28 +01:00
braks 45ce98558e chore(core): cleanup 2023-11-08 08:27:12 +01:00
braks 5bda311f8d fix(core): use existing node for intersection check 2023-11-04 19:25:49 +01:00
braks 07b37830b1 fix(core): do not wait for d3zoom to be available to set skipped opts 2023-11-04 19:25:49 +01:00