Braks
|
440ad3c681
|
fix(types): node/edge label type
* add Component to label type
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
88f808711a
|
feat: Allow node/edge template per element
* Allow templates to be overwritten per element with template option
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
2cc387fb2f
|
feat: Add name to BaseEdge.vue
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
fcdbc21d34
|
refactor(flow!): Change transform to viewport
* Change array type to object type and rename transform type to viewport
* Update examples & docs
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
3838ffc2fb
|
fix(nodes): remove v-if
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
3064e287e7
|
fix(nodes): trigger computedPosition watcher when selected changes
* z-index will not change back if selected does not trigger a change
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
8e3fef504c
|
refactor(nodes,edges,types!): Change label-type to string | VNode | Object
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
6b76b8be06
|
refactor(nodes): Add nodeElements prop again
* Remove templateRef and use regular ref (templateRef causes infinite re-renders)
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
38b7e0757d
|
fix(nodes): Parenthesis in handleId computed
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
8627fef5af
|
fix(nodes): use correct handleId
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
b206ff160f
|
fix(nodes,edges): Cast styles to css properties
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
5f6a805baa
|
refactor(edges): use computed properties for class and styles
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
2048423ab0
|
refactor(nodes): use computed properties for class and styles
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
2d7e2a710f
|
fix: replace watchDebounced with debouncedWatch
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
1e23893e58
|
fix: import paths
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
bc88e18f22
|
update(edges): Use proper handle bounds
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
342d0305a6
|
refactor(nodes): Replace DraggableCore with composable
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
8f2d94ae55
|
refactor(nodes!): Remove dimensions option, replace with width and height
* Can be used to set width, height (similar to style prop but with easier access)
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
4f026e841a
|
refactor(nodes): Remove DraggableCore component and use composable
* Remove node-element prop from NodeProps
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
158be8a515
|
feat: Assign default handle id and allow for actual loose connections
* When set to loose allow connections from all handles, this requires ids on handles so a default will be set if none provided
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
ec0f3ef0e4
|
fix: Selection not working twice in a row
|
2022-04-11 11:30:10 +02:00 |
|
Braks
|
908657c7ce
|
chore: move custom size check up above watcher
|
2022-04-05 21:00:35 +02:00 |
|
Braks
|
094c4ff9ae
|
feat(nodes): Allow pre-defined dimensions of a node
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
9b08271696
|
fix: remove vue from dev-deps
* fix default prop types
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
c68b1bf424
|
fix(edges): dont inherit attrs on smoothstep/stepedges
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
af23f733c0
|
chore(nodes,edges): remove v-bind
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
55588c3988
|
chore: remove default data value from default nodes
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
546dd4baaf
|
fix(nodes,edges): compute type in wrapper
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
444bf0a879
|
chore: add useStyle to wrappers
|
2022-04-04 21:42:48 +02:00 |
|
Braks
|
a50101bfd3
|
feat(nodes,edges): Allow class or styles to be bound with function
* function param is current node
* makes it easier to add classes / styles if specific node is selected etc.
|
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
|
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
|
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
|
cd817b7f53
|
feat: implement workspaces
|
2022-04-04 21:42:48 +02:00 |
|