panasplash.blogg.se

Zoom update release notes
Zoom update release notes












zoom update release notes

Fix bug when initializing nodes with fixed positions.force.initialize is now passed a random source.Improve the error message when a link references an unknown node.Improve the default phyllotaxis layout slightly by offsetting by one half-radius.All built-in forces are now fully deterministic (including “jiggling” coincident nodes).Add iterations argument to simulation.tick.Change drag.on to pass the event directly to listeners.Improve multitouch (two-touch) interaction.Change brush.on to pass the event directly to listeners.Fix d3.ticks to not return ticks outside the domain.Fix bin thresholds to ignore NaN input.Accept non-sorted input with d3.quantile.Allow more than two iterables for d3.cross.More than 450 examples have been updated to D3 6.0! d3-array … and a variety of other small enhancements. d3-chord has new layouts for directed and transposed chord diagrams. And there’s a new d3-geo-voronoi for spherical (geographical) data! d3-random is greatly expanded and includes a fast linear congruential generator for seeded randomness. There are lots of new helpers in d3-array, too, such as d3.greatest, d3.quickselect, and d3.fsum.ĭ3 now passes events directly to listeners, replacing the d3.event global and bringing D3 inline with vanilla JavaScript and most other frameworks.ĭ3-delaunay (based on Vladimir Agafonkin’s excellent Delaunator) replaces d3-voronoi, offering dramatic improvements to performance, robustness, and search. d3.group and d3.rollup are powerful new aggregation functions that replace d3.nest and work great with d3-hierarchy and d3-selection. Changes in D3 6.0ĭ3 now uses native collections (Map and Set) and accepts iterables. Ordinal scales now use InternMap for domains domain values are now uniqued by coercing to a primitive value via object.valueOf instead of coercing to a string via object.toString.Īrray-likes ( e.g., a live NodeList such as element.childNodes) are converted to arrays in d3.selectAll and lectAll. d3.ascending and d3.descending no longer consider null comparable. For more, please read Sindre Sorhus’s FAQ.ĭ3.bin now ignores nulls. For minor and patch changes, please see the release notes.ĭ3 now ships as pure ES modules and requires Node.js 12 or higher.














Zoom update release notes