81 KiB
81 KiB
Changelog
All notable changes to this project will be documented in this file.
[unreleased]
Documentation
- Remove usage link from sidebar (19eb154)
Features
[0.4.0-34] - 2022-04-04
Features
- Add guide index page (5779e10)
- Add getting started page (a4b2aa3)
- Add theming (bc08e28)
- Add css vars for overwriting node colors (b86012b)
- Add node pages (691bcc4)
- Allow pre-defined dimensions of a node (c480172)
- Add state page (0eb5fcf)
- Add blobity to home (0d05352)
Miscellaneous Tasks
- Update algolia config (8e880dd)
- Remove max-w from examples page (5ccb0ae)
- Uniform basic example (ad4289a)
- Update sidebar conf (6336501)
- Update styles (bdea46c)
- Remove lighter var (6cf9565)
- Replace a-tags with router-links (9596d27)
- Remove unused var (92dd0b3)
Update
- Add css vars to theming page (a8fd776)
[0.4.0-33] - 2022-04-03
Bug Fixes
- Check for scope before providing store (5273dcf)
Miscellaneous Tasks
[0.4.0-32] - 2022-04-01
Features
- Return new edge from updateEdge utility (30873fb)
- Responsive pos of elements (d4f2c17)
- Disable pan on mobile (a096a31)
Miscellaneous Tasks
- Preprocess css (07c0103)
- Add docs build script to root package.json (7fd2dca)
- Add description to config (aa2b4df)
- Place components.d.ts in .vitepress dir (08bf457)
- Add element data typing (d43e0bd)
- Remove some unnecessary generics (ed34aec)
- Type fix (b6d5b63)
[0.4.0-31] - 2022-04-01
Bug Fixes
- Immediate execution of watchers (ded9856)
Features
- Layout styles (68c2faa)
[0.4.0-30] - 2022-03-31
Bug Fixes
- Computed getter type (f3db0f3)
- Dont inherit attrs on smoothstep/stepedges (373bb0a)
- Initial state tests (d334f17)
- Remove vue from dev-deps (d701b9a)
Features
- Add additional demo (db841a6)
- Replace vitepress with vuepress (7c3c555)
- Add docsearch plugin (b979721)
- Add auto import plugin (c5ff817)
- Add page footer (b619642)
Update
[0.4.0-29] - 2022-03-31
Bug Fixes
- Use global nodeExtent if node.extent is undefined (1b50373)
- Compute type in wrapper (24858df)
- No transform of id to ref (bac2bd6)
- Injection missing (262b902)
Features
Miscellaneous Tasks
Update
- RGB demo (8b87156)
- Import order (d108867)
- Split features into separate files (c8201ca)
- Remove logs (6263b69)
- Remove unnecessary type exports (f08cabb)
- Generic types (8706f3b)
- Fitview on breakpoint change (329e0b7)
- Add button edge example (9d32e48)
[0.4.0-28] - 2022-03-30
Miscellaneous Tasks
Update
- Color transitions (75934af)
[0.4.0-27] - 2022-03-30
Bug Fixes
- Getter type (35b756f)
Features
Miscellaneous Tasks
- Update yarn.lock (6b36a12)
Regression
- Enable pointer events on zoom pane (07a6367)
Update
- Short circuit connection line slot (e1e68f7)
- Update stress example syntax (6c594a7)
- Set zindex to 0 on initial parse (b3f618e)
[0.4.0-26] - 2022-03-30
Bug Fixes
- Use node.extent before trying global nodeExtent (8aa1acb)
- Short circuit passing slots to renderer (d68daa2)
- Force focus into node selection (45cc53a)
Features
- Add icons (f2dbfea)
Update
- Disable pointer events on zoom pane when zoom key is active (c2803f2)
[0.4.0-25] - 2022-03-30
Bug Fixes
- Check if type exists before using as index (ca36a86)
[0.4.0-24] - 2022-03-30
Bug Fixes
- Check if type exists before using as index (7ffebba)
Features
- Debounce scaling to avoid lag spikes (2928612)
Regression
- Add slots to vue flow container to indicate possible slot names (9d052de)
- Removing nodes/edges breaks renderer (0628444)
Update
- V-if on existing edges before looping wrapper (e647cf6)
- Support fragments as node slots (1ed3456)
- Support fragments as edge slots (e920ebc)
- Support fragments as connection line slot (7873877)
- Add windicss (5995f95)
[0.4.0-23] - 2022-03-30
Features
- Pass node slots as injections to wrapper (49121f3)
- Use slot injection for custom connection lines (1652113)
- Use slot injection for custom edges (d1b8c23)
- Export apply changes utilities for options api (7b5326c)
- Add vitepress for docs & docs workspace (9f8b09e)
Miscellaneous Tasks
- Add vite plugins to examples (b51851e)
- Shorten provide (d8c7494)
- Update tsconfig.json (bae303d)
- Add tsconfig.node.json (069b896)
Update
- Parse style.css with postcss instead of including it with vite (a64b98a)
[0.4.0-22] - 2022-03-29
Bug Fixes
- Store & usevueflow types (f0c3506)
Features
- Add path alias for local dev (220a3c4)
Miscellaneous Tasks
- Remove README.md after publish (2c4759d)
- Lint ts def files after build (cd9141b)
- Update package.json files (5a3caa1)
Update
- Move examples into src dir (e3436f8)
[0.4.0-21] - 2022-03-29
Miscellaneous Tasks
- Copy README for pkg release (1a240a4)
[0.4.0-19] - 2022-03-29
Miscellaneous Tasks
- Update package.json files (59931f0)
[0.4.0-18] - 2022-03-29
Features
Miscellaneous Tasks
- Update README.md (8cf4622)
Update
- Rename typedocs out dir to typedocs (119b26d)
[0.4.0-17] - 2022-03-29
Bug Fixes
- Set default prop as undefined for connectOnClick (60aefad)
Miscellaneous Tasks
[0.4.0-16] - 2022-03-29
Bug Fixes
- Prevent onClick from creating edges inside same node (c1105ff)
Regression
- Use computed to get current node/edge (fc45029)
[0.4.0-15] - 2022-03-29
Bug Fixes
- Try to resolve component before falling back to default (d5cea2d)
[0.4.0-14] - 2022-03-28
Bug Fixes
- Check if window exists before binding event listener for keypress (a4d46a7)
- Change modelValue/node-/edge-prop when elements are added to state (87ea2b4)
- Use empty string instead of null when source-/target-handle is not present (67df80b)
- Check if scope exists before accessing id (4383684)
Miscellaneous Tasks
- Move watcher and computed to bottom (d5bb57f)
Update
- Try fetching instance when out of scope (777e8bd)
- Rename update to updates (to fit arr type) (c1dcf22)
[0.4.0-13] - 2022-03-26
Features
- Add ResizableNode to Basic example (ff265e9)
Miscellaneous Tasks
Refactor
- Remove background variant none (6a6d077)
Regression
[0.4.0-12] - 2022-03-25
Bug Fixes
Miscellaneous Tasks
Refactor
- Change children API to parentNode API (b03d761)
[0.4.0-11] - 2022-03-25
Bug Fixes
Features
- Add dimensions to nodeprops (3b344e5)
Miscellaneous Tasks
- Remove unused var (c7d4d37)
Refactor
- Rename selectionActive to userSelectionActive (25123e1)
Update
- Move mounted hooks up (7cc0232)
[0.4.0-10] - 2022-03-25
Bug Fixes
- Missing source/target node props on smoothstep edges (4317101)
- Prevent scroll when zoom on scroll is false (b5f9497)
[0.4.0-9] - 2022-03-25
Bug Fixes
- Pass all required props to node components (b0a45ea)
- Pass parentNode id instead of parentNode to components (64127c7)
- Expand nodes correctly when prop enabled (0b43e45)
- Setting store state after init (f8fa76c)
- Connection line style prop (e55cbc8)
- Destructure useHandle (4ef0363)
- Source/targetHandle type (6fdaf7c)
- Default prop value for zoomActivationKeyCode (fc5d23b)
- Use correct functions for center/path in simple bezier edge (c5fff3a)
- Use correct vars for center in straight edge (8ef7c9e)
- Check if prop label exists before using dynamic component (b0af70b)
Features
- Enable passing components as node/edge-types (6a2c1b0)
- Enable using a parentNode / parentNodeId to add child nodes (9a8caf4)
- Add updateNodeDimensions actions (f1b52d9)
- Add onClick handler (c97578a)
- Add & export bezierCenter function (6ced48e)
- Add base edge (13cd501)
- Add default edge options (10feee7)
- Add noPanClassName, noWheelClassName & noDragClassName (ce81cea)
- Add d3zoom event to hooks (cf9c3ef)
- Add SimpleBezierEdge (8b1ccad)
Miscellaneous Tasks
Refactor
- Shorten default state setter function (3539937)
- Shorten watcher (5cc0da2)
- Shorten setState (0352acb)
- Use null instead of undefined for optional state properties (f3d6168)
- Reduce node props (0b321b4)
- Remove node and edges export (09ade19)
- Remove scaling from edge text (631b6aa)
- Rename paneMovable to panOnDrag (4a0df4a)
- Make zoomActivationKeyCode non-optional again (23b9b45)
- Make zoomActivationKeyCode non-optional again (bca4b56)
Update
- Set vueFlow var to null on scope dispose (c9b19ef)
- Remove typecast (1649369)
- Add edge text to exports (2aad21d)
[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)