Commit Graph
22 Commits
Author SHA1 Message Date
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 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 bb30db7c08 examples: add initial class to basic 2022-04-24 13:34:22 +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 1e23893e58 fix: import paths 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 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 c1594b0071 update(examples): move examples into src dir 2022-04-04 21:42:48 +02:00