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
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