Commit Graph
100 Commits
Author SHA1 Message Date
Git Cliff cfbc4d2065 chore: update CHANGELOG.md 2023-07-25 07:21:41 +00:00
braks 95612bae49 chore(changeset): add 2023-07-25 09:20:15 +02:00
braks ac86b77b89 fix(core): unwrap blur fn 2023-07-25 09:20:15 +02:00
braks 814d5edb26 chore(changeset): add 2023-07-25 09:20:15 +02:00
braks eb29f96f96 refactor(core): add viewport to export obj and deprecate position and zoom 2023-07-25 09:20:15 +02:00
braks fd155e41af fix(core): wait for viewport helper in fromObject action 2023-07-25 09:20:15 +02:00
Git Cliff f28318e874 chore: update CHANGELOG.md 2023-07-24 21:50:16 +00:00
braks 02891b3aa9 chore(changeset): add 2023-07-24 23:46:59 +02:00
braks 2a597f8605 feat(core): allow passing node or id to getoutgoers/getincomers 2023-07-24 23:46:59 +02:00
braks c4acb0d0f6 feat(core): add flag to removeNodes to remove children of a node 2023-07-24 23:46:59 +02:00
braks bc2de7254a chore(changeset): add 2023-07-24 23:46:59 +02:00
braks 45f18d5459 fix(core): use detached scope to dispose state and stop watcher 2023-07-24 23:46:59 +02:00
braks 581f2b1fec chore(changeset): add 2023-07-24 23:46:59 +02:00
braks 620852b860 fix(core): watch applyDefault state in useVueFlow scope 2023-07-24 23:46:59 +02:00
braks 4ed3acc021 chore(changeset): add 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 52ba0928f4 chore(docs): cleanup dead links 2023-07-24 23:46:59 +02:00
braks 4412516476 chore(core): cleanup 2023-07-24 23:46:59 +02:00
braks 5395c57d5d chore(changeset): add 2023-07-24 23:46:59 +02:00
braks 9f63252c62 feat(core): add setViewport and getViewport to viewport helper 2023-07-24 23:46:59 +02:00
braks ed6c298385 refactor(core): deprecate setTransform & getTransform 2023-07-24 23:46:59 +02:00
braks a2e4d99f5b fix(core): dont wait for nodesInitialized to trigger for viewport helper 2023-07-24 23:46:59 +02:00
braks 42aa13e2a5 chore(core): cleanup useZoomPanHelper 2023-07-24 23:46:59 +02:00
braks bf6dcfca4a chore(changeset): add 2023-07-24 23:46:59 +02:00
braks 7df2bfa146 feat(core): resolve promise from viewport actions on transition end 2023-07-24 23:46:59 +02:00
Git Cliff fb569b461b chore: update CHANGELOG.md 2023-07-24 07:57:46 +00:00
braks db4c2da9a5 feat(tests): add fitView tests 2023-07-24 09:55:03 +02:00
braks faee0e3ddc chore(tests): move setState test to separate dir 2023-07-24 09:55:03 +02:00
braks 8780ab5fc1 chore(changeset): add 2023-07-24 09:55:03 +02:00
braks 6bd442f844 fix(core): abort fit view when there's no nodes to fit around 2023-07-24 09:55:03 +02:00
braks 1ac6591d23 chore(changeset): add 2023-07-24 09:55:03 +02:00
braks 17755ddb9a fix(core): get correct handle pos for connection line 2023-07-24 09:55:03 +02:00
Git Cliff f28a4e03b9 chore: update CHANGELOG.md 2023-07-19 17:16:25 +00:00
braks bcde9161af chore(changeset): add 2023-07-19 19:12:29 +02:00
braks 08f749ae30 fix(core): pass handle dom node to valid handle result 2023-07-19 19:12:29 +02:00
braks 4cd433fbec chore(changeset): add 2023-07-19 19:12:29 +02:00
braks 4d5bbab506 fix(core): use noop viewport operations instead of waiting for promise 2023-07-19 19:12:29 +02:00
braks 715206404b chore(changeset): add 2023-07-19 19:12:29 +02:00
braks 4f36cef1e8 fix(core): connection status prop as nullable 2023-07-19 19:12:29 +02:00
braks 1b92785216 chore(changeset): add 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
Git Cliff ab3bb71b0a chore: update CHANGELOG.md 2023-07-13 15:56:23 +00:00
braks dce15085d1 chore(changeset): add 2023-07-11 00:21:19 +02:00
braks f52380d3d2 fix(core): nested nodes extent calculation off 2023-07-11 00:21:19 +02:00
braks f156107bb0 chore(changeset): add 2023-07-10 19:29:32 +02:00
Git Cliff e94285fab1 chore: update CHANGELOG.md 2023-07-10 17:26:11 +00:00
Braks 5838454086 refactor(core): resolve slots before returning default component (#1013) 2023-07-10 19:20:26 +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 6967067276 chore(changeset): add 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 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 e21ae682be chore(changeset): add 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 908ea3965e chore(changeset): add 2023-07-10 19:20:26 +02:00
braks 40732f2559 fix(core): add ref to base edge props 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 11f584a08a chore(workflows): disable qodana 2023-07-10 18:59:14 +02:00
Git Cliff 70528f8a99 chore: update CHANGELOG.md 2023-06-15 20:37:35 +00:00
braks b350486db3 chore(core): cleanup 2023-06-15 22:35:25 +02:00
braks f604c91a7d chore(changeset): add 2023-06-15 22:35:25 +02:00
braks f3931a2c05 fix(core): consider handle dimensions when checking for closest handle 2023-06-15 22:35:25 +02:00
braks 82befe722a chore(core): cleanup 2023-06-15 22:35:25 +02:00
braks 4d68397119 chore(core): remove groupEdgesByZIndex util 2023-06-15 22:35:25 +02:00
braks 4f4dfc32ea chore(changeset): add 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 5f7d439ee2 chore(changeset): add 2023-06-15 22:35:25 +02:00
braks b386c8580f fix(core): trigger connect if end handle exist in state 2023-06-15 22:35:25 +02:00
braks 2c2fdf9577 chore(changeset): add 2023-06-15 22:35:25 +02:00
braks 9d3c3584ff fix(core): handle pos calculation 2023-06-15 22:35:25 +02:00
braks 7cd4ed8334 chore(changeset): add 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 b017139d22 fix(core): reset end handle on connection end 2023-06-15 22:35:25 +02:00
braks e7e4f1fd0a chore(core): cleanup export path 2023-06-15 22:35:25 +02:00
braks a961e7be00 chore(changeset): add 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 c4c9283f3a chore(changeset): add 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 6eb5e5a986 chore(docs): update node and edge doc page 2023-06-08 18:50:35 +02:00
braks 12f4284a0a chore(docs): correct description of auto connect prop 2023-06-08 18:50:35 +02:00
braks 48ea70bc3e chore(docs): correct bgColor description and type 2023-06-08 18:50:35 +02:00
braks 4532157763 chore(docs): update deps 2023-06-08 18:50:35 +02:00
braks 005f696fbe chore(examples): update floating edges example 2023-05-29 16:52:40 +02:00
Git Cliff aef12a5743 chore: update CHANGELOG.md 2023-05-25 18:51:53 +00: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
braks b9c2ca9141 chore(changeset): add 2023-05-25 20:48:26 +02:00
braks 1690891804 fix(core): use all handles in radius and find closest valid one 2023-05-25 20:48:26 +02:00
braks 4336ff7578 chore(examples): update color selector node example 2023-05-25 20:48:26 +02:00
braks 94b43a68d6 chore: lint 2023-05-25 20:48:26 +02:00
braks 0e5a678a7b chore(core): update deps-dev 2023-05-25 20:48:26 +02:00
braks b2cdb6a143 chore(core): cleanup 2023-05-25 20:48:26 +02:00
braks 4ad10c5030 refactor(core): check if element is object 2023-05-25 20:48:26 +02:00
braks c52396b43b chore(core): cleanup 2023-05-25 20:48:26 +02:00
braks f720f27360 chore(core): remove reactivity transform 2023-05-25 20:48:26 +02:00
braks 9bf9c644be tests: use timeout to avoid cli run fails 2023-05-25 20:48:26 +02:00