Giter Site home page Giter Site logo

Comments (4)

christianvoigt avatar christianvoigt commented on May 28, 2024 1

Good question. The situation regarding rank-based layout algorithms for Javascript is really bad: Viz.js' original developer called it a "hack" and recommended to use Dagre D3 (he subsequently abandoned the project, luckily a fork is still being actively maintained). But Dagre-D3 has not been maintained either for quite a while and is now "deprecated". Dagre-D3 always lacked many features of Viz.js so it never was a good alternative. But now it looks like it is kind of dead.

yGraph offers probably the best layout algorithms, but is a commercial project.

The only good alternative I know of is Cytoscape, because they also support the Dagre layout algorithm. I really would like to switch and use the Dagre layout in their framework (instead of using D3). If I have time for a bigger Argdown-related project this would be at the top of my list. For the next months, I will probably not have the time to do this. But if anyone wants to tackle it, I will be glad to help where I can.

from argdown.

christianvoigt avatar christianvoigt commented on May 28, 2024

Yes, this is caused by an issue in the viz.js library that is hard to debug. This is also causing #138 and #214.

It would be great if anyone would spend some time digging into the compilation of Viz.js to find out what is going wrong there (see link above for further details).

Yes, although I don't know which libs, and at which step they are required. PR's welcome if anyone is able to get it working.

I am hesitant to apply the "hacky" workaround described there.

from argdown.

ooker777 avatar ooker777 commented on May 28, 2024

Why do you use Viz, when there is Dagre?

from argdown.

ooker777 avatar ooker777 commented on May 28, 2024

from argdown.

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.