From b79843666b7f1220f8a55e9f3d0ba5d8718216a9 Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Sat, 28 Jan 2017 21:37:01 -0800 Subject: [PATCH] Update d3-hierarchy. --- API.md | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/API.md b/API.md index 007aa42f..76f55632 100644 --- a/API.md +++ b/API.md @@ -482,6 +482,7 @@ Layout algorithms for visualizing hierarchical data. * [*node*.links](https://github.com/d3/d3-hierarchy/blob/master/README.md#node_links) - generate an array of links. * [*node*.sum](https://github.com/d3/d3-hierarchy/blob/master/README.md#node_sum) - evaluate and aggregate quantitative values. * [*node*.sort](https://github.com/d3/d3-hierarchy/blob/master/README.md#node_sort) - sort all descendant siblings. +* [*node*.count](https://github.com/d3/d3-hierarchy/blob/master/README.md#node_count) - count the number of leaves. * [*node*.each](https://github.com/d3/d3-hierarchy/blob/master/README.md#node_each) - breadth-first traversal. * [*node*.eachAfter](https://github.com/d3/d3-hierarchy/blob/master/README.md#node_eachAfter) - post-order traversal. * [*node*.eachBefore](https://github.com/d3/d3-hierarchy/blob/master/README.md#node_eachBefore) - pre-order traversal. diff --git a/package.json b/package.json index ac4b27b0..b31b1df7 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "d3-force": "1.0.4", "d3-format": "1.0.2", "d3-geo": "1.4.0", - "d3-hierarchy": "1.0.3", + "d3-hierarchy": "1.1.1", "d3-interpolate": "1.1.3", "d3-path": "1.0.3", "d3-polygon": "1.0.2",