bcakmakoglu
8e911deaa7
refactor(vue-flow,components): move position: absolute to required handle styles
2022-06-16 21:40:11 +02:00
bcakmakoglu
77e481bddb
docs: set inheritAttrs to false on teleportable nodes
2022-06-16 00:09:33 +02:00
bcakmakoglu
597f799fa4
docs: add multiple transition animations to teleport example
...
# What's changed?
* add fade and shrink animations to teleportable nodes
* demonstrate using `updateNodeDimensions` to properly align edges after a resizing transition
2022-06-15 22:38:57 +02:00
bcakmakoglu
2de121509e
docs: improve teleport example with transitions
2022-06-15 21:17:36 +02:00
bcakmakoglu
87ad709e5e
chore: add workflow to generate changelog on v*-tags push
2022-06-15 19:59:08 +02:00
Braks
e55a3fbeb6
chore: Update CHANGELOG.md
2022-06-15 19:43:10 +02:00
bcakmakoglu
893b35b519
chore: bump version
2022-06-15 19:41:36 +02:00
bcakmakoglu
0726a98170
docs: add documentation for Vue Flow slots
2022-06-15 19:31:20 +02:00
bcakmakoglu
53a85bf49b
docs: replace old typedoc links
2022-06-15 19:31:20 +02:00
bcakmakoglu
3587478e5f
docs: add documentation for MiniMapNode
2022-06-15 19:31:20 +02:00
bcakmakoglu
e469708b57
docs: replace old typedoc links
2022-06-15 19:31:20 +02:00
bcakmakoglu
06420ac6cd
feat(vue-flow,components): export MiniMapNode component
2022-06-15 19:31:20 +02:00
bcakmakoglu
33cd638fd9
docs: add documentation for ControlButton
2022-06-15 19:31:20 +02:00
bcakmakoglu
3162b79f54
docs: add slot documentation for Controls
2022-06-15 19:31:20 +02:00
bcakmakoglu
32086e0760
refactor(vue-flow,components): hide/show slots in Controls.vue
...
# What's changed?
* depending on props, hide slot as well
* rename `control-fitview` to `control-fit-view`
2022-06-15 19:31:20 +02:00
bcakmakoglu
14000111f9
docs: fit view on features flows on wrapper resize
2022-06-13 20:17:55 +02:00
bcakmakoglu
2bd81fe173
docs: set repl store on mounted
2022-06-13 20:17:55 +02:00
bcakmakoglu
281b0fccc8
docs: disable sources
2022-06-13 00:48:48 +02:00
bcakmakoglu
bd51614fb7
chore: add typedoc script to docs dev
2022-06-13 00:48:48 +02:00
bcakmakoglu
d3e6f63822
docs: generate typedocs sidebar dynamically from subdirectories
2022-06-13 00:48:48 +02:00
bcakmakoglu
12c27e9d78
docs: generate own document for all reflections
2022-06-13 00:48:48 +02:00
bcakmakoglu
fc981081ae
docs: skip readme when generating typedocs
2022-06-13 00:48:48 +02:00
bcakmakoglu
ecf454e7b2
chore: run typedocs before vuepress
2022-06-13 00:48:48 +02:00
bcakmakoglu
e4202b01c9
chore: update pnpm-lock.yaml
2022-06-13 00:48:48 +02:00
bcakmakoglu
be5df65cc2
docs: integrate TypeDocs into vuepress output
...
# What's changed?
* create sidebar from typedoc output
* use plugin markdown to generate typedoc as markdown
2022-06-13 00:48:48 +02:00
bcakmakoglu
669f9a075c
docs: use mutation observer to check dark mode class
2022-06-10 21:41:12 +02:00
Braks
62dda36165
chore: Update CHANGELOG.md
2022-06-10 21:24:26 +02:00
bcakmakoglu
59b64242d5
chore: bump version
2022-06-10 21:23:03 +02:00
Braks
fbcd00b588
chore: Update CHANGELOG.md
2022-06-10 21:16:36 +02:00
bcakmakoglu
7fe511fefd
chore: bump version
2022-06-10 21:15:42 +02:00
bcakmakoglu
fd6c34ce6c
chore(vue-flow): commit all files on postpublish
2022-06-10 21:14:49 +02:00
bcakmakoglu
62c45d3982
chore(vue-flow): commit version bump on postpublish
2022-06-10 21:11:10 +02:00
bcakmakoglu
7de3509bd2
chore(vue-flow): remove NodeProps generic from node label type
2022-06-10 21:11:10 +02:00
bcakmakoglu
8fd5505eec
docs: use mutation observer to check dark mode class
2022-06-10 21:11:10 +02:00
bcakmakoglu
9a4c4d6c02
docs: remove unnecessary div
2022-06-10 21:11:10 +02:00
bcakmakoglu
2e1b2db26b
docs: update Basic.vue class and style functions
2022-06-10 21:11:10 +02:00
bcakmakoglu
37fd017e37
refactor(nodes,edges): Remove BaseElement type
...
# What's changed?
* Remove `BaseElement` type
* Merge base element props into `Node` and `Edge` types
* Allow `ClassFunc` and `StyleFunc` types to specify what element type is used in callback
2022-06-10 21:11:10 +02:00
bcakmakoglu
9d94dfd7b7
chore(vue-flow): bump version
2022-06-10 15:59:48 +02:00
bcakmakoglu
7597c0c542
revert(#181,edges): filter old edge on update
2022-06-10 15:54:40 +02:00
bcakmakoglu
7fe5171f63
fix(#181,edges): bind edge mouse events to correct names
2022-06-10 15:54:40 +02:00
bcakmakoglu
3668caa3a1
docs: update intro lightmode styles
2022-06-10 15:54:40 +02:00
bcakmakoglu
650606ec76
docs: update deps
2022-06-10 15:54:40 +02:00
bcakmakoglu
fb8356e15a
revert: set emits explicitly
2022-06-10 15:54:40 +02:00
bcakmakoglu
e54f7b56d0
chore: move BaseEdgeProps to types
2022-06-10 15:54:40 +02:00
bcakmakoglu
699e252935
chore: update README.md links
2022-06-10 15:54:40 +02:00
bcakmakoglu
ac9389480d
feat(edges): export BaseEdgeProps
2022-06-10 15:54:40 +02:00
bcakmakoglu
fdc6f40c3c
chore: use type import for emit definition
2022-06-10 15:54:40 +02:00
bcakmakoglu
f94f72d31e
docs: add typedoc.json file
2022-06-10 15:54:40 +02:00
bcakmakoglu
c289e7e3cc
docs: update typedoc to use src/index.ts as entry
...
# What's changed?
* use src/index.ts as entry for typedocs instead of dist/index.d.ts (otherwise crashes with new vue-tsc version)
* update tsconfigs
* update turbo config and skip building d.ts files for typedocs
2022-06-10 15:54:40 +02:00
bcakmakoglu
77b441b1c6
chore: update lock file
2022-06-10 15:54:40 +02:00
bcakmakoglu
9ae97f4186
feat: explicitly define events in VueFlow component
...
# What's changed?
* add a duplicate `Emits` type defining the emitter functions
* replace `onScopeDispose` with `tryOnScopeDispose`
2022-06-10 15:54:40 +02:00
bcakmakoglu
3dd3c37fc2
chore: update dependencies
...
# What's changed?
* add `jsx: "preserve"` to tsconfig (necessary in new vue-tsc version)
2022-06-10 15:54:40 +02:00
Braks
b3a1726449
chore: Update CHANGELOG.md
2022-06-07 18:39:25 +02:00
bcakmakoglu
2efe25c989
chore: bump version
2022-06-07 18:38:59 +02:00
bcakmakoglu
c755208ebe
fix(edges): pass edge markers to wrapper
2022-06-07 18:33:00 +02:00
bcakmakoglu
096a0047d3
docs: remove unused ref
2022-06-07 18:33:00 +02:00
bcakmakoglu
90af73dcd3
chore: trigger fitViewOnInit after paneReady
2022-06-07 18:33:00 +02:00
bcakmakoglu
5b55d6b0af
chore: wait for paneReady to set zoompan
2022-06-07 18:33:00 +02:00
bcakmakoglu
e8923c8aae
chore(nodes): set dimensions after mount
2022-06-07 18:33:00 +02:00
bcakmakoglu
ac41c0093e
docs: use debounce for fitviews
2022-06-07 18:33:00 +02:00
bcakmakoglu
87f97efd42
refactor(nodes): set resize observer before mount
2022-06-07 18:33:00 +02:00
bcakmakoglu
7dd79f6256
feat(viewpane): defer viewport functions until pane is ready
...
# What's changed?
* Allow vue flow id to be passed to `useZoomPanHelper` and defer viewport functions until pane is ready
* Remove warning for using viewport functions too early
2022-06-07 18:33:00 +02:00
bcakmakoglu
8a570bea8b
fix(viewpane): set viewpane functions on Transform mount
...
# What's changed?
* log warnings when viewpane functions are used before viewpane is ready
2022-06-07 18:33:00 +02:00
bcakmakoglu
eb8fa5d5d8
docs: update docs
2022-06-07 18:33:00 +02:00
bcakmakoglu
c81362da60
chore: remove unnecessary imports
2022-06-07 18:33:00 +02:00
bcakmakoglu
9929278ff0
chore: fix missing imports
2022-06-07 18:33:00 +02:00
bcakmakoglu
a0e610aedd
docs: update examples
2022-06-07 18:33:00 +02:00
bcakmakoglu
5277506936
refactor(vue-flow,viewpane)!: remove FlowInstance type
2022-06-07 18:33:00 +02:00
bcakmakoglu
3a225a6871
docs: update examples
2022-06-07 18:33:00 +02:00
bcakmakoglu
58783fd4a1
refactor(vue-flow,viewpane): remove instance property and merge into useVueFlow
...
# What's changed?
* Remove the `instance` property from store and merge viewport functions into `useVueFlow`
* Add `getElements` getter
* Rename types
* Deprecate `FlowInstance` type
2022-06-07 18:33:00 +02:00
bcakmakoglu
382a3b67fc
feat(nodes): add effect scope to useDrag utility
2022-06-07 18:33:00 +02:00
bcakmakoglu
f434ab0f79
feat(nodes): allow connected edges to be removed with removeNodes
2022-06-07 18:33:00 +02:00
bcakmakoglu
a86eded793
fix(watcher): triggers recursively when store changes
2022-06-07 18:33:00 +02:00
bcakmakoglu
7276a39251
feat(edges,nodes): add removeNodes and removeEdges utilities to store
2022-06-07 18:33:00 +02:00
bcakmakoglu
aae071f781
docs: fix code block styles
2022-06-07 18:33:00 +02:00
Braks
deef900080
chore: Update CHANGELOG.md
2022-06-07 11:34:35 +02:00
bcakmakoglu
425e558e96
chore: bump version
2022-06-03 23:20:34 +02:00
bcakmakoglu
0649c0a236
docs: remove vuepress code stylings
2022-06-03 23:17:03 +02:00
bcakmakoglu
f685a9d8cf
docs: lint
2022-06-03 23:17:03 +02:00
bcakmakoglu
0102ebcd33
fix(nodes): performance issue with getNode
2022-06-03 23:17:03 +02:00
bcakmakoglu
f272bd60d7
chore: bump version
2022-06-03 21:34:51 +02:00
bcakmakoglu
f624c1a2c8
chore: use https for registry link
2022-06-03 21:29:12 +02:00
bcakmakoglu
22f87a8334
chore: add empty test script
2022-06-03 21:27:49 +02:00
bcakmakoglu
f21d317fe8
examples: add nuxt3 example
2022-06-03 21:21:53 +02:00
bcakmakoglu
f626c28b3b
chore: add .quasar to gitignore
2022-06-03 21:21:53 +02:00
bcakmakoglu
586e8bfe41
chore(nodes): use computed pos z for zIndex
2022-06-03 21:21:53 +02:00
bcakmakoglu
2bd15c1710
chore: replace Math.pow with **
2022-06-03 21:21:53 +02:00
bcakmakoglu
0b21708b58
fix(nodes): getNode not returning proper node element
...
# What's changed?
* use `.find` instead of computed index
2022-06-03 21:21:53 +02:00
bcakmakoglu
0373dae236
tests: update import path for utils
2022-06-03 19:32:46 +02:00
bcakmakoglu
330d6d7eac
examples: add quasar example
2022-06-03 19:32:46 +02:00
bcakmakoglu
8dd7c79700
examples: move current examples into examples/vite
2022-06-03 19:32:46 +02:00
bcakmakoglu
c6bda81c5e
docs: fix version link
2022-06-03 13:26:05 +02:00
bcakmakoglu
3672b86df3
chore(resize-rotate-node,pathfinding-edge): update git links
2022-06-01 22:28:04 +02:00
bcakmakoglu
fe77de1a0e
chore(pathfinding-edge): bump version
2022-06-01 22:25:49 +02:00
bcakmakoglu
2d47cfac74
chore: update lock file
2022-06-01 22:19:25 +02:00
bcakmakoglu
d6758918e6
chore(pathfinding-edge): remove np
2022-06-01 22:17:23 +02:00
bcakmakoglu
4810483fe6
chore(resize-rotate-node): remove np
2022-06-01 22:16:06 +02:00
bcakmakoglu
2858214e62
chore(resize-rotate-node): bump version
2022-06-01 22:12:05 +02:00
bcakmakoglu
d22773dad9
docs: use vueflow version from composable instead of pkg
2022-06-01 21:58:03 +02:00
bcakmakoglu
99499dd18c
docs: update vuepress version
2022-06-01 21:58:03 +02:00