-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(d3): upgrades D3 dep to v5, adjusts lib API (#125)
refactor: gets basic tree rendering working with D3@5.x.x (#125) * Lib types (`TreeNode`) still need to be unified with D3 generics (`HierarchyPointNode<T>`) * offset-on-translate needs to be ported to v5 to avoid jump-on-grab issue fix(diagonal path): fixes diagonal path fns for v5 feat(demo): adds "step" pathFn button fix(straight path): reimplements drawStraightPath for D3 v5 fix(zoom): fixes pan and zoom jump for v5 API fix: fixes translation origins for Node test(link): fixes expected path string output chore(demo): adds missing toggle for props.shouldCollapseNeighborNodes chore(scripts): adds `jest --findRelatedTests` for staged files fix: remaps some undefined prop access, type sigs for tree methods test(tree): fix prop selection `nodeData` -> `data` test(node): adjusts mock data for new NodeProps shape chore: clean up console statement fix(tree): fixes props.collapseNeighborNodes regression
- Loading branch information
Showing
11 changed files
with
793 additions
and
232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.