Commit 7a6f04e
committed
Cluster & tree layouts don't use
These hierarchical layouts inadvertantly exposed the `value` attribute and
default sort-by-value, even though they don't depend on a numeric node value to
compute the layout. Additionally, the hierarchical layout would filter any nodes
with nonpositive (or undefined) values, which was overly strict. Fixes d3#121.value.1 parent 43e2ccc commit 7a6f04e
5 files changed
Lines changed: 21 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
674 | 672 | | |
675 | 673 | | |
676 | | - | |
677 | | - | |
| 674 | + | |
| 675 | + | |
678 | 676 | | |
679 | 677 | | |
680 | 678 | | |
| |||
689 | 687 | | |
690 | 688 | | |
691 | 689 | | |
692 | | - | |
| 690 | + | |
693 | 691 | | |
694 | 692 | | |
695 | | - | |
| 693 | + | |
| 694 | + | |
696 | 695 | | |
697 | 696 | | |
698 | 697 | | |
| |||
945 | 944 | | |
946 | 945 | | |
947 | 946 | | |
948 | | - | |
| 947 | + | |
949 | 948 | | |
950 | 949 | | |
951 | 950 | | |
| |||
986 | 985 | | |
987 | 986 | | |
988 | 987 | | |
989 | | - | |
990 | 988 | | |
991 | 989 | | |
992 | 990 | | |
| |||
1027 | 1025 | | |
1028 | 1026 | | |
1029 | 1027 | | |
1030 | | - | |
| 1028 | + | |
1031 | 1029 | | |
1032 | 1030 | | |
1033 | 1031 | | |
| |||
1154 | 1152 | | |
1155 | 1153 | | |
1156 | 1154 | | |
1157 | | - | |
1158 | 1155 | | |
1159 | 1156 | | |
1160 | 1157 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
25 | 23 | | |
26 | 24 | | |
27 | | - | |
28 | | - | |
| 25 | + | |
| 26 | + | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
| |||
40 | 38 | | |
41 | 39 | | |
42 | 40 | | |
43 | | - | |
| 41 | + | |
44 | 42 | | |
45 | 43 | | |
46 | | - | |
| 44 | + | |
| 45 | + | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | 130 | | |
132 | 131 | | |
133 | 132 | | |
| |||
0 commit comments