|
| 1 | +export {version} from "./package.json"; |
| 2 | + |
| 3 | +import { |
| 4 | + bisect, |
| 5 | + bisectRight, |
| 6 | + bisectLeft, |
| 7 | + histogram, |
| 8 | + thresholdFreedmanDiaconis, |
| 9 | + thresholdScott, |
| 10 | + thresholdSturges |
| 11 | +} from "d3-array"; |
| 12 | + |
| 13 | +bisect.right = bisectRight; |
| 14 | +bisect.left = bisectLeft; |
| 15 | + |
| 16 | +histogram.thresholdFreedmanDiaconis = thresholdFreedmanDiaconis; |
| 17 | +histogram.thresholdScott = thresholdScott; |
| 18 | +histogram.thresholdSturges = thresholdSturges; |
| 19 | + |
| 20 | +export { |
| 21 | + bisect, |
| 22 | + ascending, |
| 23 | + bisector, |
| 24 | + descending, |
| 25 | + deviation, |
| 26 | + entries, |
| 27 | + extent, |
| 28 | + histogram, |
| 29 | + keys, |
| 30 | + map, |
| 31 | + max, |
| 32 | + mean, |
| 33 | + median, |
| 34 | + merge, |
| 35 | + min, |
| 36 | + nest, |
| 37 | + pairs, |
| 38 | + permute, |
| 39 | + quantile, |
| 40 | + range, |
| 41 | + scan, |
| 42 | + set, |
| 43 | + shuffle, |
| 44 | + sum, |
| 45 | + ticks, |
| 46 | + transpose, |
| 47 | + values, |
| 48 | + variance, |
| 49 | + zip |
| 50 | +} from "d3-array"; |
| 51 | + |
| 52 | +export { |
| 53 | + bisect, |
| 54 | + ascending, |
| 55 | + bisector, |
| 56 | + descending, |
| 57 | + deviation, |
| 58 | + entries, |
| 59 | + extent, |
| 60 | + histogram, |
| 61 | + keys, |
| 62 | + map, |
| 63 | + max, |
| 64 | + mean, |
| 65 | + median, |
| 66 | + merge, |
| 67 | + min, |
| 68 | + nest, |
| 69 | + pairs, |
| 70 | + permute, |
| 71 | + quantile, |
| 72 | + range, |
| 73 | + scan, |
| 74 | + set, |
| 75 | + shuffle, |
| 76 | + sum, |
| 77 | + ticks, |
| 78 | + transpose, |
| 79 | + values, |
| 80 | + variance, |
| 81 | + zip |
| 82 | +} from "d3-array"; |
| 83 | + |
| 84 | +import { |
| 85 | + uniform as randomUniform, |
| 86 | + normal as randomNormal, |
| 87 | + logNormal as randomLogNormal, |
| 88 | + bates as randomBates, |
| 89 | + irwinHall as randomIrwinHall, |
| 90 | + exponential as randomExponential |
| 91 | +} from "d3-random"; |
| 92 | + |
| 93 | +export var random = { |
| 94 | + uniform: randomUniform, |
| 95 | + normal: randomNormal, |
| 96 | + logNormal: randomLogNormal, |
| 97 | + bates: randomBates, |
| 98 | + irwinHall: randomIrwinHall, |
| 99 | + exponential: randomExponential |
| 100 | +}; |
| 101 | + |
| 102 | +import { |
| 103 | + bind as easeBind, |
| 104 | + linearIn, |
| 105 | + linearOut, |
| 106 | + linearInOut, |
| 107 | + quadIn, |
| 108 | + quadOut, |
| 109 | + quadInOut, |
| 110 | + cubicIn, |
| 111 | + cubicOut, |
| 112 | + cubicInOut, |
| 113 | + polyIn, |
| 114 | + polyOut, |
| 115 | + polyInOut, |
| 116 | + sinIn, |
| 117 | + sinOut, |
| 118 | + sinInOut, |
| 119 | + expIn, |
| 120 | + expOut, |
| 121 | + expInOut, |
| 122 | + circleIn, |
| 123 | + circleOut, |
| 124 | + circleInOut, |
| 125 | + bounceIn, |
| 126 | + bounceOut, |
| 127 | + bounceInOut, |
| 128 | + backIn, |
| 129 | + backOut, |
| 130 | + backInOut, |
| 131 | + elasticIn, |
| 132 | + elasticOut, |
| 133 | + elasticInOut |
| 134 | +} from "d3-ease"; |
| 135 | + |
| 136 | +export var ease = { |
| 137 | + bind: easeBind, |
| 138 | + linear: linearIn, |
| 139 | + linearIn: linearIn, |
| 140 | + linearOut: linearOut, |
| 141 | + linearInOut: linearInOut, |
| 142 | + quad: quadIn, |
| 143 | + quadIn: quadIn, |
| 144 | + quadOut: quadOut, |
| 145 | + quadInOut: quadInOut, |
| 146 | + cubic: cubicIn, |
| 147 | + cubicIn: cubicIn, |
| 148 | + cubicOut: cubicOut, |
| 149 | + cubicInOut: cubicInOut, |
| 150 | + poly: polyIn, |
| 151 | + polyIn: polyIn, |
| 152 | + polyOut: polyOut, |
| 153 | + sin: sinIn, |
| 154 | + sinIn: sinIn, |
| 155 | + sinOut: sinOut, |
| 156 | + sinInOut: sinInOut, |
| 157 | + exp: expIn, |
| 158 | + expIn: expIn, |
| 159 | + expOut: expOut, |
| 160 | + expInOut: expInOut, |
| 161 | + circle: circleIn, |
| 162 | + circleIn: circleIn, |
| 163 | + circleOut: circleOut, |
| 164 | + circleInOut: circleInOut, |
| 165 | + bounce: bounceIn, |
| 166 | + bounceIn: bounceIn, |
| 167 | + bounceOut: bounceOut, |
| 168 | + bounceInOut: bounceInOut, |
| 169 | + back: backIn, |
| 170 | + backIn: backIn, |
| 171 | + backOut: backOut, |
| 172 | + backInOut: backInOut, |
| 173 | + elastic: elasticIn, |
| 174 | + elasticIn: elasticIn, |
| 175 | + elasticOut: elasticOut, |
| 176 | + elasticInOut: elasticInOut |
| 177 | +}; |
| 178 | + |
| 179 | +export { |
| 180 | + path |
| 181 | +} from "d3-path"; |
| 182 | + |
| 183 | +import { |
| 184 | + arc, |
| 185 | + area, |
| 186 | + line, |
| 187 | + pie, |
| 188 | + radialArea, |
| 189 | + radialLine, |
| 190 | + symbol, |
| 191 | + symbols, |
| 192 | + circle, |
| 193 | + cross, |
| 194 | + diamond, |
| 195 | + square, |
| 196 | + star, |
| 197 | + triangle, |
| 198 | + wye, |
| 199 | + basisClosed, |
| 200 | + basisOpen, |
| 201 | + basis, |
| 202 | + bundle, |
| 203 | + cardinalClosed, |
| 204 | + cardinalOpen, |
| 205 | + cardinal, |
| 206 | + catmullRomClosed, |
| 207 | + catmullRomOpen, |
| 208 | + catmullRom, |
| 209 | + linearClosed, |
| 210 | + linear, |
| 211 | + monotone, |
| 212 | + natural, |
| 213 | + step, |
| 214 | + stepAfter, |
| 215 | + stepBefore |
| 216 | +} from "d3-shape" |
| 217 | + |
| 218 | +area.radial = radialArea; |
| 219 | +line.radial = radialLine; |
| 220 | + |
| 221 | +export var shape = { |
| 222 | + arc: arc, |
| 223 | + area: area, |
| 224 | + line: line, |
| 225 | + pie: pie, |
| 226 | + symbol: symbol, |
| 227 | + symbols: symbols, |
| 228 | + circle: circle, |
| 229 | + cross: cross, |
| 230 | + diamond: diamond, |
| 231 | + square: square, |
| 232 | + star: star, |
| 233 | + triangle: triangle, |
| 234 | + wye: wye |
| 235 | +}; |
| 236 | + |
| 237 | +export var curve = { |
| 238 | + basisClosed: basisClosed, |
| 239 | + basisOpen: basisOpen, |
| 240 | + basis: basis, |
| 241 | + bundle: bundle, |
| 242 | + cardinalClosed: cardinalClosed, |
| 243 | + cardinalOpen: cardinalOpen, |
| 244 | + cardinal: cardinal, |
| 245 | + catmullRomClosed: catmullRomClosed, |
| 246 | + catmullRomOpen: catmullRomOpen, |
| 247 | + catmullRom: catmullRom, |
| 248 | + linearClosed: linearClosed, |
| 249 | + linear: linear, |
| 250 | + monotone: monotone, |
| 251 | + natural: natural, |
| 252 | + step: step, |
| 253 | + stepAfter: stepAfter, |
| 254 | + stepBefore: stepBefore |
| 255 | +}; |
0 commit comments