Braks
f00f34d84b
refactor(types)!: Remove ElementId type
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-12-20 19:29:52 +01:00
Braks
708fa1f970
refactor(options)!: remove worker and store option
...
* either unnecessary, broken or needs more work
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-25 15:21:36 +01:00
Braks
409a268ddd
fix(examples): wrong type added to button-edge
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-24 01:05:03 +01:00
Braks
062aee45b2
update!: graphnode and node typing
...
* graphnode is a node containing internal Vue Flow data
* move util files to util directory
* move flow actions type into store file
* rename panel type file to zoom
* rename types file to flow
* Rename Node to NodeWrapper
* Rename Edge to EdgeWrapper
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-21 16:25:27 +01:00
Braks
39b21faa5b
refactor(types)!: Remove elements prop, change EdgeTypes/NodeTypes prop to string[]
...
* no more elements prop - v-model instead!
* Instead of passing an object map to components just pass in an array of strings as nodeTypes/edgeTypes object
* the string name will either be resolved to a dynamic component with :is="type" or a slot with the type-name
* update all examples
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-20 22:10:25 +01:00
Braks
470ab3782a
update: remove useHooks usage
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-18 23:17:09 +01:00
Braks
413c7ac688
update(types!): Merge EdgeProps into Edge type
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-16 17:45:01 +01:00
Braks
ffdadda051
update!: Rename Flow container to VueFlow
...
* Export renamed to VueFlow
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-15 20:34:02 +01:00
Braks
412a84a898
update(docs): styling of sidebar and header
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
update(docs): target server generation
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-06 15:42:05 +01:00
Braks
3931a59524
fix(docs): dedupe and add alias for vue
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-06 08:54:35 +01:00
Braks
6ec8258f33
fix: typings
2021-10-22 14:29:27 +02:00
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
20e9d1d396
update: fix names
2021-10-21 17:42:33 +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
c3fb3cd10a
fix: zoom pan helper
2021-10-20 22:39:54 +02:00
Braks
29c6df1755
update(examples): Fix examples
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
77eac0c12a
chore(lint): Update eslint rules
...
* Remove semi
2021-10-20 22:39:54 +02:00
Braks
156b312336
update: button edge example to remove edge on click
2021-08-08 20:33:55 +02:00
Braks
74a2a3d8c3
feat: add edge with button example
2021-08-08 20:25:44 +02:00