Skip to content

Releases: MrBlenny/react-flow-chart

0.0.14

28 Jun 02:56
Compare
Choose a tag to compare

Fixed

  • Drag and drop nodes now reflects the correct position when zoomed ajuhos
  • Fixed some link positioning errors ajuhos
  • Fix canvas drop creating 2 nodes IdealSystemsMCP
  • Remove depricated findDOMNode method IdealSystemsMCP

Added

0.0.13

09 May 06:20
Compare
Choose a tag to compare

Fixed

  • Nodes in view calculation was wrong if the chart was zoomed leading to the nodes not displaying.
  • Moved styled-components to a peer dependency
  • Do not send click even when drag finishes crsven

0.0.12

26 Apr 10:06
Compare
Choose a tag to compare

Fixed

Added

  • Use the data.id if it exists on the drag and drop data transfer object NoyTse
  • Add an onNodeDoubkeClick handler jetmar
  • Add properties.linkColor support to the default link component ielijose
  • Zoom support! ielijose

Breaking

  • Readonly mode will no longer disable canvas drag parasg1999
  • Updated styled components to ^5.1.0 ophirg
  • Zoom is enabled by default
  • Chart state must have now have a scale property

0.0.11

02 Mar 05:10
Compare
Choose a tag to compare

Fixed

  • Fixed an issue with onDrag errors

0.0.10

02 Mar 03:59
Compare
Choose a tag to compare

Added

  • smartRouting mode dmitrygalperin
  • Pass node into ports to enable customisation fenech
  • Add nodeMouseEnter and nodeMouseLeave callbacks fenech
  • Add onDragCanvasStop and onDragNodeStop callbacks lordi

0.0.9

18 Jan 02:07
Compare
Choose a tag to compare

Fixed

  • The onNodeClick action will no longer be called when dragging fenech
  • Fix data consistency when snapToGrid is on/off sinan
  • Update node size when size changes in the DOM zetavg
  • Prevent links and ports displaying as active when in readonly mode.

Breaking

  • Updated styled components to ^5.0.0 yuyokk

0.0.7

22 Aug 10:11
Compare
Choose a tag to compare

Added

  • Readonly mode. yukai-w
  • Offset position to dropped item position. phlickey
  • snapToGrid and gridSize config options. msteinmn
  • validateLink config function. msteinmn
  • misc other fixes. msteinmn
  • Config object that is accessible by all components and actions.

Breaking

  • Changed the callbacks / action type signatures so they are always functions with a single object param - hopefully preventing some future breaking changes. If you use custom callbacks, these will need to be updated. New type interface

0.0.6

30 Apr 09:29
Compare
Choose a tag to compare

Added

  • Upgrade Typescript and Storybook.
  • Prevent re-rendering for nodes and links that are not in use. alexkuz PR7
  • Render only nodes currently visible for user. alexkuz PR7
  • Fix calculating link position when canvas is not positioned in top left corner. alexkuz PR7

Breaking

  • Added a new onNodeSizeChange action that is required for calculating which nodes are visible. If you are using external state, this will need to be implemented.