Commit Graph
1544 Commits
Author SHA1 Message Date
braks 32a98cd606 fix: use elementFromPoint 2022-09-14 20:07:58 +02:00
Git Cliff 9ea87c878c chore: update CHANGELOG.md 2022-09-12 18:14:38 +00:00
braks f7c18df48a chore: bump version 2022-09-12 20:14:02 +02:00
braks c113d3bd15 feat(edges): updated smoothstep edge routing 2022-09-12 20:08:49 +02:00
braks 018d711fc6 fix(nodes): skip applying node extent on mount 2022-09-12 20:08:49 +02:00
braks 59bd0090cd chore(resize-rotate): update demo 2022-08-31 11:33:36 +02:00
braks c222bb9de5 feat(resize-rotate): save frame data of node 2022-08-31 11:12:51 +02:00
braks 3f4e071bbf chore(resize-rotate): bump version 2022-08-30 22:22:49 +02:00
Git Cliff 0bf2243d97 chore: update CHANGELOG.md 2022-08-30 20:18:30 +00:00
braks ff51560427 chore: bump version 2022-08-30 22:17:56 +02:00
braks 2beb48d4a5 chore(store): pass vueflow id to scope on each call 2022-08-30 22:16:10 +02:00
braks bd4eb7cc54 feat(edges): hide edge while updating 2022-08-30 22:16:10 +02:00
braks 058fb5ae10 fix(nodes): apply initial node extent 2022-08-30 22:16:10 +02:00
braks 955f683d8b chore: re-apply node extent only if flow is ready 2022-08-30 22:16:10 +02:00
braks be2bcf5a87 refactor: allow ref to be passed to useKeyPress 2022-08-30 22:16:10 +02:00
braks a110cdcd03 chore: cleanup unused vars and remove setState usage 2022-08-30 22:16:10 +02:00
braks 487c287090 fix(nodes): add missing updateNodeInternals event 2022-08-30 22:16:10 +02:00
braks e8a6dc37af fix(nodes): apply global node extent when changed 2022-08-30 22:16:10 +02:00
thomasmountfordandBraks 0bb2dd7530 Added docs for EdgeUpdatable 2022-08-30 22:16:10 +02:00
thomasmountfordandBraks 485d7b2dd3 Updated UpdatableEdgeExample to still have a label on the updatable edge 2022-08-30 22:16:10 +02:00
thomasmountfordandBraks 7732ad9b76 Added docs for type EdgeUpdatable
Implemented type EdgeUdatable in global configuration for VueFlow instance
2022-08-30 22:16:10 +02:00
thomasmountfordandBraks bf519e1f75 Changed updatable prop from boolean to type
Updatable

Wrapper.ts now checks for either true, 'target' or 'source'
true enables both markers on edge to be draggable
'target' enables target
'source' enables source
2022-08-30 22:16:10 +02:00
braks 5f5dd49ed6 refactor(resize-rotate): set fixed styles on resize rotate node 2022-08-30 22:16:10 +02:00
braks dd62165443 feat(resize-rotate): add snappable 2022-08-30 22:16:10 +02:00
braks 9440d4fe85 fix: cast watchable props to ref 2022-08-30 22:16:10 +02:00
braks a204f861b7 fix: watch translate extent separately 2022-08-30 22:16:10 +02:00
braks 18a31d21a3 docs: update node guide 2022-08-30 22:16:10 +02:00
braks d7c7ae152c docs: update yarn install guide 2022-08-30 22:16:10 +02:00
braks b48234ec91 chore(deps): upgrade deps 2022-08-30 22:16:10 +02:00
Git Cliff feb1dd6a36 chore: update CHANGELOG.md 2022-08-09 20:52:24 +00:00
braks 3e398d451a chore: bump version 2022-08-09 22:51:44 +02:00
braks 6221663448 fix(nodes): pass node as prop to wrapper
# What's changed?

* instead of computed getter use prop to pass node
* avoids error when node gets deleting from custom node with `removeNodes`
2022-08-09 22:49:41 +02:00
Git Cliff 3255f95df9 chore: update CHANGELOG.md 2022-08-08 17:21:53 +00:00
braks f1a1321117 chore: bump version 2022-08-08 19:21:14 +02:00
braks 80fd818359 fix(nodes): use flush timing post in NodeWrapper.vue 2022-08-08 19:18:51 +02:00
braks a9dc02df8d chore: add .pnpm-store to .gitignore file 2022-08-08 19:18:51 +02:00
Git Cliff 4683b4af16 chore: update CHANGELOG.md 2022-08-03 14:36:42 +00:00
braks 16b6f429a1 chore: bump version 2022-08-03 16:36:08 +02:00
braks 8b6afd3d07 refactor: move watch flush timing to pre 2022-08-03 16:33:40 +02:00
braks 250965d18f feat(viewpane): block keypress on inputs and .nokey elements
# What's changed?

* revert keypress listener on input elements (except button)
* skip keypress events on elements with `.nokey` classname
2022-08-03 16:33:40 +02:00
braks 3638e598e4 docs: update intro links 2022-08-01 21:25:48 +02:00
Git Cliff a986a6b2c6 chore: update CHANGELOG.md 2022-08-01 19:13:10 +00:00
braks f473dacffe chore: bump version 2022-08-01 21:12:34 +02:00
braks 9031b46b57 fix(store): cleanup default change handlers on watch scope dispose 2022-08-01 21:10:14 +02:00
braks a5d5da54cc chore: remove unused code 2022-08-01 21:10:14 +02:00
braks 10c34bb9fe chore: update pnpm-lock.yaml 2022-08-01 21:10:14 +02:00
braks d077d41d71 docs: update links and headlines 2022-08-01 21:10:14 +02:00
braks 90b3bd0bc3 refactor(store): reset store on unmount and skip re-creating hooks on re-mount 2022-08-01 21:10:14 +02:00
braks 0d10adcbdb fix(nodes): force update clause in updateDimensions 2022-08-01 21:10:14 +02:00
braks 8b02d7d3b3 refactor(store): re-bind hooks on mount and use hooks ref 2022-08-01 21:10:14 +02:00