Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jul 10, 2011
  1. Allow multiple zoom behaviors to coexist.

    Any event handlers on the window need to manage global state, as they will be
    replaced when another zoom behavior is created.
  2. Merge branch 'release'

  3. Merge branch 'touch' into release

    This includes nearly a complete rewrite of d3.behavior.zoom, more closely
    modeled after the Polymaps po.drag, po.touch and po.wheel classes. This makes
    the code simpler and also fixes a bug when releasing one of two fingers.
Commits on Jul 9, 2011
  1. Merge branch 'jasondavies/force-touch' into release

    I simplified the implementation to only support single-touch. I also opted not
    to include touch support in the force-dynamic example (and other examples), just
    because it complicates the examples too much. Touch is nice but I don't want it
    to interfere with people learning the basics.
    This merge also has an extra bonus fix: you can now have multiple force layouts
    with dragging on the same page, and the drag behavior will do the direct the
    event to the appropriate force layout.
  2. Add d3.quantile.

  3. Merge branch 'release'

  4. Merge @ignacioola's fix.

Commits on Jul 8, 2011
  1. @jasondavies

    Remove force.gravityCenter.

    jasondavies authored
    Simpler to perform gravity calculations in a custom tick handler.
  2. @jasondavies

    Add per-node gravity: force.gravityCenter.

    jasondavies authored
    This allows the Dorling/Demers cartograms to be slightly closer to the real
    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.
  3. @jasondavies
  4. @jasondavies

    Add Demers cartogram example.

    jasondavies authored
    Like a Dorling cartogram, but with squares instead of circles.
  5. @jasondavies
  6. @jasondavies
  7. @jasondavies

    Initial version of Dorling cartogram example.

    jasondavies authored
    This version uses variable-length links, but I think collision detection
    performed after initial positioning at state centroids would look better.
  8. @jasondavies

    Add missing force.linkStrength property.

    jasondavies authored
    Also update examples to use force.linkDistance instead of force.distance.
  9. @jasondavies

    Add variable link strength (alpha) to force layout.

    jasondavies authored
    Also, rename force.distance to force.linkDistance, but keep force.distance as an
    alias for backwards-compatibility.
    Fixes #211.
  10. @jasondavies
  11. @jasondavies
Commits on Jul 7, 2011
  1. @ignacioola
Commits on Jul 6, 2011
  1. @jasondavies
  2. @jasondavies
  3. @jasondavies

    Merge branch 'master' into kde

    jasondavies authored
  4. @jasondavies
  5. @jasondavies
Commits on Jul 4, 2011
  1. Delete symlinks.

  2. @jmalonzo
Commits on Jul 3, 2011
  1. Prettier colors.

  2. Add force toggle example.

Something went wrong with that request. Please try again.