Permalink
Commits on Jul 9, 2011
  1. Merge branch 'release'

    mbostock committed Jul 9, 2011
  2. Merge @ignacioola's fix.

    mbostock committed Jul 9, 2011
Commits on Jul 8, 2011
  1. Remove force.gravityCenter.

    Simpler to perform gravity calculations in a custom tick handler.
    jasondavies committed Jul 8, 2011
  2. Add per-node gravity: force.gravityCenter.

    This allows the Dorling/Demers cartograms to be slightly closer to the real
    geography.
    
    Also, fix the Dorling collision detection as self-collisions were previously
    being detected.  Thanks, Mike!
    
    Lastly, I've removed the variable per-link distance as this is no longer needed.
    jasondavies committed Jul 8, 2011
  3. Add Demers cartogram example.

    Like a Dorling cartogram, but with squares instead of circles.
    jasondavies committed Jul 8, 2011
  4. Initial version of Dorling cartogram example.

    This version uses variable-length links, but I think collision detection
    performed after initial positioning at state centroids would look better.
    jasondavies committed Jul 8, 2011
  5. Add missing force.linkStrength property.

    Also update examples to use force.linkDistance instead of force.distance.
    jasondavies committed Jul 8, 2011
  6. Add variable link strength (alpha) to force layout.

    Also, rename force.distance to force.linkDistance, but keep force.distance as an
    alias for backwards-compatibility.
    
    Fixes #211.
    jasondavies committed Jul 8, 2011
Commits on Jul 7, 2011
Commits on Jul 4, 2011
  1. Delete symlinks.

    mbostock committed Jul 4, 2011
Commits on Jul 3, 2011
  1. Prettier colors.

    mbostock committed Jul 3, 2011
  2. Add force toggle example.

    mbostock committed Jul 3, 2011
  3. Merge branch 'hierarchy'

    mbostock committed Jul 3, 2011
  4. Backwards-compatibility for inlining.

    There's now a new API for invoking the hierarchy layout (hierarchy.nodes) rather
    than calling the layout function directly. Calling the new API enables inlining,
    which is disabled by default for backwards-compatibility.
    mbostock committed Jul 3, 2011
Commits on Jul 2, 2011
  1. Add expandable tree.

    mbostock committed Jul 2, 2011
  2. Fix interrupted transitions.

    mbostock committed Jul 2, 2011
  3. Move data files into examples directory.

    This way, we don't need symlinks (which don't work on Windows). This commit also
    simplifies the structure of the flare.json file, so that we don't need to tricky
    conversion of the JSON map—it can be read directly by the hierarchy layout.
    mbostock committed Jul 2, 2011
  4. Adopt inline(true) for all hierarchy examples.

    The ones with transitions were a bit trickier, because they depended on the
    layout creating new copy of the nodes when the layout runs.
    mbostock committed Jul 2, 2011
  5. Add `inline` property to hierarchy layout.

    This allows you to disable the default behavior which wraps the input data. I am
    investigating whether we can disable automatic wrapping, which causes confusion
    between "data" and "nodes".
    mbostock committed Jul 2, 2011
Commits on Jun 30, 2011
  1. Add d3.first and d3.last.

    These are like d3.min and d3.max, but a bit more flexible for determing the
    lowest or highest element in a given array.
    mbostock committed Jun 30, 2011
Commits on Jun 28, 2011
  1. Allow quadtree to be built dynamically.

    You can now specify the domain of the quadtree upon construction, such that you
    can add points to the quadtree dynamically later. The quadtree example now also
    shows how to do a quick rectangular search using the quadtree.
    mbostock committed Jun 28, 2011