Commit Graph
100 Commits
Author SHA1 Message Date
Braks a9ccd61eec feat(core): add useEdgesData composable (#1462)
* feat(core): add `useEdgesData` composable

* chore(changeset): add

* chore(core): add export
2024-06-13 00:04:51 +02:00
braks 19df6ca57a fix(core): event type 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 d71de0a92d chore(docs): update example styles (#1469)
* chore(docs): update basic example styles

* chore(docs): update confirm delete example styles

* chore(docs): update dnd example styles

* chore(docs): update hidden example

* chore(docs): update update node example

* chore(docs): update node toolbar example styles

* chore(docs): update transition example styles

* chore(docs): cleanup basic example els

* chore(docs): cleanup examples
2024-06-10 23:51:47 +02:00
BraksandGitHub 5dc8711a6b chore(docs): update vitepress to latest (#1468)
* chore(docs): update vitepress to latest

* chore(docs): cleanup styles
2024-06-10 15:11:40 +02:00
braks 78f2635c5e chore(docs): update visibility example styles 2024-06-09 15:09:05 +02:00
braks 01e1b32104 chore(docs): update interaction example styles 2024-06-09 15:04:03 +02:00
braks ee8d30d1cf chore(docs): update math examples styles 2024-06-09 14:58:29 +02:00
braks 5e953bdb44 chore(docs): update save and restore example 2024-06-09 14:52:26 +02:00
braks 6ee31708ab fix(docs): add width/height to icons 2024-06-09 14:24:39 +02:00
braks 50a3b0eab5 chore(docs): update repl vue version 2024-06-09 13:04:26 +02:00
braks ba43421674 chore(docs): correct header styles 2024-06-09 13:04:26 +02:00
Braks 257c7aa704 examples: add confirm delete example (#1466)
* examples: add confirm delete example

* docs: add confirm delete example
2024-06-09 13:04:20 +02:00
braks 67da354917 chore(docs): cleanup math example 2024-06-09 13:04:20 +02:00
braks 51986d7c6c docs: prettify example css files 2024-06-09 13:04:20 +02:00
BraksandGitHub a8ba97331f examples: add math example (#1461)
* examples: add math example

* docs: add math example
2024-06-08 20:35:18 +02:00
braks f74be96b2d examples: add screenshot example (#1456) 2024-06-08 16:56:21 +02:00
BraksandGitHub 6503b3e9ed examples: update pinia example (#1458)
* examples: update pinia example

* chore(examples): update pinia dep

* examples: add icons to pinia panel

* docs(examples): update pinia example
2024-06-08 16:07:50 +02:00
Git Cliff 9bd813dc59 chore: update CHANGELOG.md 2024-06-06 08:47:37 +00:00
braks 40f2421dc9 chore(core): add missing container class name 2024-06-06 10:45:38 +02:00
braks 25bb585220 chore(core): cleanup 2024-06-06 10:45:38 +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 faf67c2b55 fix(core): use computed edge ref 2024-06-06 10:45:38 +02:00
Braks 876b71dc19 refactor(core): use node/edge id as only dependency for nodes/edges list (#1447)
* refactor(core): use node id to (re-)render nodes

* refactor(core): use edge id to (re-)render nodes

* chore(changeset): add

* chore(core): cleanup

* chore(core): cast cmp as any
2024-06-06 10:45:38 +02:00
Braks 8bc1c99252 fix(core): disable drag when using multi-touch (#1448)
* fix(core): disable drag when using multi-touch

* chore(changeset): add
2024-06-06 10:45:38 +02:00
Braks 1b5e14a5b8 fix(core): disable zoom on mobile when zoomToPinch is false (#1449)
* fix(core): disable zoom on mobile when zoomToPinch is false

* chore(changeset): add
2024-06-06 10:45:38 +02:00
braks 0c1bd1b204 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 5e9db1c87f refactor(core): render null if edge is hidden 2024-06-06 10:45:38 +02:00
braks e5508bc8eb chore(changeset): add 2024-06-06 10:45:38 +02:00
braks 3498399ef7 refactor(core): render null if node is hidden 2024-06-06 10:45:38 +02:00
braks ea45545835 refactor(core): use all nodes in node renderer 2024-06-06 10:45:38 +02:00
braks 329be6b60c chore(changeset): update 2024-06-06 10:45:38 +02:00
braks a220161876 docs: cleanup examples 2024-06-06 10:45:38 +02:00
braks 82d99915d3 tests: update handle ids in tests 2024-06-06 10:45:38 +02:00
braks 660831cc37 refactor(core): check if starting handle exists 2024-06-06 10:45:38 +02:00
braks 688f886f9b chore(changeset): add 2024-06-06 10:45:38 +02:00
braks c822f9c632 refactor(core,handle): remove auto-generated handle ids 2024-06-06 10:45:38 +02:00
braks 5703647290 chore(core): add todos for parentId 2024-06-06 10:45:38 +02:00
braks 5d3f87fd56 refactor(core): use vue-flow__marker on marker defs el 2024-06-06 10:45:38 +02:00
braks 0d971d89b6 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
Git Cliff fa7087f7ff chore: update CHANGELOG.md 2024-05-31 14:12:50 +00:00
braks 5c2f15061e refactor(core): replace array map 2024-05-31 16:09:34 +02:00
braks dc3ef700f2 chore(changeset): add 2024-05-31 16:09:34 +02:00
braks 860570e1db chore(changeset): add 2024-05-31 16:09:34 +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 ac5e69b2c8 chore(changeset): add 2024-05-31 16:09:34 +02:00
braks cd362799e4 fix(core): use separate prevConnections map 2024-05-31 16:09:34 +02:00
Git Cliff 6dbf1ea2f6 chore: update CHANGELOG.md 2024-05-28 17:22:19 +00:00
braks f698b2dbcc chore(changeset): add 2024-05-28 19:18:23 +02:00
braks 1c4e208627 fix(controls): allow PanelPositionType as position value 2024-05-28 19:18:23 +02:00
braks c59803e6cc fix(minimap): allow PanelPositionType as position value 2024-05-28 19:18:23 +02:00
braks 6bf41079ed feat(core): export PanelPositionType 2024-05-28 19:18:23 +02:00
braks 2e2c389653 chore(changeset): add 2024-05-28 19:18:23 +02:00
braks 8a8c8f50bf feat(core): add missing styles warning 2024-05-28 19:18:23 +02:00
Git Cliff 9eb5769e0c chore: update CHANGELOG.md 2024-05-15 07:01:55 +00:00
braks da32e165bd chore(changeset): add 2024-05-15 09:00:24 +02:00
braks 96b78ce19d fix(core): prevent auto pan if set to false 2024-05-15 09:00:24 +02:00
braks 7267baa31c fix(workflows): set specific pnpm version 2024-05-15 09:00:24 +02:00
Git Cliff 6576836c96 chore: update CHANGELOG.md 2024-05-12 16:16:40 +00:00
braks afdf1a4ec6 chore(changeset): add 2024-05-12 18:15:07 +02:00
braks 7f51faee45 fix(core): allow wheel to bubble if not used by vf 2024-05-12 18:15:07 +02:00
braks adfc01d1f3 chore(docs): correct dagre import path 2024-05-12 18:06:56 +02:00
braks 6e64229b07 chore: update package manager field 2024-05-12 18:06:56 +02:00
braks 880fc15017 chore: update node to 20 2024-05-12 18:06:56 +02:00
braks f059ba2ce8 chore(deps-dev): update turbo to latest 2024-05-12 18:06:56 +02:00
braks cefd802440 chore(workflows): update pnpm version to 9 2024-05-12 18:06:56 +02:00
braks 1206308693 chore: update pnpm version to 9 2024-05-12 18:06:56 +02:00
braks f1bd5b5eef chore(docs,examples): replace dagre with dagrejs/dagre 2024-05-12 18:06:56 +02:00
braks 8d3887f615 chore(examples): cleanup reactivity transform 2024-04-29 20:59:42 +02:00
Git Cliff ed7c2af5d5 chore: update CHANGELOG.md 2024-04-29 18:59:17 +00:00
braks 40e4478be9 chore(changeset): add 2024-04-29 20:56:09 +02:00
braks 84969ab451 fix(core): prevent delete action if inside input field 2024-04-29 20:56:09 +02:00
braks b0f1bf0b85 fix(core): add options to useKeyPress 2024-04-29 20:56:09 +02:00
braks f3c1ac7ddc chore(changeset): add 2024-04-29 20:56:09 +02:00
braks 464dc582dc fix(core): pass path options to edges 2024-04-29 20:56:09 +02:00
braks bc94cde934 chore(changeset): add 2024-04-29 20:56:09 +02:00
braks ffb649ecbd fix(core): allow pinch-zoom if preventScrolling is disabled 2024-04-29 20:56:09 +02:00
braks 4f0f62acf4 chore(changeset): add 2024-04-29 20:56:09 +02:00
braks 590afc87f4 fix(core): set ltr for vue flow wrapper 2024-04-29 20:56:09 +02:00
braks 1f1792bd09 chore: update README example 2024-04-16 16:17:57 +02:00
Git Cliff 6b8851bd67 chore: update CHANGELOG.md 2024-03-24 12:32:53 +00: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 7939ca84b3 chore(changeset): add 2024-03-24 13:31:22 +01:00
braks 31700221f2 fix(core): store vf instance on vue app for ssr 2024-03-24 13:31:22 +01:00
braks f858d13909 refactor(core): remove reactivity transform 2024-03-24 13:31:22 +01:00
Git Cliff 9c96896027 chore: update CHANGELOG.md 2024-03-06 21:23:35 +00:00
braks 28cb081a4e chore(changeset): add 2024-03-06 22:21:57 +01:00
braks 5df365cd63 chore(core,types): cleanup 2024-03-06 22:21:57 +01:00
braks e06d2e6a23 revert(core,types): revert extending events from separate interfaces 2024-03-06 22:21:57 +01:00
Git Cliff 15cc9b9afd chore: update CHANGELOG.md 2024-03-06 18:07:20 +00:00
braks 75eb364127 chore(core,types): export interfaces 2024-03-06 19:03:28 +01:00
braks c339058dcd chore(changeset): add 2024-03-06 19:03:28 +01:00