Commit Graph
26 Commits
Author SHA1 Message Date
Braks aaf5f608f5 feat: add path alias for src
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-11-06 09:38:02 +01:00
Braks 5437d48325 fix: custom node example not fitting view
* fit view can't work (for the onLoad event) for elements assigned after the host has mounted (onMounted hook) as we can't calculate a rect of elements that don't exist at flow creation
* in this case just trigger fit view __after__ elements have been created/passed to the flow

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-11-06 08:54:35 +01:00
Braks ae0772b6d4 update(docs): fix view height 2021-11-06 08:54:35 +01:00
Braks 61779638ac update(dist): Remove rollup and use vite to build lib
* Remove custom tsconfig paths to avoid resolving issues on published package
2021-11-06 08:54:35 +01:00
Braks 64df75d405 feat(docs): Initial commit for docs in nuxt 3 2021-11-06 08:54:35 +01:00
Braks 6ec8258f33 fix: typings 2021-10-22 14:29:27 +02:00
Braks 3f863ef71c update(examples): Add Save & Restore example
* add localforage to dev deps
2021-10-22 10:00:21 +02:00
Braks 20e9d1d396 update: fix names 2021-10-21 17:42:33 +02:00
Braks c3fb3cd10a fix: zoom pan helper 2021-10-20 22:39:54 +02:00
Braks 560bdc203b update(script-setup): Refactor remaining files to script setup style 2021-10-20 22:39:54 +02:00
Braks 9307c9066a feat: script setup style
* Replace jsx with script setup syntax
* Simplify logic and make it more "composable"
    * Move Zoom functions to useZoom composable
* Update eslint config & tsconfig
2021-10-20 22:39:54 +02:00
Braks 77eac0c12a chore(lint): Update eslint rules
* Remove semi
2021-10-20 22:39:54 +02:00
Braks d6a8ed6be5 update: Color prop optional in MarkerDefinitions 2021-08-17 22:14:02 +02:00
Braks 25c92ecd84 update: Remove wrapEdge and wrapNode files
* implement Edge.tsx and Node.vue to wrap the components accordingly
refactor!: Removing callbacks from props in favor of events
chore: upgrade vue and vite vue plugin
2021-08-08 19:28:45 +02:00
Braks e77797acc7 fix: remove DraggableEvent type from utils file (doesn't exist anymore) 2021-07-17 21:11:39 +02:00
Braks 2f93c917e0 fix: user selection
deps: upgrade to latest revue-draggable
2021-07-15 23:32:58 +02:00
Braks c7fda830a6 update: use store injection in UserSelection component
fix: keypress not displaying working properly
2021-07-14 23:48:19 +02:00
Braks 6c9d88b09d refactor: use injected store so we can use a distinct instance not a global one 2021-07-13 16:13:15 +02:00
Braks d491c0196c update: renaming stuff from react flow to revue flow 2021-07-11 18:03:46 +02:00
Braks f685c7a20a fix: some bundle stuff 2021-07-10 14:28:21 +02:00
Braks e400b48e9c bugfix: utils file 2021-07-09 20:00:39 +02:00
Braks c9779467a3 bugfix: utils file 2021-07-09 19:55:06 +02:00
Braks 4319e2ac49 feat: Implement MiniMap, Background and Controls components 2021-07-09 17:52:21 +02:00
Braks 125340341d feat: update graph on new elements pushed 2021-07-09 16:32:03 +02:00
Braks 52e1188d04 feat: Transform react-flow to vue-jsx 2021-07-08 23:37:11 +02:00
Braks 4025ec82cb Initial Commit 2021-07-01 19:54:02 +02:00