Skip to content
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.

sankey: fix nodesByBreadth to have proper ordering #124

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 25, 2015

  1. sankey: fix nodesByBreadth to have proper ordering

    d3.nest().key() converts all keys into strings. d3.ascending does not coerce strings into numbers for comparison -- do it ourselves.
    
    This improves relaxation efficiency. Before, it could traverse levels in the wrong orders, taking longer to propagate values up.
    rmmh committed Feb 25, 2015
    Configuration menu
    Copy the full SHA
    4d1c071 View commit details
    Browse the repository at this point in the history