Giter Site home page Giter Site logo

Support cycles. about d3-sankey HOT 6 OPEN

d3 avatar d3 commented on July 1, 2024 10
Support cycles.

from d3-sankey.

Comments (6)

peteruithoven avatar peteruithoven commented on July 1, 2024 6

There are two alternatives that do support circulair links:

from d3-sankey.

 avatar commented on July 1, 2024

Hi Eliseo,

As you yourself have noted in this issue the project seems to be mostly inactive, which the author has confirmed in another issue.

The author has not contacted either me or Mike Bostock to my knowledge, so I'm not sure about whether it was their intention to merge their changes into this repository.

However, it seems like the change you want regarding reverse-links could be implemented. I will take a closer look at this later this weekend and will keep this issue open till this is resolved. If you have further comments or suggestions, feel free to leave them here.

Thanks!

from d3-sankey.

elmart avatar elmart commented on July 1, 2024

Ok, I'll wait to hear from you.
Thx very much for your prompt response.

from d3-sankey.

freeeve avatar freeeve commented on July 1, 2024

At a minimum it would be nice if it didn't cause an infinite loop if a cycle exists. (just pretend that link doesn't exist, for example.)

from d3-sankey.

jkatsnelson avatar jkatsnelson commented on July 1, 2024

I just ran into this issue while using d3-sankey :(

from d3-sankey.

mbostock avatar mbostock commented on July 1, 2024

As of version 0.9.1 (ef0ca63), we throw an error rather than going into an infinite loop.

from d3-sankey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.