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

[d3-sankey] Throw an error for graphs with cycles #78

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

Commits on Sep 22, 2013

  1. [d3-sankey] Throw an error for graphs with cycles

    The current behaviour is to go into an infinite loop while trying to
    assign depths to nodes in case the graph has cycles. This commit changes
    it to explicitly throw an error instead till support for displaying
    cycles in sankeys is properly supported.
    
    Tested by modifying http://bost.ocks.org/mike/sankey/ data to have
    complex cycles and attempting to render.
    kunalb committed Sep 22, 2013
    Configuration menu
    Copy the full SHA
    67d3cdd View commit details
    Browse the repository at this point in the history