Skip to content

Commit

Permalink
Minor lib updates
Browse files Browse the repository at this point in the history
  • Loading branch information
magicsunday committed Jan 13, 2024
1 parent 6cd791b commit 5dbbd2c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@
"d3-fetch": "^3.0.1",
"d3-hierarchy": "^3.1.2",
"d3-path": "^3.1.0",
"d3-scale": "^4.0.2",
"d3-selection": "^3.0.0",
"d3-shape": "^3.2.0",
"d3-timer": "^3.0.1",
"d3-transition": "^3.0.1",
"d3-zoom": "^3.0.0",
"rollup": "^4.5.2"
"rollup": "^4.9.3"
}
}
2 changes: 1 addition & 1 deletion resources/js/descendants-chart.min.js

Large diffs are not rendered by default.

21 changes: 18 additions & 3 deletions resources/js/modules/lib/d3.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
/**
* This file is part of the package magicsunday/webtrees-descendants-chart.
* This file is part of the package magicsunday/webtrees-fan-chart.
*
* For the full copyright and license information, please read the
* LICENSE file distributed with this source code.
* LICENSE file that was distributed with this source code.
*/

/*
https://github.com/d3/d3-fetch
https://github.com/d3/d3-hierarchy
https://github.com/d3/d3-path
https://github.com/d3/d3-scale
https://github.com/d3/d3-selection
https://github.com/d3/d3-shape
https://github.com/d3/d3-timer
https://github.com/d3/d3-transition
https://github.com/d3/d3-zoom
*/
Expand All @@ -19,17 +22,29 @@ export {
} from "d3-fetch";

export {
Node, hierarchy, tree
Node, hierarchy, partition, tree
} from "d3-hierarchy";

export {
path
} from "d3-path";

export {
scaleLinear
} from "d3-scale";

export {
select, selectAll
} from "d3-selection";

export {
timer
} from "d3-timer";

export {
arc
} from "d3-shape";

export {
transition
} from "d3-transition";
Expand Down

0 comments on commit 5dbbd2c

Please sign in to comment.