Permalink
Commits on Aug 22, 2011
  1. Merge branch 'release'

    mbostock committed Aug 22, 2011
  2. Prevent click events on drag in zoom behaviour.

    jasondavies committed Aug 22, 2011
    You have to hold the mouse quite still though (see the zoom-pan
    example).  Perhaps we should have a small allowance for jittery mice?
    
    Fixes #243.
  3. Weight nodes according to number of links.

    mbostock committed Aug 22, 2011
    The previous implementation was very unstable if a large number of nodes were
    connected to a single node (a single node connecting many). The problem was that
    the single node in the center would be moved many times for each connected node,
    never converging to a stable solution. The fix is to weight each node according
    to the number of links; in effect, the Gauss-Seidel relaxation then becomes the
    average of the connected links, rather than relaxing each link individually.
  4. "psuedo" -> "pseudo".

    jasondavies committed Aug 22, 2011
  5. If fixed is set externally, make it sticky.

    mbostock committed Aug 22, 2011
    Previously, if you set a node to be `fixed`, it was forgotten on mouseover. Now
    the preference is sticky. This changes the fixed attribute from a boolean to a
    two-bit integer, but truthiness remains for backwards compatibility.
Commits on Aug 20, 2011
  1. Add missing semicolon.

    jasondavies committed Aug 20, 2011
Commits on Aug 19, 2011
  1. Merge branch 'release'

    mbostock committed Aug 19, 2011
  2. Add test for tree layout.

    mbostock committed Aug 19, 2011
    For now, test the bug we just fixed.
  3. Whitespace.

    mbostock committed Aug 19, 2011
  4. Don't trigger mousemove on mouseup in force layout.

    jasondavies committed Aug 19, 2011
    Avoids a spurious layout restart if the mouse hasn't moved.
    
    Fixes #207.
Commits on Aug 18, 2011
  1. Add marker example.

    mbostock committed Aug 18, 2011
  2. Replace submodule with package.json.

    mbostock committed Aug 18, 2011
    This is better, because now we can enumerate all of our dependencies without
    embedding them as submodules. After pulling, run `npm install`.
Commits on Aug 17, 2011
  1. Merge branch 'test'

    mbostock committed Aug 17, 2011
  2. Add test for svg.area.radial.

    mbostock committed Aug 17, 2011
    Also, better formatting for failure message in assert.pathEqual.
  3. Add test for svg.line.radial.

    mbostock committed Aug 17, 2011
  4. Better tests for svg.line.

    mbostock committed Aug 17, 2011
  5. Better tests for svg.arc.

    mbostock committed Aug 17, 2011
    This also fixes a bug when start and end angle are inverted.
  6. Replace lib/uglifyjs with a submodule.

    mbostock committed Aug 17, 2011
    This brings along a newer version of UglifyJS that fixes some bugs, too.
  7. Add test for scale.quantize.

    mbostock committed Aug 17, 2011
  8. Add test for csv.format.

    mbostock committed Aug 17, 2011
  9. Add test for csv.

    mbostock committed Aug 17, 2011
  10. Add tests for xhr and friends.

    mbostock committed Aug 17, 2011
  11. Add test for timer.

    mbostock committed Aug 17, 2011
    Also fix a minor bug where we might miss the delay the first callback by an
    extra frame, and allow d3.timer to be called with an optional delay.
Commits on Aug 16, 2011
  1. Merge branch 'test'

    mbostock committed Aug 16, 2011
  2. Add test for ease.

    mbostock committed Aug 16, 2011