Skip to content

Releases: xyflow/xyflow

Release 3.0.2

31 May 10:19
Compare
Choose a tag to compare
  • fix(projectFunc): don't scale grid size #261 (6530e40)
  • fix(snaptogrid): don't scale grid size closes #261 (2000b58)
  • docs(readme): add used classes (0fe3f1c)

Release 3.0.1

30 May 18:46
Compare
Choose a tag to compare
  • style(nodes): put styles into specific node type classes (eef9b69)

Release 3.0.0

30 May 18:29
Compare
Choose a tag to compare

Breaking changes

We now apply the style option of a node the the wrapper and not the node itself. The advantage is that your custom nodes don't need to care about applying the styles and you can just return a Fragment with the actual content. More over it's easier to overwrite default styles with css.

  • refactor(styling): use css for default styles (#259) (714c916)

Bugfixes & Enhancements

  • fix(bezieredge): correctly connect diagonally nodes closes #256 (0558ff8)
  • refactor(connectionLine): create connection line type enum (c620d0f)
  • feat(handle): add class name prop type (f231391)

Release 2.2.1

29 May 12:47
Compare
Choose a tag to compare
  • feat(internals): export easy peasy hooks closes #257 (94e7d4a)

Release 2.2.0

28 May 09:30
Compare
Choose a tag to compare
  • refactor(connectionline): handle horizontal flows correctly closes #253 (11a3605)
  • feat(nodes): add class name option closes #254 (a555df0)

Release 2.1.1

27 May 16:08
Compare
Choose a tag to compare
  • refactor(elementUpdater): dont append undefined style to node #251 (a3c5d23)

Release 2.1.0

25 May 16:18
Compare
Choose a tag to compare
  • feat(nodes): add selectNodesOnDrag prop type (02b4dc8)

Release 2.0.0

25 May 15:26
Compare
Choose a tag to compare

Breaking changes

The React Flow component has no background related prop types anymore but we export a Background component you can use.

  • refactor(background): export background as component closes #235 (7324c79)

Release 1.4.0

25 May 12:04
Compare
Choose a tag to compare
  • feat(wrapper): add onSelectionChange handler (f154f59)
  • feat(nodes): add onDragStart handler #241 (5049379)

Release 1.3.8

19 May 17:13
Compare
Choose a tag to compare
  • feat(helper): export project function closes #237 (c0390ee)
  • add className prop to ReactFlow container component closes #238 (cebab67)
  • refactor(elements): cast source and target of edge to string (1ace58d)
  • refactor(helper): use type predicates for isEdge and isNode (edefe86)