Commit Graph
106 Commits
Author SHA1 Message Date
Braks c52b870a3d chore(deps-dev): Move ts-patch and typescript-transform-paths to package dev-deps 2022-04-11 11:30:10 +02:00
Braks 534c514f15 v0.4.2-1 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 c964fb6b7d refactor(nodes): Remove position func
* it's not improving on existing methods, i.e. no real benefit to it
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 c6b8aa88ea chore: import sort 2022-04-11 11:30:10 +02:00
Braks 106d2879ce update(types): Allow void return for styles/class func 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 8c2227132f fix(flow): await until d3zoom is rdy 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 c617494bb8 chore: update vue to 3.2.25 2022-04-11 11:30:10 +02:00
Braks 60feb5d661 refactor(flow!): Remove paneReady state value 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 59870a3a55 chore(deps): update deps 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 96c844a64c v0.4.2-0 2022-04-11 11:30:10 +02:00
Braks 1e9cbc0643 feat(nodes): Add PositionFunc as node position type
* Allows position to be set relative to another node
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 fdde631f70 refactor(edges): Remove width/height attribute 2022-04-11 11:30:10 +02:00
Braks 06b0c143b5 chore: add prefix to console messages 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 bf2c77fb59 feat(flow): Promisify updateNodePosition
* helps with selected nodes dragging performance
2022-04-11 11:30:10 +02:00
Braks 3be164b20e chore(deps): Update package dependencies 2022-04-11 11:30:10 +02:00
Braks 8f4d1b3beb v0.4.1 2022-04-05 21:03:02 +02:00
Braks 908657c7ce chore: move custom size check up above watcher 2022-04-05 21:00:35 +02:00
Braks 92a0817c48 refactor(types): ElementData as any type 2022-04-05 21:00:35 +02:00
Braks fdf2a6e0ff feat: Add name to TransformationPane.vue 2022-04-05 21:00:35 +02:00
Braks 1c429fc637 v0.4.0 2022-04-04 21:45:03 +02:00
Braks 453f155954 fix(edges): Remove duplicate source/targetHandle prop 2022-04-04 21:42:48 +02:00
Braks c2d6a30df8 v0.4.0-34 2022-04-04 21:42:48 +02:00
Braks 094c4ff9ae feat(nodes): Allow pre-defined dimensions of a node 2022-04-04 21:42:48 +02:00
Braks d179838f64 feat(theme,types): Add css vars for overwriting node colors
* Add Styles type
2022-04-04 21:42:48 +02:00
Braks 3a27baf87d v0.4.0-33 2022-04-04 21:42:48 +02:00
Braks 3d66775678 fix(flow): check for scope before providing store 2022-04-04 21:42:48 +02:00
Braks 7774ecc120 v0.4.0-32 2022-04-04 21:42:48 +02:00
Braks 7d509487c3 chore(types): remove some unnecessary generics 2022-04-04 21:42:48 +02:00
Braks 4d901ae4e8 chore(types): add element data typing 2022-04-04 21:42:48 +02:00
Braks d02ade03e9 feat(edges): return new edge from updateEdge utility 2022-04-04 21:42:48 +02:00
Braks 9dffb9ba9a v0.4.0-31 2022-04-04 21:42:48 +02:00
Braks 041f22dd58 fix: immediate execution of watchers 2022-04-04 21:42:48 +02:00
Braks 7177c6c309 v0.4.0-30 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 981511c76f fix(flow): computed getter type 2022-04-04 21:42:48 +02:00
Braks 2915c802e7 v0.4.0-29 2022-04-04 21:42:48 +02:00