108 KiB
108 KiB
Changelog
All notable changes to this project will be documented in this file.
[unreleased]
Miscellaneous Tasks
- Bump version (2efe25c)
[0.4.18] - 2022-06-07
Bug Fixes
- Triggers recursively when store changes (a86eded)
- Set viewpane functions on Transform mount (8a570be)
- Pass edge markers to wrapper (c755208)
Documentation
- Fix code block styles (aae071f)
- Update examples (3a225a6)
- Update examples (a0e610a)
- Update docs (eb8fa5d)
- Use debounce for fitviews (ac41c00)
- Remove unused ref (096a004)
Features
- Add
removeNodesandremoveEdgesutilities to store (7276a39) - Allow connected edges to be removed with
removeNodes(f434ab0) - Add effect scope to
useDragutility (382a3b6) - Defer viewport functions until pane is ready (7dd79f6)
Miscellaneous Tasks
- Bump version (425e558)
- Fix missing imports (9929278)
- Remove unnecessary imports (c81362d)
- Set dimensions after mount (e8923c8)
- Wait for paneReady to set zoompan (5b55d6b)
- Trigger fitViewOnInit after paneReady (90af73d)
Refactor
- Remove
instanceproperty and merge intouseVueFlow(58783fd) - Remove
FlowInstancetype (5277506) - Set resize observer before mount (87f97ef)
[0.4.17] - 2022-06-03
Bug Fixes
- Performance issue with
getNode(0102ebc)
Documentation
Miscellaneous Tasks
- Bump version (f272bd6)
[0.4.16] - 2022-06-03
Bug Fixes
getNodenot returning proper node element (0b21708)
Documentation
- Update vuepress version (99499dd)
- Use vueflow version from composable instead of pkg (d22773d)
- Fix version link (c6bda81)
Miscellaneous Tasks
- Bump version (2858214)
- Remove np (4810483)
- Remove np (d675891)
- Update lock file (2d47cfa)
- Bump version (fe77de1)
- Update git links (3672b86)
- Replace
Math.powwith**(2bd15c1) - Use computed pos z for zIndex (586e8bf)
- Add
.quasarto gitignore (f626c28) - Add empty test script (22f87a8)
- Use
httpsfor registry link (f624c1a)
Refactor
- Replace yarn with pnpm as package manager (c07069d)
Testing
- Update import path for utils (0373dae)
Examples
- Move current examples into
examples/vite(8dd7c79) - Add quasar example (330d6d7)
- Add nuxt3 example (f21d317)
[0.4.15] - 2022-06-01
Bug Fixes
- Set
applyDefaultregardless of true/false (42ea2de) - Unregister apply handlers when
applyDefaultis false (30efd62) - Use computed pos to calculate relative node pos (29439f0)
- Apply rotation correctly (4f506b6)
Documentation
- Change stroke color of intro example node (95104fd)
- Remove onPaneReady handler from
Intro.vue(3828378) - Add margin top to h1 elements (700156f)
Features
- Show moveable when dragging (4866e26)
Miscellaneous Tasks
- Update vue-flow (ab77231)
[0.4.14] - 2022-05-29
Bug Fixes
Documentation
- Use new vuepress plugin api (713ef07)
Miscellaneous Tasks
- Update README.md (015e34b)
- Fix readme discord link (7afbd87)
- Update typescript to
4.7.2and vue-tsc to0.35.0(f32dd24)
[0.4.13] - 2022-05-27
Bug Fixes
- Default edge options not applied on new edges (b846a3f)
- Destruct bounding box (567b55b)
- Jumping when drag is out of sync with last pos (de60d92)
- Check if connection exists (975d551)
- Unselect nodes on click when multi selection active (ddac5b0)
- Unselect nodes on drag start (660c0bc)
- Update xyz on select (b63d3da)
- Check if node position was manually changed since last drag (128c1a4)
- Extent not applied (7479534)
- Set dragging to false after drag (957918e)
- Properly expand parent (048775d)
- Missing source / target node (a3f3077)
- Use correct bbox for edge text (008929a)
Documentation
- Update examples (8e3f1a3)
- Add horizontal layout example (488b632)
- Update stress example (4e9ad11)
- Update stress example (a6e6f31)
- Add teleport example (d9e7c7a)
- Add teleportable example (5d94a98)
- Remove unused edges from nested example (643f752)
- Pin repl version to 1.1.2 (1b8d9cf)
Features
- Add connected edges to node mouse events (5b307b5)
- Add width and height options to minimap (0cd6eaf)
- Add mouse over events for minimap nodes (7c360bb)
- Add mouseover events for minimap nodes (d519eba)
- Add teleport option to nodes (0d35f1c)
- Only allow teleport on graph nodes (e38cb4e)
- Implement
useDraginNodesSelection.vue(674a657)
Miscellaneous Tasks
- Filter on drag (1e506dc)
- Fix prop types in edge wrapper (dd86e04)
- Lint (bae5d1e)
- Move store utils to separate file (78d8190)
- Lint (fe6114c)
- Remove passing getters to
getSelectionChanges(9816269) - Add missing selected prop (e3c7424)
- Remove old edge wrapper component (8af7425)
- Update yarn lock (fd7fe86)
Refactor
- Change edge-text prop type to extend svgattributes (0d17d00)
- Use reactivity transform in edge-texts (0a2a467)
- Add node/edge add changes (1ddeffe)
- Move pull request template to up a directory (ce7569d)
- Use d3-drag (95e36d0)
- Remove dragging from graph nodes (86ba26f)
- Remove node and parent node props from wrapper (80878a2)
- Remove selectedNodesBbox from store (f9671b1)
- Remove get type call for names (4cb4d9c)
- Mark nodes edges as shallow reactive (3312739)
- Reduce nodewrapper re-render (a65d856)
- Make edge wrapper functional component (ce13007)
- Move classes to
Wrapper.ts(d5a19cd) - Remove v-model (c059b59)
- Add remove selected elements actions (ec7901e)
- Simplify event defs (9cdad4d)
- Use absolute positions instead of deltas (cec8f4d)
- Remove reactive options (e2f3da8)
- Watch dimensions for xyzpos (e483da2)
- Remove v-html from template tag (d4ce7b8)
Examples
- Fix import path (ee78e92)
Update
- Add drag filter type (9510f3d)
[0.4.12] - 2022-05-26
Bug Fixes
- Pass markers to correct attributes (6494b65)
Documentation
- Replace codesandbox embed with repl (#122) (98a8931)
[0.4.11] - 2022-05-22
Bug Fixes
- Regexp for replacing transform values (f0e2bc0)
Features
- Add pathfinding edge pkg to packages dir (4ee7eb9)
- Add resize-rotate-node pkg (66312b5)
- Add moveable to ResizeRotateNode.vue (b120c22)
- Add onResize handler (37bc17f)
- Implement onResize & onRotate handlers (b4c12fb)
- Hide moveable on pane interaction (8246e6e)
- Add devcontainer files (e4c296a)
- Export
ControlButton.vue(0702fb8) - Add
topslot toControls.vue(045a768) - Add and export props type (0a285d6)
Miscellaneous Tasks
- Lint files (a90bbb9)
- Update tsconfig, remove license (cbb94ba)
- Update pathfinding edge pkg (36b3729)
- Add dependency to types pipeline (3b0e301)
- Move vue-flow to dev-deps (70a148d)
- Add release script (796aeaa)
- Cleanup deps (0e00a41)
- Update vue-flow pkg alias path (233f5cd)
- Move env.d.ts to root (bc0bd3a)
- Add vue-types to deps dev (efad878)
- Update examples (827469e)
- Update README.md (728d27c)
- Update README.md (e847e2c)
- Cleanup unused refs (6879c44)
- Update README.md (e2d66a4)
- Move gif to root (b263c10)
- Use correct dbl click casing (18cf579)
Refactor
- Move vue-flow into separate pkg directory (b9dbb97)
- CamelCase custom events in
Controls.vue(263b6df)
[0.4.10] - 2022-05-14
Bug Fixes
- Check if connection exists for new connection (d36402e)
Examples
- Update node example color (1d2322e)
[0.4.9] - 2022-05-11
Bug Fixes
- Use scaleBy instead of scaleTo for zoom (fa23617)
- Dispose effects on unmount (ad07b5b)
- Watcher not re-binding when initialized with empty arr (f69118e)
- Add draggable watchers (4eb7754)
- Use label content as inner html (14ef119)
- Missing mouseevent on minimap node click (c6840a3)
- Cancel edge update if connection exists (9cc7806)
- Ensure scope dispose is run (c4f9b2c)
- Wrong elements removed when index can't be found (b68dc4c)
- Fit view not respecting options nodes (5fb0280)
- Add edges not respecting default edge options (e2e3a65)
Features
- Add emits property to store (f5d2453)
- Add pattern slot to background (152801e)
- Export storage class (412c0e5)
- Export base edge (be2a372)
Miscellaneous Tasks
- Flush watcher on post hook (4e3f454)
- Remove control events type (b06ef3f)
- Performance optimizations (b6d8b57)
- Remove casting node/edge to null on unmount (0519bd0)
- Remove log (4c86e3e)
- Remove unused attrs (2157020)
- Disable inheriting attrs (cd85eb1)
- Shorten exports (7e80033)
- Cb event type (73beef8)
- Reorganize nodewrapper (869d88c)
- Reorganize edgewrapper (3bc972a)
- Update tsconfig (5ce711e)
- Correct watcher (6d1fb96)
- Update auto imports (19bc4fd)
- Update README.md (aaccbb4)
- Move changelog update to postrelease (18f0d2f)
- Update eslint, prettier & antfu/eslint-config (447d24c)
- Lint files (22845c2)
- Update eslint config (ca552dc)
- Explicitly export defaults from vue files (69ed530)
- Update pkg and root deps (c396b4f)
- Remove "private" interfaces from components (75a94e7)
- Update vite (75390a7)
- Update typedoc & unplugin-auto-import (36de50e)
Refactor
- Accept maybe refs as options for usevueflow (04fcd08)
- Directly bind instance functions (7ff48b8)
- Controlled computed in minimap (6c2c7c4)
- Change base edge to functional component (f1bbed1)
- Remove base edge from default edge types (7f54d3a)
- Change defaults to functional components (8d33014)
- Change minimap nodes to functional components (f5174eb)
- Use reactivity transform and remove store property (e722f49)
- Destructure props with reactivity transform (dc1d71d)
- Re-set nodes arr on addNodes (cf7a8ec)
- Pass type component as prop (b6848e3)
- Defer grouping to next tick (e2fd3b4)
- Minimize position change loops (0becad7)
- Remove scoped slot props from handles (1b97109)
- Update edge type to include default edge types (1fab031)
- Use watchEffect for keypress (8e91e4a)
Testing
- Update tests to work with removed store property (2918b68)
Examples
- Add initial class to basic (bb30db7)
Regression
- Reassign keys (4e73c5b)
Update
- Add explicit action types (0b23112)
[0.4.7] - 2022-04-21
Bug Fixes
- Selection not working twice in a row (ec0f3ef)
- Import paths (1e23893)
- Replace watchDebounced with debouncedWatch (2d7e2a7)
- Await until d3zoom is rdy (8c22271)
- Cast styles to css properties (b206ff1)
- Use correct handleId (8627fef)
- Parenthesis in handleId computed (38b7e07)
- Trigger computedPosition watcher when selected changes (3064e28)
- Remove v-if (3838ffc)
- Return empty arrays if pane isn't ready yet (ea69dc5)
- Emit paneReady when dimensions are ready (e14cf12)
- Await dimensions before using zoompan utils (c0c67c6)
- Remove waiting for node dimensions in transformation pane (ca2a72c)
- Node/edge label type (440ad3c)
- Lint scripts (3937d56)
- Remove 'Floo' from EdgeText.vue (1e1ee65)
- Recalculate handle bounds on position change (79ede4c)
- Clamp zoom pan helper transformations (86c72ab)
- Enforce extent on viewport transforms (f35167c)
- Remove orphaned edges (ee38f4a)
- Reactive key bindings for delete, select etc. (5951beb)
- Base-edge throwing attrs warnings for curvature (8b3acda)
- Duplicate setState on vue flow mount (12e42e6)
Documentation
- Add pwa plugin & update manifest (f63e157)
- Add floating edges example (eb81b9d)
- Document changed classnames (e5dbbe6)
- Disable blobity for mobile (f06b224)
- Rename section to Selection Options (cb99000)
- Update docsDir in themeConfig (ff4f110)
- Add logo to header (4fbb16f)
- Remove next tick cb in Home.vue (969dd87)
- Update node positions (07ee6ed)
- Fix node pos on resize (c4ddeeb)
- Fix missing handles in new connection (8508423)
- Add icon resolver (dc5ca5d)
- Center intro text (b704bc6)
- Fitview mixing edges up on resize (0184cdd)
- Update examples wordings (d35eb96)
- Update guide wordings (b94c0ab)
- Update README.md (3925e24)
- Add acknowledgement node to intro (9b11d8f)
Features
- Promisify updateNodePosition (bf2c77f)
- Assign default handle id and allow for actual loose connections (158be8a)
- Add PositionFunc as node position type (1e9cbc0)
- Add floating edges example (7aa1773)
- Allow add and set actions to have a setter input (aae37a5)
- Add name to BaseEdge.vue (2cc387f)
- Allow node/edge template per element (88f8087)
- Add turbo to root deps-dev (2a836d7)
- Use frozen-lockfile in build-and-test.yml (b2d5196)
- Add turbo pipelines for types and themes (ca5033b)
- Test pipeline (08204fd)
- Add dependency to dev pipeline (82fd35c)
- Add dependency to dev pipeline (c40d17c)
- Add turbo repo cache to workflow (1628cf4)
- MiniMapNode slot (567ce96)
- Add mini map node events (e178a3c)
- Extend minimap node type (2eacdc9)
- Extend ValidConnectionFunc (2d43806)
- Add issue and pr templates (7cb7eb2)
- Add source/target nodes to graph edges (a19474c)
Miscellaneous Tasks
- Update package dependencies (3be164b)
- Add prefix to console messages (06b0c14)
- Disable no-use-before-define rule (676c984)
- Run yarn upgrade (a0bd8b9)
- Update deps (59870a3)
- Update vue to 3.2.25 (c617494)
- Import sort (c6b8aa8)
- Move ts-patch and typescript-transform-paths to package dev-deps (c52b870)
- Remove log (553355d)
- Remove unused eslint-rules & lint files (f011ea6)
- Remove export (367c7fd)
- Update author field (3142388)
- Move typedoc to package (e558ad5)
- Change destination dir for docs output (de75e25)
- Add typedoc pipeline output (38103a2)
- Remove lint pipeline dependency (4ebfb2a)
- Remove .vscode dir (914db33)
- Update release script (8e83d6a)
- Update LICENSE (ae4cefe)
- Remove comment (e17fb80)
- Type fix in examples (efe68d7)
- Bump versions (0dba691)
- Update issue templates (71fbc2b)
- Update vue flow version in docs/tests/examples (99d0627)
- Remove duplicate keys on nodes/edges (0a21f3c)
Refactor
- Remove width/height attribute (fdde631)
- Remove DraggableCore component and use composable (4f026e8)
- Remove dimensions option, replace with width and height (8f2d94a)
- Replace DraggableCore with composable (342d030)
- Remove paneReady state value (60feb5d)
- Use computed properties for class and styles (2048423)
- Use computed properties for class and styles (5f6a805)
- Remove position func (c964fb6)
- Add nodeElements prop again (6b76b8b)
- Change label-type to string | VNode | Object (8e3fef5)
- Change zoom pane into viewport (3d67d29)
- Transformation-pane class renamed to
transformationpane(30d66a6) - Change transform to viewport (fcdbc21)
- Remove memoization of group edges fn (c1b6fc0)
- Remove generics from types except nodes, edges, elements (e3270d5)
Testing
- Fix test checking for wrong element type (e877643)
Regression
- Edge update also triggering new connection (9a5b546)
Update
- Use proper handle bounds (bc88e18)
- Allow void return for styles/class func (106d287)
- NodeProps comments (817f69c)
- Connection target and source as non-nullable strings (8fbb1cf)
- Default nodrag/nowheel/nopan class as type (365a8a8)
- Typeguard input type (636598b)
[0.4.1] - 2022-04-05
Documentation
Features
- Add name to TransformationPane.vue (fdf2a6e)
Miscellaneous Tasks
Refactor
- ElementData as any type (92a0817)
[0.4.0] - 2022-04-04
Bug Fixes
- Pass all required props to node components (c818a58)
- Pass parentNode id instead of parentNode to components (266678d)
- Expand nodes correctly when prop enabled (4644af5)
- Setting store state after init (188156d)
- Connection line style prop (66a166d)
- Destructure useHandle (cd6b03d)
- Source/targetHandle type (e9f4b5f)
- Default prop value for zoomActivationKeyCode (2b2aad8)
- Use correct functions for center/path in simple bezier edge (3acb43d)
- Use correct vars for center in straight edge (6674350)
- Check if prop label exists before using dynamic component (f30288d)
- Missing source/target node props on smoothstep edges (de534e9)
- Prevent scroll when zoom on scroll is false (70a349f)
- Edges not selected on user selection (271d793)
- Add no pan class name to nodes selection (43692aa)
- Check for scope before trying injection (0d0ac9d)
- Cleanup of state (fddebb9)
- Check if window exists before binding event listener for keypress (fa6c7b7)
- Change modelValue/node-/edge-prop when elements are added to state (cb3e123)
- Use empty string instead of null when source-/target-handle is not present (9b94014)
- Check if scope exists before accessing id (e136c28)
- Try to resolve component before falling back to default (0d6bc39)
- Prevent onClick from creating edges inside same node (2027731)
- Set default prop as undefined for connectOnClick (9a87543)
- Store & usevueflow types (95bc46e)
- Check if type exists before using as index (bf3506d)
- Check if type exists before using as index (c12e07b)
- Use node.extent before trying global nodeExtent (d1e8c0f)
- Short circuit passing slots to renderer (74bc231)
- Force focus into node selection (ddeb70a)
- Getter type (73a9016)
- Use global nodeExtent if node.extent is undefined (8e6e85a)
- Compute type in wrapper (546dd4b)
- No transform of id to ref (71e21e5)
- Injection missing (ca74d7b)
- Computed getter type (981511c)
- Dont inherit attrs on smoothstep/stepedges (c68b1bf)
- Initial state tests (a686d62)
- Remove vue from dev-deps (9b08271)
- Immediate execution of watchers (041f22d)
- Check for scope before providing store (3d66775)
- Remove duplicate source/targetHandle prop (453f155)
Documentation
- Remove usage link from sidebar (5af3d16)
- Move node docs into single page (efa7583)
- Move blobity to mounted hook (be24731)
- Remove serve script (f912d4f)
- Add config page (601bb9a)
- Add offset to blobity highlights (d9d0701)
- Change divider color of banner to white (114a110)
- Add edge page (891eca4)
- Add utils pages (75e1da1)
- Add composables page (0291f77)
- Add additional component pages (b2375bd)
- Add favicons (6d7b5da)
- Add examples (1ad66be)
Features
- Enable passing components as node/edge-types (6a2c1b0)
- Enable using a parentNode / parentNodeId to add child nodes (9a8caf4)
- Add updateNodeDimensions actions (0093df4)
- Add onClick handler (b42c1b0)
- Add & export bezierCenter function (18758fa)
- Add base edge (aba67a4)
- Add default edge options (9a8bf69)
- Add noPanClassName, noWheelClassName & noDragClassName (c544a02)
- Add d3zoom event to hooks (a5e853c)
- Add SimpleBezierEdge (56f7e3b)
- Add dimensions to nodeprops (7747456)
- Add ResizableNode to Basic example (88a8ecb)
- Implement workspaces (cd817b7)
- Add publish script (57f8428)
- Add path alias for local dev (8362d7f)
- Pass node slots as injections to wrapper (4cbdf0c)
- Use slot injection for custom connection lines (3079170)
- Use slot injection for custom edges (3f15983)
- Export apply changes utilities for options api (d95a833)
- Add vitepress for docs & docs workspace (e71b9d5)
- Debounce scaling to avoid lag spikes (e97d9a1)
- Add icons (9230f32)
- Allow class or styles to be bound with function (a50101b)
- Add data script (4d668f8)
- RGB demo coloring (4e8b03d)
- Add windicss scrollbar plugin (631a764)
- Nested demo (31cb99b)
- Add additional demo (e27ab86)
- Replace vitepress with vuepress (3bbe92a)
- Add docsearch plugin (4cc3199)
- Add auto import plugin (0d2c165)
- Add page footer (39683ca)
- Layout styles (c05c737)
- Return new edge from updateEdge utility (d02ade0)
- Responsive pos of elements (3c48913)
- Disable pan on mobile (59ac645)
- Add guide index page (3bc0e87)
- Add getting started page (13fea5e)
- Add theming (e91af56)
- Add css vars for overwriting node colors (d179838)
- Add node pages (47e3336)
- Allow pre-defined dimensions of a node (094c4ff)
- Add state page (91416c9)
- Add blobity to home (9aa42ed)
- Add cliff.toml for git-cliff (3c838b9)
- Add changelog.yml for changelog generation (f52f626)
- Add changelog.md (9adf6d1)
- Add prerelease script to generate fresh changelog (035cf69)
Miscellaneous Tasks
- Fix lint issues (38b910b)
- Remove logs (afdf0b1)
- Remove unused var (3738288)
- Remove unused var (095afc6)
- Add comments to flow props (8b213df)
- Add comments (7623ad4)
- Fix lint issues (ae28679)
- Move watcher and computed to bottom (b46445e)
- Remove setting elementBelow style onClick (25d769d)
- Update auto-imports.d.ts (6d9f198)
- Update README.md (1fe8fd3)
- Update package.json files (1762861)
- Copy README for pkg release (85fc6fc)
- Remove README.md after publish (7aea432)
- Lint ts def files after build (9539d7f)
- Update package.json files (b6216a8)
- Add vite plugins to examples (b47197f)
- Shorten provide (4b0ac0a)
- Update tsconfig.json (bf3ca8b)
- Add tsconfig.node.json (194d16e)
- Update yarn.lock (7e47da4)
- Add useStyle to wrappers (444bf0a)
- Remove unused export (be8d4af)
- Remove default data value from default nodes (55588c3)
- Remove v-bind (af23f73)
- Preprocess css (6276022)
- Add docs build script to root package.json (5e0128c)
- Add description to config (d1a9abb)
- Place components.d.ts in .vitepress dir (73ce6f2)
- Add element data typing (4d901ae)
- Remove some unnecessary generics (7d50948)
- Type fix (9c902b0)
- Update meta img (2a7c58f)
- Banner size & gap (c560a31)
- Update algolia config (ae18d23)
- Remove max-w from examples page (95a34a2)
- Uniform basic example (ffd3b67)
- Update sidebar conf (88bb146)
- Update styles (fbff892)
- Remove lighter var (5b98f3c)
- Replace a-tags with router-links (09e636c)
- Remove unused var (7aa1f43)
- Update changelog.yml (01deaeb)
- Disable auto run of changelog.yml (94dd8c8)
Refactor
- Shorten default state setter function (3539937)
- Shorten watcher (5cc0da2)
- Shorten setState (7d4a5fd)
- Use null instead of undefined for optional state properties (7280465)
- Reduce node props (35f3d89)
- Remove node and edges export (c75f00a)
- Remove scaling from edge text (e5f6b45)
- Rename paneMovable to panOnDrag (0bb54d6)
- Make zoomActivationKeyCode non-optional again (4af0ee0)
- Make zoomActivationKeyCode non-optional again (7d91aa2)
- Rename selectionActive to userSelectionActive (da2e95a)
- Change children API to parentNode API (0a079af)
- Remove background variant none (aaba123)
Regression
- Add slot to connection line (9a47c15)
- Calculate handle bounds regardless of update (0e48b77)
- Use computed to get current node/edge (a5a918a)
- Add slots to vue flow container to indicate possible slot names (37fc1fc)
- Removing nodes/edges breaks renderer (528cac5)
- Enable pointer events on zoom pane (85f563a)
Update
- Set vueFlow var to null on scope dispose (833cf5e)
- Remove typecast (af5b048)
- Add edge text to exports (2b4dbba)
- Move mounted hooks up (024a434)
- Try fetching instance when out of scope (544a62e)
- Rename update to updates (to fit arr type) (c955d19)
- Rename typedocs out dir to typedocs (cc96739)
- Move examples into src dir (c1594b0)
- Parse style.css with postcss instead of including it with vite (8f3a2b9)
- V-if on existing edges before looping wrapper (9dd71c2)
- Support fragments as node slots (1347304)
- Support fragments as edge slots (70646c5)
- Support fragments as connection line slot (0bfca93)
- Add windicss (36e3299)
- Disable pointer events on zoom pane when zoom key is active (fb1c828)
- Short circuit connection line slot (83ea905)
- Update stress example syntax (94e5bda)
- Set zindex to 0 on initial parse (9344365)
- Color transitions (611aee5)
- RGB demo (39c8f60)
- Import order (d913df6)
- Split features into separate files (6cb13f1)
- Remove logs (349ecf8)
- Remove unnecessary type exports (ade61ca)
- Generic types (186b96f)
- Fitview on breakpoint change (6fd1ebc)
- Add button edge example (d6b41af)
- Footer (39df62f)
- Mobile styles (13aae6a)
- Dark mode colors for home (6c7fde0)
- Add css vars to theming page (14ffbaf)
[0.4.0-8] - 2022-03-23
Bug Fixes
- Use rect only if bgColor is present (ea93d55)
- Edges not connecting when mixed with top/btm & left/right (f7c939e)
Features
- Use a storage class to map flow instances (65d079d)
Miscellaneous Tasks
Update
[0.4.0-7] - 2022-03-16
Refactor
- Move paneReady event to transformation pane mounted hook (0592929)
Update
- Remove useWindow export (dcd2ec4)
[0.4.0-6] - 2022-03-14
Update
- Remove exports field (6729588)
[0.4.0-5] - 2022-03-14
Miscellaneous Tasks
- Update auto-imports.d.ts (c70c816)
Update
- Fix export order (ac9f380)
[0.4.0-4] - 2022-03-14
Bug Fixes
- Prevent zoom when zoomOnScroll is disabled (afaa038)
Features
- Allow zoomOnScroll & panOnScroll to be used without an activation key (d948f5e)
- Allow background height/width to be set (2fa7e22)
- Add typedoc (25e5b92)
- Use postcss to parse default theme into a simple css file (3b8c49e)
- Add comments to types (c21ac7d)
Update
- Use Shift for panOnScroll on Windows OS (9317f78)
[0.4.0-3] - 2022-03-08
Bug Fixes
- Markers not displayed (1def3a9)
- Fix typo in paneMovable prop (6746d6b)
- Edge text not aligning to center (4f42fd0)
- Edge text height not centered (b7c1954)
- UpdateEdge action not fully updating an edge (46a63c2)
- FitViewOnInit not passed to zoomPane (fd951e8)
Features
- Add nodeElement as Prop to Nodes (2bb3ecb)
- Add names (node-types as name) to minimap node slots (743b0bd)
- Allow markers to have unique id (994b403)
Refactor
- Add default theme to style.css (36ac64f)
Update
- Unidirectional example (158f81d)
- Deprecate modelValue prop (ac6f62f)
- Remove copy plugin (300886c)
- Remove scope dispose from useHandle (cd2b898)
- Filter edges of hidden nodes (c31deb8)
- Deprecare setElements action (40bb91f)
[0.4.0-2] - 2022-02-22
Refactor
- Remove link from deps (6e5c58f)
[0.4.0-1] - 2022-02-21
Bug Fixes
- Typings for UseVueFlow (2731d0b)
- Typings for UseVueFlow (8260eab)
- Clear all empty values before passing as props (1756160)
Features
Miscellaneous Tasks
- Fix examples (f44784b)
- Update deps (ae3cb8f)
- Tsconfig dev (bd36dee)
- Update yarn.lock (3518e1d)
- Couple minor fixes (b7abb31)
- Fix tsconfig (fe31112)
- Update yarn.lock (a9b1b1a)
Refactor
Update
- Set store instance before emitting pane-ready event (1699749)
- Use prop for fitViewOnInit (a3b2348)
- Add missing property to store (d835e45)
- Add tsconfig.build.json (b51c26f)
[0.4.0-0] - 2021-12-20
Bug Fixes
- Edges not properly calculating position (2350d83)
- Correct usage of store in testing (44f8eb1)
- Connection line not showing up when no edges are defined (9abd768)
- Move replace & copy plugin (9dea4bc)
- Marker types & flowstate id removed from state (0eb162f)
- Duplicate prop binding (db726d1)
- Correct tests (d2961de)
- Improper style encapsulation (6dcf5d8)
- Correct test for testing custom node/edge types (97f4c0e)
- Replace useStore with useVueFlow (f6007d0)
- Add props to smoothstep edge explicitly (ca33de0)
- Replace store id with flow id (600e386)
- Import path of initial state helper (304e8f5)
- Re-set elements if elements are empty and modelValue contains els (535f7e6)
- Check if state initialized (bb91ab7)
- Properly set store (63bf3b3)
- Shims overwriting component internal instance type (25b64fe)
- Selection changes overwriting itself (425fc50)
- Handles emitting connect and update simulteanously (983c86c)
- Correctly calculate xyzpos from parent (0e82420)
- Watch parent nodes deeply to trigger xyz-pos calculation (fbe62b9)
Features
- Add store id as class to handles (9c1f044)
- Export getNodesInside utility (106342c)
- Extend Element generics to DataNode and DataEdge (368b0de)
- Add grouping example (ecd38b2)
- Nested boundaries (3f0b0db)
- Flatten child map of nodes (0450ba2)
- Add addSelectedNodes, addSelectedEdges, updateNodePosition actions (2d611b8)
- Add transformation pane (2210c59)
- Group edges by z-index level (3dae06c)
- Calculate xyz pos if nested (eead00a)
- Add new zoom pan helper functions + transition for all helpers (7cb6192)
- Remove node/edge-types prop (774cb2e)
- Add handlebounds type (46a76b7)
- Add event listener to vueflow object (d875cfe)
- Add apply changes handlers (81c8145)
- Add useNode/useEdge-state helpers (c80ab8f)
- Add setNodes and OnNodesChange / setEdges OnEdgesChange utils to useNode/Edge-state (65b2e0d)
- Add utilities to useState functions (518d12d)
- Use vModel for elements, nodes and edges (be725c6)
- Add store as refs to useVueFlow (91009e1)
- Add source-target-pos to graph-edge (1b206c9)
- Export applychanges utilities separately (994dd99)
- Add option to disable default change handlers globally (e2e094b)
- Add selectable option to edges (e91188d)
- Add state as refs, getters and actions to vueFlow object for easier access (7736915)
- Narrow options type for useNodesState/useEdgesState/useElementsState (a9e7eb3)
Miscellaneous Tasks
- Update draggable to ^0.4.1 (fe3f6e6)
- Remove unused imports (3e42948)
- Update vite-plugin-vue-type-imports to ^0.1.3 (cc7cedf)
- Remove unused imports (b9a417a)
Refactor
- Remove get and invoke imports (c522806)
- Use vite-plugin-import-types (74c3037)
- Change xPos yPos props to position (4ef58e9)
- Remove Node/TranslateExtent (da54bc3)
- Change node and edge types to extend element (fe0eeae)
- Remove ElementId type (f00f34d)
- Remove internal __vf field (f28e10b)
- Remove elements and replace with nodes and edges (b803414)
- Use plugin to import prop interface (5359e3a)
- Remove draggable options, boolean only (419b123)
- Use plugin to import prop interface (076ff4c)
- Remove index from keys (76ae73c)
- Use stored node data when re-parsing elements (6bdea72)
- Properly nest components (c96f62f)
- Set stored elements from nodes and edges (4353104)
- Move store utils to state (6903dcb)
- Remove arrowhead and replace with markertype (056bcd5)
- Use selection change hook (d367f3a)
- Replace selectedElements with selectedNodes and selectedEdges (14fc678)
- Remove renderer and move logic to zoom pane (943479e)
- Move user selection rect drawing into component (7a8aed4)
- Use markerEnd and markerStart (a7bacb7)
- Use computedPosition when checking inner bounds (b365e94)
- Add selectednodesbbox back to state (4065354)
- Use watcher to calc xyzpos (60fcbc2)
- Remove useStore.ts and move logic to store.ts (a80d475)
- Add getters for selected nodes/edges (ca2eca4)
- When adding elements as selected disable emit (02911b4)
- Replace useStore with useVueFlow (a604dd8)
- Move hooks to store dir (c1da504)
- Replace store injection with VueFlow injection (17a1b08)
- Add slots to node/edge labels (d9e0675)
- Use plugin to import prop types (fe4798e)
- Apply default change handlers by default (9f95749)
- Rename isReady to paneReady (758f4f2)
- Use watcher to change every prop as a single item (f8a23c5)
- Export useNodesState and useEdgesState separately from useVueFlow (39501d0)
- Remove separate apply changes function and add them to useNodesState useEdgesState (423f6aa)
- Disable connecting handles inside the same node (8118325)
- Lowercase event names (OnPaneLoad -> onPaneLoad) (b12863f)
- Add options to useElementsState (4c7cf39)
- Remove setting elements without parsing in state (5457106)
- Watch models (ee6bf32)
- Make nodes/edges for useStates helpers optional (35165c3)
- Replace getMarkerEnd utility with getMarkerId (8fbfca1)
- Make opts for useElementsState optional (c283769)
- Set elements when initializing store (2910731)
- Remove defaults for props (dcbe986)
Update
- Use MouseTouchEvent type for drag events (8cf2279)
- Add getElements helper (c82ca4e)
- Add source/target nodes on edge parsing (e2d60be)
- Remove omit elements from flowoptions type (9e06d6e)
- Add new stylings for container and transformation pane (232fd30)
- Filter edges by visibility (1060370)
- Add utils to state (63301cc)
- Remove slots (c8d701d)
- Remove transform from NodeRenderer (503264a)
- Implement new marker props (2b34b12)
- Clean up edgewrapper props (c9ff178)
- Add container class to background (d54c981)
- Adapt examples (d730869)
- Use node 14 (d1809a5)
- Add new zoom pan helper functions to instance (55b8434)
- Add slot for zoom-pane (cd41090)
- Defer update pos to nexttick (97c0254)
- Remove LoadingIndicator.vue (aaf216a)
- Use computedPosition in GroupNode.vue (a983858)
- Correct examples (5139b07)
- Fix examples (69dc45c)
- Add draggable,selectable and connectable as props to nodes (947baef)
- Use node/edge component type to define defaults (212c911)
- Watch source/target pos to update position so edges get properly re-rendered (8f6ce13)
- Remove computed properties in nodes selection (a62a891)
- Rename FlowActions/FlowGetters etc. to Actions, Getters (e64f6b7)
- Add key to NodesSelection.vue (f0f68ff)
- Use draggablecore for nodes selection (a76e2ca)
- Correct examples (445718d)
- V-if on node/edgerenderer (7367345)
- Correctly overwrite nodes on re-parsing (d2ac41e)
- Remove v-if on edge-renderer (df17da7)
- Use computed getters to group edges by z-level (f2fe93f)
- Correct examples (124338b)
[0.3.1] - 2021-12-04
Update
[0.3.0] - 2021-12-04
Bug Fixes
- NodeExtent not set on position update (27e3979)
- TranslateExtent not set correctly (043ba21)
- Zoom related state to update when flow is ready (229bbb7)
- Correct injection and remove id from refs (3b44810)
Features
- Add option to zoom to specific node ids and transitionDuration for smooth transitions on fitView (43b68c1)
- Add cypress for testing (796c604)
- Add container.spec.ts (b838977)
Miscellaneous Tasks
- Move comment in vite.config.ts (19a5575)
Refactor
- Remove pinia (58a8f9d)
- Remove transition and loading.transition property (b1f541b)
- Rename param of setState (f8cf71c)
Update
- Add updatable as prop to edges (b88f210)
- Add elementsProcessed event hook (4740a2c)
- Exclude cypress dir from build (a664252)
- Try to get active pinia before using new one (58f5c25)
- Add cjs to build (70b44db)
- Rename FlowStore to Store and ReactiveFlowStore to FlowStore (3c9840c)
- Remove pinia from tests (55e738f)
- Remove microdiff (55122ed)
- Remove pinia (0816bf0)
- Only inject if in current instance (bf9ce37)
- Add test mode (9abc222)
- Remove Loading type from components.ts (eab715b)
- Add more flow tests (aa72527)
- Static id for store state (0fcf8bb)
- Disable loading component if prop not passed (491c83d)
- Overload flowoptions typings with non-nullables in flowstate (1a3b683)
- Remove node zoom from basic example (f5caf94)
[0.2.2] - 2021-11-26
Refactor
- Make edge updating optional (4630f3e)
Update
- Watch node height too for updating dimensions (98b6fdb)
- Use setElements for addElements with force set false (512df8e)
[0.2.1] - 2021-11-25
Bug Fixes
Refactor
Update
[0.2.0] - 2021-11-25
Bug Fixes
- Hooks to return a graph-node type (db70409)
- Missing element click event (5011bf0)
- Pass correct store values to node wrapper (f5dcd51)
- Interaction example firing events wrong (f455939)
- Add watcher that observes elements length for re-parsing (e065df5)
- Check diff before re-parsing elements (b140b84)
- Wrong type added to button-edge (409a268)
- Edge-text typing (7916b20)
- Check if state option is typeof undefined before setting (not just false-ish) (5ceee98)
- Parsing overwriting __vf fields or not writing them at all (fd83a6d)
- Props not being watched on time (bb0b904)
Features
- Add offset to fitview-params (073b25e)
- Add DefaultEdgeTypes-type (1eac951)
- Allow nodes to have their own snapGrid option (71a10b2)
- Allow nodes to pass all draggable options (da4fd4f)
- Make addEdge and removeElement mutate the array passed in (74cc61a)
- Add option to pass a valid target pos / valid source pos func to nodes (9e94196)
Refactor
- Remove __vf.position (84bad86)
- Use v-model to reactively change node props (8f65918)
- Remove vf prop (729ae4c)
- Remove updateNodePosDiff from node selection (ac2e2d5)
- Remove node-pos actions (fa63dee)
- Remove nodes/edges field (725dc8a)
- Remove worker and store option (708fa1f)
- Remove SourceTargetNode-type (8b0ddc9)
- Move parseElements to graph utils (5ffeb92)
- Move init function to store as setState (1ce41cc)
- Check if state variables have to be re-set (96d54c5)
Update
- Use getNodes in minimap instead of directly accessing nodes state val (04b64de)
- Pass source node to ConnectionLine as prop (89849f4)
- Import path in node wrapper (e6a54d4)
- Use getNodes in zoom pan helper (23bceea)
- Remove watchEffect from UpdateNodeExample.vue (729d3d5)
- Types in SelectionPane.vue (cf2ded4)
- Add edge as param to edgeupdateend event (929a6e6)
- Remove promise from addelements (9c7c236)
- Typing of edges (7b4dde4)
- Set modelValue after initialization of elements (95fc013)
- Remove promise from setState (233e915)
- Remove worker prop (3855e9f)
- Add __vf to node props (f2e38ca)
- Remove store, worker props (bd140f1)
- Mutate elements arr on updateEdge (6c3bce8)
[0.1.7] - 2021-11-23
Bug Fixes
- Edges not reacting to hidden nodes (d22e210)
Features
- Add GraphEdge type (cddf875)
Update
- When zoom is deactivated we disbale scrolling (ca46d6a)
- Export flowprops and custom connection line props type (091f3f8)
[0.1.6] - 2021-11-23
Bug Fixes
- PreventScrolling missing in props definition (c286b3b)
[0.1.5] - 2021-11-23
Bug Fixes
- Missing props on Draggable (54d5780)
- Node selection not working if selectable === undefined (dbe82a7)
Miscellaneous Tasks
- Update revue-draggable to 0.3.9 (3f758c5)
Update
[0.1.4] - 2021-11-23
Features
- Extend connection line props for more advanced usage (67634fd)
[0.1.3] - 2021-11-23
Bug Fixes
- Remove deep flag from elements and store-elements watcher (9ec1c4d)
- Dont select nodes when selectable=false closes (17f7e4b)
Features
- Use quadratic bezier curve for top-left and bottom-right edges (0e80383)
- Add preventScrolling option (46ecec5)
[0.1.2] - 2021-11-23
Bug Fixes
- Connection line position incorrectly calculated (d87388f)
[0.1.1] - 2021-11-22
Bug Fixes
Refactor
- Pass props to edge/nodewrapper separately (c35673c)
- Change prop types for EdgeWrapper (f86033c)
- Change prop types for NodeWrapper (c7dca2c)
- Remove node/edge-renderer slots (0b57ee1)
Update
- Pass down values as props instead of relying on store (6059b02)
- Remove renderer exports (ebd0f9e)
- Pass store state as props to edge-renderer and edge (2b065b4)
- Use controlledComputed for edges/nodes (049b701)
- Remove useStore from handle (5c3a1fb)
- Pass selected elements as prop to nodesselection (1ea6e4f)
- Define emittable events for EdgeWrapper (4932c64)
- Remove null types and use undefined (b9bb3cf)
[0.1.0] - 2021-11-21
Bug Fixes
- Zoom values being initialized before zoom is ready (71ba905)
- Add missing click and doubleclick events to nodes/edges (c48a0a9)
- Minimap prop type missing (a67e6c4)
- Skip dimensions check when ssr (3e4433c)
Features
- Offload parsing elements to worker (d335944)
- Add loading indicator slot and prop (4e8ff62)
- Add dedicated default loading component (668fed1)
- Make worker optional (e648e1a)
- Add node and edge renderer slots (da29a61)
- Add draghandle prop to node (a55e33f)
Refactor
- Remove elements prop, change EdgeTypes/NodeTypes prop to string[] (39b21fa)
- Rename internal data field to __vf (0e9f8c5)
- Change ConnectionLineComponentProps to ConnectionLineProps (b102070)
Update
- Some comments (0a1c2d4)
- Correct __vf typing (e4ead73)
- UseAttrs on edges to use style (ba24f3c)
- Graphnode and node typing (062aee4)
- Move component related types to component-type file (d24de0c)
- Add names to components (fd71e1e)
- Add hmr to statestore (502be52)
- Add name to flow component (f64ae24)
[0.0.34] - 2021-11-20
Bug Fixes
- Load hook timing (68b7d99)
Update
- Dont render nodes, edges if dimensions dont return a truthy value (2b87d53)
- Make types for nodes and edges a computed prop (1b6ea1e)
[0.0.33] - 2021-11-20
Bug Fixes
- Suspension not working properly (d25fa57)
[0.0.32] - 2021-11-20
Bug Fixes
- OnLoad being triggered when elements aren't ready (990126b)
[0.0.31] - 2021-11-19
Bug Fixes
- Flow not properly pre-loading state (6a1571e)
[0.0.30] - 2021-11-19
Features
Update
- A couple more perfomance related updates (f92c546)
- Rgb flow styles (ee95fbe)
- Move watcher to onMounted hook (8c4747a)
- Remove hooks context (921d93c)
[0.0.29] - 2021-11-19
Update
- Add default null value to injections (3f139df)
[0.0.28] - 2021-11-19
Bug Fixes
- Storage not properly preloading (b91d65f)
Features
Update
[0.0.27] - 2021-11-19
Bug Fixes
- V-model implemented again (f534572)
[0.0.26] - 2021-11-19
Bug Fixes
- Props and composable not merging together properly (70b077a)
Features
- Export default edge and node types object (8605909)
Update
- Add return type to useVueFlow default export (c8d3ff6)
[0.0.25] - 2021-11-18
Features
- Add hooks to store (99dbd4b)
Update
- Remove useHooks usage (470ab37)
[0.0.24] - 2021-11-18
Features
- Add useVueFlow composable (a493168)
Update
- Mini map to accept node slot instead of "nodes" slot (3e24a35)
[0.0.23] - 2021-11-18
Bug Fixes
- Default value for label (6bcd708)
Features
- Bind props to slots (0be492b)
- Add zoom-pane slot (54dfd84)
- Add suspensions to node, noderenderer and around zoom-pane (14980e3)
Miscellaneous Tasks
- Update deps (156287b)
Update
[0.0.22] - 2021-11-18
Bug Fixes
- Event propagation from zoom (b918eb6)
[0.0.21] - 2021-11-18
Features
- Add slots to edges and nodes (8b82c4f)
[0.0.20] - 2021-11-18
Bug Fixes
- Move slots outside of zoom pane (812a7da)
Miscellaneous Tasks
- Update revue-draggable to v0.3.4 (1deb417)
Update
- Quickstart example in README.md (091ed3e)
[0.0.19] - 2021-11-17
Revert
- Inject necessary styles directly to bundle (872ad1d)
Update
- Invoke until func in zoom pane (43ce523)
[0.0.18] - 2021-11-17
Features
- Add suspension to zoom pane (954722a)
Update
- README.md (68e44ad)
[0.0.17] - 2021-11-17
Features
- Inject necessary styles directly to bundle (074d284)
Update
- Change docs url (688c095)
[0.0.16] - 2021-11-17
Update
- Create vue.d.ts files (10215b4)
[0.0.15] - 2021-11-16
Bug Fixes
- Properly check if node is connectable/draggable/connectable (677c9a8)
Update
[0.0.14] - 2021-11-16
Bug Fixes
- Node dimensions not updating properly (694dc7e)
[0.0.13] - 2021-11-16
Bug Fixes
Update
- Count store id gradually up instead of "randomizing" one (93730a7)
[0.0.12] - 2021-11-16
Update
- Export default nodes and edges (e1e656c)
[0.0.11] - 2021-11-16
Bug Fixes
- Remove sourceX/Y, targetX/Y attributes from edge type (6c2bdcd)
[0.0.10] - 2021-11-16
Update
- Merge EdgeProps into Edge type (413c7ac)
[0.0.9] - 2021-11-16
Bug Fixes
- Disable inherting attrs on nodes/edges to avoid warnings (a58d952)
Update
- README.md (63f710e)
[0.0.8] - 2021-11-16
Bug Fixes
[0.0.7] - 2021-11-16
Bug Fixes
Update
- Remove update node internals composable (7c66cf5)
- Remove js files after declaration generation (8414ee1)
[0.0.6] - 2021-11-16
Features
- Extend options to pass custom nodes / edges (d1dab4c)
[0.0.5] - 2021-11-16
Update
[0.0.4] - 2021-11-15
Update
- Remove umd build (30d667b)
[0.0.3] - 2021-11-15
Update
- Switch to umd build (b5e56f8)
[0.0.2] - 2021-11-15
Bug Fixes
- Proper events for listeners (482a1aa)
- Warnings when NaN values are passed to svg transformations (9c3eeef)
- Wrong watch source in nodes (d6ee5f8)
Refactor
- Perfomance optimisations through less dependency tracking (3705a39)
Update
- Hide edge if source/target pos are NaN-ish (dec2774)
- Remove docs dir (98d7053)
- Rename Flow container to VueFlow (ffdadda)
- README.md (0a55693)
[0.0.1] - 2021-11-06
Bug Fixes
- Node selection rect not properly rendering on key press and mousemove (61ab006)
- Node selection rect not dragging correctly (dfd9e96)
- Typos in README.md (51b120b)
- Remove DraggableEvent type from utils file (doesn't exist anymore) (e77797a)
- No use of fragments for nodes as it results in warning from vue and we got enough of those as is (7c7c31b)
- Inject store instance components (b4fcab4)
- Types (1a7f3da)
- Scale being incorrect when passed to draggable causing weirdly fast drags (86ead92)
- Custom nodes not getting styled properly (83216f8)
- Typecast edges and nodes (3b5857f)
- Copy preloadedstate object for pinia to avoid using an existing state when re-creating store (6347cf9)
- Return render function (e2162c9)
- Edges not updating text (16e93af)
- Default position for handle on output node (05c111e)
- Custom node positions (e7513b8)
- Custom edges not displayed correctly (9e397e6)
- Marker arrowheads not displayed (adb5ec5)
- Add intrinsicattributes to shims (545eb0e)
- Rollup bundling css in d.ts file (9e76d07)
- Version (af87f08)
- Shims-tsx.d.ts having duplicate string identifier? whatever that error meant... (3cd0693)
- Header showing an empty option (15f968c)
- Connection line not working properly (regression) (9d8b49e)
- Add measurment (px) to EdgeText width and height (3f6d499)
- Edge updating too much (ece1fec)
- Return transform from useZoom (9b2f4b7)
- Minimap (6b4e7ab)
- Zoom pan helper (c3fb3cd)
- Correct event listeners in examples (fede792)
- Too many re-render on edges and nodes (17f2517)
- Clamp transform values (b3d276b)
- Edge anchor (7ecbcba)
- Edges and edge anchors not re-calculating correctly (61dc9de)
- Nodes as fragments (64a4b8c)
- Label type in edges (ff7ee5c)
- Store actions blocking main thread (5f500bc)
- Nodeposdiff not updating correctly on node selection (c062601)
- Zoom pan helper not being initialized timely (ca2901b)
- Valid connection func in handle (e11fddf)
- Node type change not triggering recalculation of node dimensions (cd02dd0)
- Node not updating handlebounds when handle pos changes (26b3901)
- Edge updates not triggering properly (3ee3843)
- Missing bgcolor in background (ee07aff)
- Missing node id in node components/slots (cb96b1a)
- Typings (6ec8258)
- Dedupe and add alias for vue (3931a59)
- Zoom pane not scaling (a8f7cc2)
- Custom node example not fitting view (5437d48)
- Draggable not updating on nodes (ea7db92)
Features
- Add custom edge example (2188c5d)
- Add edge with button example (74a2a3d)
- Add edge types example (stress tests) (384c052)
- Add empty canvas example (489e12a)
- Add hidden example (e4a0940)
- Add interaction demo (23c5d24)
- Add cb to useKeyPress (5ed1094)
- Script setup style (9307c90)
- Script setup style (f8728f0)
- Scope edge and node slots by name (8c54dae)
- Add useStore and useHooks composables that provide default store/hooks (b2b1fe8)
- Use v-html for node labels (636eeff)
- Add node/edge types id (0a45e09)
- Initial commit for docs in nuxt 3 (64df75d)
- Add path alias for src (aaf5f60)
- Copy default theme css file separately to dist (066155b)
- Add docs index page (9f329c8)
Miscellaneous Tasks
- Remove some logs (8cfbc89)
- Update revue-draggable to latest version (7eb7cb1)
- Add vueuse/core to deps (ef9647c)
- Remove rollup-plugin-vue (e5d8338)
- Update vueuse to 6.0.0 (908e741)
- Update eslint rules (77eac0c)
- Use pnpm instead of yarn (769378a)
- Remove unused deps (6cfe5f6)
- Update draggable (e9392b1)
- Downgrade draggale to 0.2.5 due to transformation issue with current version (9532615)
Refactor
- Remove passing props to reactive obj instead use props directly again (sort of breaks reactivity in some cases...) (528f8f4)
- Refactor some jsx files to vue files (ffd41fb)
- Resize handler and zoom pan helper to watch until refs are resolved (a6f7678)
- Back to jsx 🥇 (1d542ab)
- Split types into separate files (3557284)
- Update usekeypress functions (fec2ef4)
Update
- Remove wrapEdge and wrapNode files (25c92ec)
- Edge label bg true by default (6b9c608)
- Redirect to basic example as default (6912993)
- Button edge example to remove edge on click (156b312)
- Rollup config (2653c70)
- Remove effect watcher from zoom pane (8d8a4a3)
- Add effect scope to useZoomPanHelper.ts (b8ce50a)
- Add key to node (22a1dc6)
- Add measurment (px) to nodes width and font size (e0bc7e2)
- Color prop optional in MarkerDefinitions (d6a8ed6)
- Pass selection key code to zoom pane (347f1ed)
- Fix node perfomance (f6f7564)
- Refactor remaining files to script setup style (560bdc2)
- Refactor additional-components (1ff3a8d)
- Add unplugin-components (a5ae6a4)
- Fix examples (29c6df1)
- Add slots to Background.vue, Controls.vue and MiniMap.vue (1853c21)
- Add injection keys (a895853)
- Disable vue-tsc for now (9373533)
- Remove render tracking hooks (cfc8f77)
- Add slots to CustomConnectionLine.vue, Edge.vue, Node.vue (9d9a90e)
- Change name to vue flow (2bfecf7)
- Replace vue version when rolling bundle (31c896e)
- Types (77d2e01)
- Remove babel (no jsx used anymore) (5d3845b)
- Background properties (24316e1)
- Add validConnectFunc as prop to handle (0e79718)
- Remove nodes selection props (6d197d7)
- Add layouting example (712cf3e)
- Add multi flows example (0a9c1b0)
- Remove "hack" from layouting example (a9f1876)
- Fix names (20e9d1d)
- Add Provider example (eb9714b)
- Add Save & Restore example (3f863ef)
- Disable no-console rule (89efc0b)
- Add stress example (5611f79)
- Add switch example (c23bbfa)
- Add Unidirectional and updatable edge example (0cc7ef4)
- Add update node example (cd32f14)
- Flow instance provides update node internals func (babcbd0)
- Add validation and zoom pan helper example (8779a58)
- Remove rollup and use vite to build lib (6177963)
- Add all examples (e99dfc3)
- Use yarn instead of pnpm (c21ad94)
- Disable ssr (67876cd)
- Fix view height (ae0772b)
- Remove
examples-appdir (27c72e0) - Styling of sidebar and header (412a84a)
- README.md (1b0602d)
[0.0.37] - 2021-07-15
Bug Fixes
Features
Refactor
- Use injected store so we can use a distinct instance not a global one (6c9d88b)
Update
- README.md (2afc7af)
- Renaming stuff from react flow to revue flow (d491c01)
- README.md (3f126f0)
- Base page to basic (no overview currently) (8f727a4)
- Use store injection in UserSelection component (c7fda83)
[0.0.36] - 2021-07-10
Features
- Create examples directory and add some examples (e4f57c7)
[0.0.35] - 2021-07-10
Bug Fixes
- Try to deploy as package... (99548a0)
- Entry (07721e9)
- Add vue-demi to external deps in vite.config.ts (f1ee5b6)
- Add vue-demi to external deps in vite.config.ts (b9b2615)
- Some prop type issues (303444f)
- Proptype (6a6c5c9)
- Some bundle stuff (f685c7a)
Features
- Transform react-flow to vue-jsx (52e1188)
- Make edges work (b2c250e)
- Add postcss config and deps (8f34d9d)
- Show connection lines when holding down on handle (ea98c2a)
- Update graph on new elements pushed (1253403)
- Implement MiniMap, Background and Controls components (4319e2a)
- Add np (5c15967)
- Add siroc config (3094cc2)
- Plugin config (753f707)
Bugfix
- Controls not having correct zoom helper functions (3a8dde7)
- Background not scaling (cf20f78)
- Types file (bf95b23)
- Utils file (c977946)
- Utils file (e400b48)
- Pinia instance not created internally and thus missing from app if not explicitly included (c8150a2)
Update
- Gitignore (e543bd5)
- Revue-flow index.tsx (b6d9265)
- Remove siroc and use rollup directly (179b5c5)
- Add lint script to package.json (65332cf)
- Rollup.config.js (b43623c)
- README.md (0603a12)
- Deps (0c449c9)
- Remove vue-demi (59b6af3)
- Main (d934782)
- Use vue-demi again to add compatability to vue2 (92caccf)
- More changes to bundle config... (a364c78)
- More changes to bundle config... (082d460)
- More changes to bundle config... (6f39ae6)
- More changes to bundle config... (95cbf10)
- Deps (61adf3b)
- Rollup.config.js (ed64e46)
- Even more bundle stuff (7d78ac6)
- More bundle stuff (4d2dfa1)
- More bundle stuff (e2deded)
- More bundle stuff (adc22c6)
- More bundle stuff (f2f263d)
- More bundle stuff (e9db1cd)
- No vue-2 compatability (doesn't work with current build) (150438d)
- No vue-2 compatability (doesn't work with current build) (d50d745)
- README.md (fde7ca6)
- README.md (4661b68)
- Renaming stuff from react to "revue" (881655d)