Braks
|
9230f3279e
|
feat(docs): Add icons
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
fb1c828dea
|
update(zoom): disable pointer events on zoom pane when zoom key is active
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
ddeb70a08f
|
fix: force focus into node selection
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
74bc231844
|
fix: short circuit passing slots to renderer
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
d1e8c0f16e
|
fix(nodes): use node.extent before trying global nodeExtent
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
00423e7381
|
v0.4.0-25
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
c12e07bcda
|
fix(nodes,edges): check if type exists before using as index
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
984e34a9fb
|
v0.4.0-24
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
bf3506d50f
|
fix(nodes,edges): check if type exists before using as index
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
36e3299681
|
update(docs): Add windicss
* remove unused files
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
e97d9a1dc9
|
feat(nodes): debounce scaling to avoid lag spikes
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
528cac5d33
|
regression(nodes,edges): removing nodes/edges breaks renderer
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
0bfca93a7b
|
update(edges): support fragments as connection line slot
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
70646c5f95
|
update(edges): support fragments as edge slots
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
1347304667
|
update(nodes): support fragments as node slots
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
9dd71c2528
|
update(edges): v-if on existing edges before looping wrapper
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
37fc1fc040
|
regression: add slots to vue flow container to indicate possible slot names
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
6738e9783f
|
v0.4.0-23
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
8f3a2b9d54
|
update: Parse style.css with postcss instead of including it with vite
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
194d16e343
|
chore(pkg): Add tsconfig.node.json
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
e71b9d5e48
|
feat(docs): Add vitepress for docs & docs workspace
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
bf3ca8bfda
|
chore: update tsconfig.json
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
d95a83349b
|
feat(flow): export apply changes utilities for options api
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
4b0ac0a9b8
|
chore: shorten provide
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
3f15983f3e
|
feat(edges): Use slot injection for custom edges
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
307917011a
|
feat(edges): Use slot injection for custom connection lines
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
4cbdf0ccc1
|
feat(nodes): Pass node slots as injections to wrapper
* Avoids drilling slots which causes huge performance issues when 100+ nodes are present due to re-binding of props on each level
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
b47197f498
|
chore(dev-deps): Add vite plugins to examples
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
13103d6ec1
|
v0.4.0-22
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
b6216a849b
|
chore: update package.json files
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
8362d7fd7a
|
feat(examples): Add path alias for local dev
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
95bc46e616
|
fix(flow): store & usevueflow types
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
c1594b0071
|
update(examples): move examples into src dir
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
9539d7f263
|
chore: lint ts def files after build
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
7aea432ff7
|
chore: remove README.md after publish
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
2d64ace21c
|
v0.4.0-21
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
85fc6fcf0f
|
chore: copy README for pkg release
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
e20bc0f44d
|
v0.4.0-20
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
c0af3896ec
|
v0.4.0-19
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
1762861ab0
|
chore: update package.json files
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
540b3efb2d
|
v0.4.0-18
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
57f8428a35
|
feat: Add publish script
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
cd817b7f53
|
feat: implement workspaces
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
cc96739c38
|
update: rename typedocs out dir to typedocs
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
1fe8fd334b
|
chore(docs): update README.md
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
2899719ffa
|
v0.4.0-17
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
6d9f198737
|
chore: update auto-imports.d.ts
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
9a875430ec
|
fix(flow): set default prop as undefined for connectOnClick
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
25d769d553
|
chore(handle): remove setting elementBelow style onClick
* intended for hover
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
da5b8bf867
|
v0.4.0-16
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
a5a918a39b
|
regression(nodes,edges): use computed to get current node/edge
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
202773144f
|
fix(handle): prevent onClick from creating edges inside same node
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
5ba7170242
|
v0.4.0-15
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
0d6bc39e49
|
fix(nodes,edges): try to resolve component before falling back to default
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
897f662c29
|
v0.4.0-14
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
e136c28f0e
|
fix(flow): check if scope exists before accessing id
* add internal injection type
* move id getter to storage class
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
9b940142a7
|
fix(edges): use empty string instead of null when source-/target-handle is not present
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
c955d19263
|
update(store): rename update to updates (to fit arr type)
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
b46445e204
|
chore(nodes): Move watcher and computed to bottom
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
cb3e1232b2
|
fix(flow): change modelValue/node-/edge-prop when elements are added to state
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
544a62ecc4
|
update(flow): try fetching instance when out of scope
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
fa6c7b736c
|
fix: check if window exists before binding event listener for keypress
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
47646eac84
|
v0.4.0-13
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
88a8ecbdeb
|
feat(examples): Add ResizableNode to Basic example
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
0e48b77e14
|
regression: calculate handle bounds regardless of update
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
9a47c15662
|
regression: add slot to connection line
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
ae2867976c
|
chore: fix lint issues
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
7623ad4715
|
chore(docs): Add comments
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
aaba123bbc
|
refactor: remove background variant none
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
874684de15
|
v0.4.0-12
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
fddebb9393
|
fix(flow): cleanup of state
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
8b213dfee8
|
chore(docs): add comments to flow props
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
0a079afcee
|
refactor(nodes)!: Change children API to parentNode API
* instead of passing a children arr, pass a parentNode id
* allows for easier adding of new child nodes in options api
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
0d0ac9d2e6
|
fix(flow): check for scope before trying injection
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
095afc63ab
|
chore: remove unused var
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
c3c86c6179
|
v0.4.0-11
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
37382881af
|
chore: remove unused var
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
43692aa8ef
|
fix: add no pan class name to nodes selection
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
271d793327
|
fix: edges not selected on user selection
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
da2e95a517
|
refactor(store): rename selectionActive to userSelectionActive
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
024a434918
|
update: move mounted hooks up
* remove mounted hook from selection pane
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
7747456771
|
feat(nodes): Add dimensions to nodeprops
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
aa44fc300d
|
v0.4.0-10
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
70a349f7e1
|
fix(zoom): prevent scroll when zoom on scroll is false
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
de534e9a5f
|
fix(edges): missing source/target node props on smoothstep edges
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
f72e7dced3
|
v0.4.0-9
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
f30288da78
|
fix(nodes): check if prop label exists before using dynamic component
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
66743501af
|
fix(edges): use correct vars for center in straight edge
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
3acb43d000
|
fix(edges): use correct functions for center/path in simple bezier edge
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
2b2aad8cdc
|
fix: default prop value for zoomActivationKeyCode
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
afdf0b1d99
|
chore: remove logs
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
38b910ba3b
|
chore: fix lint issues
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
56f7e3b0c2
|
feat: Add SimpleBezierEdge
* Implement base edge
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
7d91aa28c2
|
refactor(zoom): make zoomActivationKeyCode non-optional again
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
a5e853cdc3
|
feat(zoom): Add d3zoom event to hooks
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
4af0ee02c1
|
refactor(zoom): make zoomActivationKeyCode non-optional again
* defaults to Meta
* handle pan by checking if zoomkey is *not* pressed
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
0bb54d6d36
|
refactor(zoom): Rename paneMovable to panOnDrag
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
c544a02344
|
feat(zoom): Add noPanClassName, noWheelClassName & noDragClassName
* For more flexible zoom behavior
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
9a8bf69848
|
feat: Add default edge options
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
aba67a4852
|
feat(edges): Add base edge
|
2022-04-04 21:42:48 +02:00 |
|