Files
vue-flow/CHANGELOG.md
2022-04-21 10:53:39 +02:00

88 KiB

Changelog

All notable changes to this project will be documented in this file.

[unreleased]

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

1c429fc...8f4d1b3

Documentation

  • Update vue flow version (cc76a76)
  • Remove data script and fetch data in Banner.vue (bec26f3)

Features

  • Add name to TransformationPane.vue (fdf2a6e)

Miscellaneous Tasks

  • Update lock file (cb14acd)
  • Move custom size check up above watcher (908657c)

Refactor

  • ElementData as any type (92a0817)

[0.4.0] - 2022-04-04

f3b3062...1c429fc

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

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

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

11da181...f3b3062

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

  • Use bgColor on extra rect (d9c67be)
  • Return vueFlow even if scope doesnt exist (3f5c7ea)

[0.4.0-7] - 2022-03-16

93e3d8b...11da181

Refactor

  • Move paneReady event to transformation pane mounted hook (0592929)

Update

  • Remove useWindow export (dcd2ec4)

[0.4.0-6] - 2022-03-14

79bac64...93e3d8b

Update

[0.4.0-5] - 2022-03-14

f3b1c5e...79bac64

Miscellaneous Tasks

  • Update auto-imports.d.ts (c70c816)

Update

[0.4.0-4] - 2022-03-14

e4e5e67...f3b1c5e

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

0c5e4a4...e4e5e67

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

776000c...0c5e4a4

Refactor

[0.4.0-1] - 2022-02-21

082bc51...776000c

Bug Fixes

  • Typings for UseVueFlow (2731d0b)
  • Typings for UseVueFlow (8260eab)
  • Clear all empty values before passing as props (1756160)

Features

  • Add OptionsAPI example (78c5868)
  • Try to dispose states on unmount (c5b39d4)

Miscellaneous Tasks

Refactor

  • Remove useElementsState utility (ca85d80)
  • Use dist pkg for examples (54e8301)

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

4663bb2...082bc51

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

527a70c...4663bb2

Update

[0.3.0] - 2021-12-04

f0ca05f...527a70c

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

166d837...f0ca05f

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

50fc0f2...166d837

Bug Fixes

  • Import paths in components (c3f8809)
  • SetState syntax error (01f5456)

Refactor

  • Async process elements (4408ca1)
  • Deferr initial loading to Renderer.vue component (5b00049)

Update

  • Watch nodes width for dimension update (0b27640)
  • Zoom-pane style (e73a55a)

[0.2.0] - 2021-11-25

7829b6a...50fc0f2

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

d57b94d...7829b6a

Bug Fixes

  • Edges not reacting to hidden nodes (d22e210)

Features

Update

  • When zoom is deactivated we disbale scrolling (ca46d6a)
  • Export flowprops and custom connection line props type (091f3f8)

[0.1.6] - 2021-11-23

65250c2...d57b94d

Bug Fixes

  • PreventScrolling missing in props definition (c286b3b)

[0.1.5] - 2021-11-23

8ec494d...65250c2

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

  • Remove fallback operator (8d08f67)
  • Add scale prop to draggable (c0f7e5c)

[0.1.4] - 2021-11-23

3453127...8ec494d

Features

  • Extend connection line props for more advanced usage (67634fd)

[0.1.3] - 2021-11-23

1f77b77...3453127

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

94dcb0c...1f77b77

Bug Fixes

  • Connection line position incorrectly calculated (d87388f)

[0.1.1] - 2021-11-22

a03f658...94dcb0c

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

d1e59ef...a03f658

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

f5f16b6...d1e59ef

Bug Fixes

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

a4e3bf5...f5f16b6

Bug Fixes

  • Suspension not working properly (d25fa57)

[0.0.32] - 2021-11-20

c40e496...a4e3bf5

Bug Fixes

  • OnLoad being triggered when elements aren't ready (990126b)

[0.0.31] - 2021-11-19

52351c3...c40e496

Bug Fixes

  • Flow not properly pre-loading state (6a1571e)

[0.0.30] - 2021-11-19

08b9afb...52351c3

Features

  • Add NodeTypes and EdgeTypes (37388dd)
  • Merge store with props (6a68292)

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

9c0e293...08b9afb

Update

  • Add default null value to injections (3f139df)

[0.0.28] - 2021-11-19

5e399a6...9c0e293

Bug Fixes

  • Storage not properly preloading (b91d65f)

Features

Update

  • Merge props with state objects (48da1ec)
  • Use vmodel for custom node (f99dca1)

[0.0.27] - 2021-11-19

95550b3...5e399a6

Bug Fixes

  • V-model implemented again (f534572)

[0.0.26] - 2021-11-19

de93473...95550b3

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

0cca54e...de93473

Features

Update

[0.0.24] - 2021-11-18

e98be05...0cca54e

Features

  • Add useVueFlow composable (a493168)

Update

  • Mini map to accept node slot instead of "nodes" slot (3e24a35)

[0.0.23] - 2021-11-18

b2d124e...e98be05

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

  • Clamp transform values (60327c4)
  • Remove watcher and use until (90a2a65)

[0.0.22] - 2021-11-18

6353f15...b2d124e

Bug Fixes

  • Event propagation from zoom (b918eb6)

[0.0.21] - 2021-11-18

f22a3ba...6353f15

Features

  • Add slots to edges and nodes (8b82c4f)

[0.0.20] - 2021-11-18

0373436...f22a3ba

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

e9b3265...0373436

Revert

  • Inject necessary styles directly to bundle (872ad1d)

Update

  • Invoke until func in zoom pane (43ce523)

[0.0.18] - 2021-11-17

7b9ca28...e9b3265

Features

  • Add suspension to zoom pane (954722a)

Update

[0.0.17] - 2021-11-17

c7f735d...7b9ca28

Features

  • Inject necessary styles directly to bundle (074d284)

Update

[0.0.16] - 2021-11-17

a21238f...c7f735d

Update

[0.0.15] - 2021-11-16

e05e546...a21238f

Bug Fixes

  • Properly check if node is connectable/draggable/connectable (677c9a8)

Update

  • README.md (6b4cb9e)
  • Hide edges with v-show instead of v-if (23ad66d)

[0.0.14] - 2021-11-16

3b4e164...e05e546

Bug Fixes

  • Node dimensions not updating properly (694dc7e)

[0.0.13] - 2021-11-16

0bde39f...3b4e164

Bug Fixes

  • Remove force-update from node (808c6b1)
  • Pass props to store state (9b604e7)

Update

  • Count store id gradually up instead of "randomizing" one (93730a7)

[0.0.12] - 2021-11-16

2d730cf...0bde39f

Update

  • Export default nodes and edges (e1e656c)

[0.0.11] - 2021-11-16

fc19dde...2d730cf

Bug Fixes

  • Remove sourceX/Y, targetX/Y attributes from edge type (6c2bdcd)

[0.0.10] - 2021-11-16

525a188...fc19dde

Update

  • Merge EdgeProps into Edge type (413c7ac)

[0.0.9] - 2021-11-16

a092185...525a188

Bug Fixes

  • Disable inherting attrs on nodes/edges to avoid warnings (a58d952)

Update

[0.0.8] - 2021-11-16

e560cdd...a092185

Bug Fixes

  • Missing script lang in README.md (b077241)
  • Cancel keypress for input dom nodes (4fb55ab)

[0.0.7] - 2021-11-16

b8c8142...e560cdd

Bug Fixes

Update

  • Remove update node internals composable (7c66cf5)
  • Remove js files after declaration generation (8414ee1)

[0.0.6] - 2021-11-16

d9e3104...b8c8142

Features

  • Extend options to pass custom nodes / edges (d1dab4c)

[0.0.5] - 2021-11-16

814212e...d9e3104

Update

  • README.md (7c72507)
  • Transform d.ts file paths to resolve correctly (65b73d3)

[0.0.4] - 2021-11-15

eeb6047...814212e

Update

[0.0.3] - 2021-11-15

9dc8c09...eeb6047

Update

[0.0.2] - 2021-11-15

4d7712f...9dc8c09

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

087eb52...4d7712f

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-app dir (27c72e0)
  • Styling of sidebar and header (412a84a)
  • README.md (1b0602d)

[0.0.37] - 2021-07-15

041fe11...087eb52

Bug Fixes

  • Create store instance for every revue flow instance (ec45cd7)
  • User selection (2f93c91)

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

4d52af0...041fe11

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