Commit Graph
59 Commits
Author SHA1 Message Date
Braks c68b1bf424 fix(edges): dont inherit attrs on smoothstep/stepedges 2022-04-04 21:42:48 +02:00
Braks 981511c76f fix(flow): computed getter type 2022-04-04 21:42:48 +02:00
Braks 2915c802e7 v0.4.0-29 2022-04-04 21:42:48 +02:00
Braks ca74d7b470 fix(flow): injection missing 2022-04-04 21:42:48 +02:00
Braks 186b96f87d update(flow): generic types 2022-04-04 21:42:48 +02:00
Braks af23f733c0 chore(nodes,edges): remove v-bind 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 71e21e50d9 fix(flow): no transform of id to ref 2022-04-04 21:42:48 +02:00
Braks d913df6187 update(examples): import order 2022-04-04 21:42:48 +02:00
Braks 546dd4baaf fix(nodes,edges): compute type in wrapper 2022-04-04 21:42:48 +02:00
Braks 8e6e85a007 fix: use global nodeExtent if node.extent is undefined 2022-04-04 21:42:48 +02:00
Braks 913ebb0db0 v0.4.0-28 2022-04-04 21:42:48 +02:00
Braks be8d4afa86 chore: remove unused export 2022-04-04 21:42:48 +02:00
Braks 444bf0a879 chore: add useStyle to wrappers 2022-04-04 21:42:48 +02:00
Braks 12f1787057 v0.4.0-27 2022-04-04 21:42:48 +02:00
Braks 9344365aff update: set zindex to 0 on initial parse 2022-04-04 21:42:48 +02:00
Braks a50101bfd3 feat(nodes,edges): Allow class or styles to be bound with function
* function param is current node
* makes it easier to add classes / styles if specific node is selected etc.
2022-04-04 21:42:48 +02:00
Braks 73a9016aff fix(store): Getter type 2022-04-04 21:42:48 +02:00
Braks 83ea90555e update: short circuit connection line slot 2022-04-04 21:42:48 +02:00
Braks 85f563ac52 regression: enable pointer events on zoom pane 2022-04-04 21:42:48 +02:00
Braks ca5036f5a9 v0.4.0-26 2022-04-04 21:42:48 +02:00
Braks fb1c828dea update(zoom): disable pointer events on zoom pane when zoom key is active 2022-04-04 21:42:48 +02:00
Braks ddeb70a08f fix: force focus into node selection 2022-04-04 21:42:48 +02:00
Braks 74bc231844 fix: short circuit passing slots to renderer 2022-04-04 21:42:48 +02:00
Braks d1e8c0f16e fix(nodes): use node.extent before trying global nodeExtent 2022-04-04 21:42:48 +02:00
Braks 00423e7381 v0.4.0-25 2022-04-04 21:42:48 +02:00
Braks c12e07bcda fix(nodes,edges): check if type exists before using as index 2022-04-04 21:42:48 +02:00
Braks 984e34a9fb v0.4.0-24 2022-04-04 21:42:48 +02:00
Braks bf3506d50f fix(nodes,edges): check if type exists before using as index 2022-04-04 21:42:48 +02:00
Braks e97d9a1dc9 feat(nodes): debounce scaling to avoid lag spikes 2022-04-04 21:42:48 +02:00
Braks 528cac5d33 regression(nodes,edges): removing nodes/edges breaks renderer 2022-04-04 21:42:48 +02:00
Braks 0bfca93a7b update(edges): support fragments as connection line slot 2022-04-04 21:42:48 +02:00
Braks 70646c5f95 update(edges): support fragments as edge slots 2022-04-04 21:42:48 +02:00
Braks 1347304667 update(nodes): support fragments as node slots 2022-04-04 21:42:48 +02:00
Braks 9dd71c2528 update(edges): v-if on existing edges before looping wrapper 2022-04-04 21:42:48 +02:00
Braks 37fc1fc040 regression: add slots to vue flow container to indicate possible slot names 2022-04-04 21:42:48 +02:00
Braks 6738e9783f v0.4.0-23 2022-04-04 21:42:48 +02:00
Braks 8f3a2b9d54 update: Parse style.css with postcss instead of including it with vite 2022-04-04 21:42:48 +02:00
Braks 194d16e343 chore(pkg): Add tsconfig.node.json 2022-04-04 21:42:48 +02:00
Braks bf3ca8bfda chore: update tsconfig.json 2022-04-04 21:42:48 +02:00
Braks d95a83349b feat(flow): export apply changes utilities for options api 2022-04-04 21:42:48 +02:00
Braks 4b0ac0a9b8 chore: shorten provide 2022-04-04 21:42:48 +02:00
Braks 3f15983f3e feat(edges): Use slot injection for custom edges 2022-04-04 21:42:48 +02:00
Braks 307917011a feat(edges): Use slot injection for custom connection lines 2022-04-04 21:42:48 +02:00
Braks 4cbdf0ccc1 feat(nodes): Pass node slots as injections to wrapper
* Avoids drilling slots which causes huge performance issues when 100+ nodes are present due to re-binding of props on each level
2022-04-04 21:42:48 +02:00
Braks 13103d6ec1 v0.4.0-22 2022-04-04 21:42:48 +02:00
Braks b6216a849b chore: update package.json files 2022-04-04 21:42:48 +02:00
Braks 95bc46e616 fix(flow): store & usevueflow types 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