Commit Graph

186 Commits

Author SHA1 Message Date
Braks
e2fd3b44ef refactor(edges): defer grouping to next tick 2022-04-24 13:34:22 +02:00
Braks
b6848e37c8 refactor(nodes,edges): Pass type component as prop
# What's changed?

* Pass component as prop
* Reduce watcher and computed
* Add reactivity transform macros to examples
2022-04-24 13:34:22 +02:00
Braks
bb30db7c08 examples: add initial class to basic 2022-04-24 13:34:22 +02:00
Braks
99d062728a chore: update vue flow version in docs/tests/examples 2022-04-21 10:47:53 +02:00
Braks
0dba6913a8 chore: bump versions 2022-04-13 22:48:23 +02:00
Braks
31423889d2 chore: update author field 2022-04-11 11:30:10 +02:00
Braks
3937d564a8 fix: lint scripts 2022-04-11 11:30:10 +02:00
Braks
2a836d705d feat: Add turbo to root deps-dev 2022-04-11 11:30:10 +02:00
Braks
440ad3c681 fix(types): node/edge label type
* add Component to label type
2022-04-11 11:30:10 +02:00
Braks
e14cf124ff fix(viewport): emit paneReady when dimensions are ready
* Wait for viewport & nodes to have their dimensions established before emitting paneReady
* Avoids getting 0 values for dimensions on paneReady
2022-04-11 11:30:10 +02:00
Braks
636598ba1a update(types): Typeguard input type 2022-04-11 11:30:10 +02:00
Braks
fcdbc21d34 refactor(flow!): Change transform to viewport
* Change array type to object type and rename transform type to viewport
* Update examples & docs
2022-04-11 11:30:10 +02:00
Braks
7aa1773e02 feat(examples): Add floating edges example 2022-04-11 11:30:10 +02:00
Braks
c617494bb8 chore: update vue to 3.2.25 2022-04-11 11:30:10 +02:00
Braks
1e23893e58 fix: import paths 2022-04-11 11:30:10 +02:00
Braks
59870a3a55 chore(deps): update deps 2022-04-11 11:30:10 +02:00
Braks
7aa1f4368e chore(examples): remove unused var 2022-04-04 21:42:48 +02:00
Braks
ffd3b672f1 chore(examples): uniform basic example 2022-04-04 21:42:48 +02:00
Braks
ae18d231b0 chore(docs): update algolia config 2022-04-04 21:42:48 +02:00
Braks
3d66775678 fix(flow): check for scope before providing store 2022-04-04 21:42:48 +02:00
Braks
9b08271696 fix: remove vue from dev-deps
* fix default prop types
2022-04-04 21:42:48 +02:00
Braks
3bbe92a4ea feat(docs): replace vitepress with vuepress
* vitepress too limited
2022-04-04 21:42:48 +02:00
Braks
d6b41afefd update(examples): Add button edge example 2022-04-04 21:42:48 +02:00
Braks
ade61ca2e1 update(types): Remove unnecessary type exports
* rename StringFunc for better understanding
2022-04-04 21:42:48 +02:00
Braks
55588c3988 chore: remove default data value from default nodes 2022-04-04 21:42:48 +02:00
Braks
d913df6187 update(examples): import order 2022-04-04 21:42:48 +02:00
Braks
94e5bda77e update(examples): Update stress example syntax 2022-04-04 21:42:48 +02:00
Braks
e71b9d5e48 feat(docs): Add vitepress for docs & docs workspace 2022-04-04 21:42:48 +02:00
Braks
b47197f498 chore(dev-deps): Add vite plugins to examples 2022-04-04 21:42:48 +02:00
Braks
8362d7fd7a feat(examples): Add path alias for local dev 2022-04-04 21:42:48 +02:00
Braks
c1594b0071 update(examples): move examples into src dir 2022-04-04 21:42:48 +02:00
Braks
9539d7f263 chore: lint ts def files after build 2022-04-04 21:42:48 +02:00
Braks
1762861ab0 chore: update package.json files 2022-04-04 21:42:48 +02:00
Braks
cd817b7f53 feat: implement workspaces 2022-04-04 21:42:48 +02:00
Braks
88a8ecbdeb feat(examples): Add ResizableNode to Basic example 2022-04-04 21:42:48 +02:00
Braks
0a079afcee refactor(nodes)!: Change children API to parentNode API
* instead of passing a children arr, pass a parentNode id
* allows for easier adding of new child nodes in options api
2022-04-04 21:42:48 +02:00
Braks
3acb43d000 fix(edges): use correct functions for center/path in simple bezier edge 2022-04-04 21:42:48 +02:00
Braks
afdf0b1d99 chore: remove logs 2022-04-04 21:42:48 +02:00
Braks
56f7e3b0c2 feat: Add SimpleBezierEdge
* Implement base edge
2022-04-04 21:42:48 +02:00
Braks
4644af5736 fix(nodes): expand nodes correctly when prop enabled 2022-04-04 21:42:48 +02:00
Braks
9a8caf444c feat(store): Enable using a parentNode / parentNodeId to add child nodes 2022-03-23 17:43:27 +01:00
Braks
6a2c1b00d7 feat: Enable passing components as node/edge-types
* Instead of using slots (re)-enable passing components for node/edge-types
2022-03-23 15:49:00 +01:00
Braks
65d079db20 feat: use a storage class to map flow instances
* improves cleanup of instances
2022-03-23 06:47:57 +01:00
Braks
2fa7e22b5f feat(background): Allow background height/width to be set
* allow for bgColor to be set
* allow for no pattern to be used
2022-03-14 14:10:38 +01:00
Braks
d948f5eef4 feat(zoom): Allow zoomOnScroll & panOnScroll to be used without an activation key
* activation key is undefined by default, if undefined key is always "pressed"
2022-03-14 14:10:38 +01:00
Braks
9317f786b3 update(examples): Use Shift for panOnScroll on Windows OS 2022-03-12 18:38:30 +01:00
Braks
afaa038584 fix(zoom): prevent zoom when zoomOnScroll is disabled 2022-03-12 18:28:35 +01:00
bcakmakoglu
158f81d5e5 update(examples): unidirectional example
Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
2022-03-08 11:06:45 +01:00
bcakmakoglu
6e5c58fcae refactor: Remove link from deps
Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
2022-02-22 10:35:38 +01:00
bcakmakoglu
b51c26f6bb update: Add tsconfig.build.json
Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
2022-02-21 20:25:17 +01:00