Braks
babcbd0e1f
update: Flow instance provides update node internals func
...
* Rename onLoadParams to FlowInstance
* Pass update node internals to instance
2021-10-22 12:39:55 +02:00
Braks
3ee3843af6
fix: Edge updates not triggering properly
...
update(types): Add FlowEvents type
2021-10-22 10:46:12 +02:00
Braks
3f863ef71c
update(examples): Add Save & Restore example
...
* add localforage to dev deps
2021-10-22 10:00:21 +02:00
Braks
0a45e09c32
feat: Add node/edge types id
...
* ID can be used to switch between different types of nodes/edges
* Add example
2021-10-22 08:49:53 +02:00
Braks
20e9d1d396
update: fix names
2021-10-21 17:42:33 +02:00
Braks
cd02dd0444
fix: node type change not triggering recalculation of node dimensions
2021-10-21 16:23:23 +02:00
Braks
ca2901bc01
fix: zoom pan helper not being initialized timely
2021-10-21 13:46:15 +02:00
Braks
77d2e01fc0
update: types
...
* Add elements to flowoptions type
* add window interface to custom shims
2021-10-21 00:24:59 +02:00
Braks
5f500bca18
fix: store actions blocking main thread
...
* map function overwriting nodes causes main thread to be blocked
* instead use splice
2021-10-20 23:46:47 +02:00
Braks
b2b1fe822f
feat: add useStore and useHooks composables that provide default store/hooks
2021-10-20 22:39:54 +02:00
Braks
61dc9dea33
fix: edges and edge anchors not re-calculating correctly
2021-10-20 22:39:54 +02:00
Braks
9d9a90e9a7
update: Add slots to CustomConnectionLine.vue, Edge.vue, Node.vue
2021-10-20 22:39:54 +02:00
Braks
6cfe5f6d43
chore(deps): remove unused deps
...
* update deps
* some ts fixes
2021-10-20 22:39:54 +02:00
Braks
c3fb3cd10a
fix: zoom pan helper
2021-10-20 22:39:54 +02:00
Braks
a895853b64
update: Add injection keys
2021-10-20 22:39:54 +02:00
Braks
6b4e7ab3ce
fix: Minimap
2021-10-20 22:39:54 +02:00
Braks
1ff3a8dc9c
update(script-setup): Refactor additional-components
...
* Remove jsx files
fix: ConnectionLine.vue not recalculating properly
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
3557284a40
refactor(types): Split types into separate files
...
* for better organization split typings into separate files
* use index as barrel file
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
3b5857febb
fix: typecast edges and nodes
...
* make GraphView props all required
refactor: renamed "NodesTypeType" to "NodeType" and "EdgesTypeType" to "EdgeType"
2021-08-08 19:28:45 +02:00
Braks
1d542aba65
refactor: back to jsx 🥇
2021-08-08 19:28:45 +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
ffd41fb679
refactor: Refactor some jsx files to vue files
...
feat: add global hooks to emulate sort of an event bus between components
* global hooks are not exposed to user but emit events upward from Revue-flow component, just more convenient
2021-08-08 19:28:45 +02:00
Braks
ef9647ceb4
chore: add vueuse/core to deps
...
feat: Implement onKeystrok of vueuse
* Implement useEventlistener
fix: node selection not properly selecting underlying nodes
2021-07-23 17:50:48 +02:00
Braks
1a7f3da0b6
fix: types
2021-07-20 20:11:13 +02:00
Braks
7c7c31b46f
fix: no use of fragments for nodes as it results in warning from vue and we got enough of those as is
...
* some typing issues
2021-07-17 22:54:52 +02:00
Braks
f5580b6d96
feat: Add revue-draggable
...
refactor: remove vue-draggable
* couple of prop default changes
2021-07-14 15:41:59 +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
d50d74598b
update: no vue-2 compatability (doesn't work with current build)
...
* README.md
2021-07-10 16:42:39 +02:00
Braks
6f39ae6de8
update: more changes to bundle config...
2021-07-10 12:31:09 +02:00
Braks
082d460e12
update: more changes to bundle config...
2021-07-10 12:21:45 +02:00
Braks
92caccfd6e
update: use vue-demi again to add compatability to vue2
...
* add vite.config.app.ts for demo generation
2021-07-10 11:51:12 +02:00
Braks
59b6af384c
update: remove vue-demi
2021-07-10 00:45:46 +02:00
Braks
99548a0dba
fix: try to deploy as package...
2021-07-09 21:54:05 +02:00
Braks
bf95b23a7f
bugfix: types file
2021-07-09 19:30:47 +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