Braks
10215b4631
update: create vue.d.ts files
...
* add vue-tsc to emit d.ts files from vue components
* use absolute paths in components
* avoids conflicts with ts custom paths in vue-tsc generated vue.d.ts files
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-17 01:39:50 +01:00
Braks
d1dab4cda8
feat: Extend options to pass custom nodes / edges
...
* Accept either a Record<string, Component | boolean> or string[] as nodetypes option
* If bool / string is used a slot will be expected, otherwise no node/edge will be rendered
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-16 09:43:17 +01:00
Braks
3705a39fa8
refactor: perfomance optimisations through less dependency tracking
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-15 11:22:56 +01:00
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
a8f7cc2389
fix: zoom pane not scaling
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
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
6ec8258f33
fix: typings
2021-10-22 14:29:27 +02:00
Braks
ff7ee5c7fe
fix: label type in edges
2021-10-20 23:09:36 +02:00
Braks
2bfecf7148
update: change name to vue flow
...
* Add gif to readme
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-10-20 22:39:54 +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
8c54daedc0
feat: scope edge and node slots by name
...
* node, edge names slots scoped as `edge/node-${edge/node-type}`
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
cfc8f7782f
update: remove render tracking hooks
2021-10-20 22:39:54 +02:00
Braks
17f2517ab4
fix: too many re-render on edges and nodes
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
a5ae6a4e48
update(deps): Add unplugin-components
...
fix: Excessive rerender of edge texts
update(script-setup): Update some examples
* Remove more jsx files
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
ece1fecbf8
fix(perfomance): Edge updating too much
...
* Edges update constantly even though options aren't really changing
2021-08-17 22:13:24 +02:00
Braks
384c05240f
feat(example): Add edge types example (stress tests)
...
* Remove a lot of computed functions or merge them into existing ones
*
2021-08-16 21:17:38 +02:00
Braks
adb5ec544d
fix: Marker arrowheads not displayed
2021-08-08 19:28:45 +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
1a7f3da0b6
fix: types
2021-07-20 20:11:13 +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
ec45cd74e9
fix: create store instance for every revue flow instance
2021-07-11 09:32:51 +02:00
Braks
e4f57c79e8
feat: Create examples directory and add some examples
...
* Add svg plugins for vite & rollup
update: more bundle stuff
2021-07-10 23:51:04 +02:00
Braks
881655d483
update: renaming stuff from react to "revue"
2021-07-10 18:33:38 +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
f685c7a20a
fix: some bundle stuff
2021-07-10 14:28:21 +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
ea98c2afa1
feat: Show connection lines when holding down on handle
2021-07-09 16:09:58 +02:00
Braks
8f34d9d486
feat: add postcss config and deps
...
bugfix: some unused imports and node-selection component removed for now
update: README.md
2021-07-09 13:59:07 +02:00
Braks
b2c250ef38
feat: Make edges work
2021-07-09 13:39:17 +02:00
Braks
52e1188d04
feat: Transform react-flow to vue-jsx
2021-07-08 23:37:11 +02:00