Граф коммитов

3 Коммитов

Автор SHA1 Сообщение Дата
Mike Bostock 3081dd45ef Consolidate everything into d3.v2.js.
Rather than producing separate files for each module, the default build now
produces a single file. This should encourage better page-load performance as
the files were relatively small. Also, it's easier to deal with only one file
rather than many, especially if you're not quite sure what the dependencies are.
You may still create minimized builds, if you don't want every feature.

This commit also demotes the chart components to the examples directory, rather
than keeping them as part of the core library. As always, D3 is not a charting
library, and these were ever only intended to serve as examples.
2012-02-18 14:04:01 -08:00
Jason Davies d49c499c68 Handle single node in d3.layout.cluster.
If there is only one node, it will be positioned at y = 0, which is
consistent with d3.layout.tree.

Fixes #396.
2011-12-13 12:49:09 +00:00
Jason Davies feef31a492 Add empty children/zero tests for cluster layout. 2011-09-08 09:00:24 +01:00