Commit Graph

308 Commits

Author SHA1 Message Date
braks
7a657f141a refactor(edges,store): emit connection events start and end with actions 2022-10-07 22:55:38 +02:00
thomasmountford
485d7b2dd3 Updated UpdatableEdgeExample to still have a label on the updatable edge 2022-08-30 22:16:10 +02:00
thomasmountford
7732ad9b76 Added docs for type EdgeUpdatable
Implemented type EdgeUdatable in global configuration for VueFlow instance
2022-08-30 22:16:10 +02:00
braks
5c688030f5 chore: quasar example vue flow version 2022-07-27 22:53:40 +02:00
braks
ce77bc5d64 chore(deps): upgrade dependencies 2022-07-27 22:49:00 +02:00
braks
d96e944a49 fix(types): use correct edge event types
# What's changed?

* instead of `MouseEvent`, emit `EdgeMouseEvent` type
* fix examples
2022-07-22 16:56:10 +02:00
bcakmakoglu
942a122fcb examples: fix import path 2022-06-16 23:00:31 +02:00
bcakmakoglu
650606ec76 docs: update deps 2022-06-10 15:54:40 +02:00
bcakmakoglu
3dd3c37fc2 chore: update dependencies
# What's changed?

* add `jsx: "preserve"` to tsconfig (necessary in new vue-tsc version)
2022-06-10 15:54:40 +02:00
bcakmakoglu
a0e610aedd docs: update examples 2022-06-07 18:33:00 +02:00
bcakmakoglu
f21d317fe8 examples: add nuxt3 example 2022-06-03 21:21:53 +02:00
bcakmakoglu
330d6d7eac examples: add quasar example 2022-06-03 19:32:46 +02:00
bcakmakoglu
8dd7c79700 examples: move current examples into examples/vite 2022-06-03 19:32:46 +02:00
bcakmakoglu
c07069dcd0 refactor: replace yarn with pnpm as package manager 2022-06-01 21:58:03 +02:00
bcakmakoglu
ee78e925e0 examples: fix import path 2022-05-27 23:36:01 +02:00
Braks
fe6114c738 chore: lint 2022-05-27 23:36:01 +02:00
Braks
bae5d1e26d chore: lint 2022-05-27 23:36:01 +02:00
Braks
1ddeffe1af refactor(nodes,edges): Add node/edge add changes
# What's changed?

* Elements are not added directly to state but parsed and emitted through change handler and then inserted to state
* Remove add element cb from apply changes
* Remove reset change (not implemented)
2022-05-27 23:36:01 +02:00
Braks
98a893108c docs: replace codesandbox embed with repl (#122)
* docs: Animations

* docs: add confetti gun

* docs: update basic example on home page

* docs(deps): Add stackblitz sdk to deps

* chore: update yarn.lock

* docs: use vue repl

* docs: remove stackblitz sdk

* docs: basic repl example

* docs: use repl for examples/index.md (basic example)

* docs: pass ext to repl

* docs: add copy plugin

* docs: use import map instead of dynamic imports

* docs: use repl for custom node example

* docs: hide repl errors

* docs: use repl for custom connectionline example

* docs: use repl for edges example

* docs: exclude repl from ssr

* docs: use repl for nested example

* docs: use repl for stress example

* docs: rename customNode to custom-node

* docs: use repl for update-edge example

* docs: use repl for update-node example

* docs: use repl for validation example

* docs: use repl for save-restore example

* docs: scale down minimap in repl examples

* docs: use repl for dnd example

* docs: use repl for empty example

* docs: use repl for hidden example

* docs: use repl for interaction example

* docs: use repl for multi example

* docs: add pinia example with stackblitz

* docs: update basic example

* docs: update examples

* docs: remove transition from intro

* docs: update features

* update: README.md

* docs: scope css
2022-05-26 19:28:25 +02:00
Braks
233f5cd078 chore(examples): Update vue-flow pkg alias path 2022-05-22 22:46:47 +02:00
Braks
1d2322eb46 examples: Update node example color 2022-05-14 18:26:55 +02:00
Braks
22845c210d chore: lint files 2022-05-11 22:10:40 +02:00
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