Releases: jpb12/react-tree-graph
Releases · jpb12/react-tree-graph
v7.0.0
- Breaking change: Single default export replaced with two named exports
- Support for tree shaking
- Significantly reduces bundle size, reduced even further if not using animations
Migrating:
- If you were using
animated=true
, use the namedAnimatedTree
export - Otherwise, use the named
Tree
export - The
animated
prop is no longer used and can be removed
v6.1.0
v6.0.1
v6.0.0
v5.1.1
v5.1.0
v5.0.0
- Breaking change: Adding support for rect and polygon
- Breaking change: Allowing textProps to override default offsets
- Breaking change: Fixing incorrect default offsets
- Breaking change: Wrapping nodes and links in a g node for easier transformations
Migrating:
- If you were using circleProps, use nodeProps instead. The format is the same.
- If you were using nodeRadius, instead pass an r prop through nodeProps.
- If you were using nodeOffset, instead pass a dy prop through textProps.
- If you had css selectors relying on the path and g nodes being immediate children of svg, you will have to modify these due to the additional g node inbetween.
- If you weren't using nodeOffset, node text position will change slightly.
v4.1.1
- Fixed incorrect proptype (thanks @josh-stevens)