Giter Site home page Giter Site logo

Better usage of given space about jit HOT 6 OPEN

philogb avatar philogb commented on August 23, 2024
Better usage of given space

from jit.

Comments (6)

philogb avatar philogb commented on August 23, 2024

Hi, could you pase the JSON data you're providing to the visualization?

Thanks :)

from jit.

gossi avatar gossi commented on August 23, 2024

Sure.

See Issue #23 for another problem with aligning nodes ;)

https://gist.github.com/6fc9b2a1841c15674a86 (dunno if this is now visible to you, let me know. I am new to github)

from jit.

philogb avatar philogb commented on August 23, 2024

I formatted the data. This bug might be related to the edges not shown bug, and doesn't seem to be a simple one. But it's important. https://gist.github.com/dafbd23b59255d74dc71

from jit.

gossi avatar gossi commented on August 23, 2024

Yay, the more nodes I add, the faster away they spread, see: http://einradfahren.de/trixionary/graph click "Vollbild" on the right side, zoom out a little and pan to the southest - no fun :/ (and I have not even added half of the nodes there).

Meanwhile, I found this graph at Khan Academy: http://www.khanacademy.org/exercisedashboard Is that possible with JIT - would love to do that.

from jit.

philogb avatar philogb commented on August 23, 2024

Seems like a static graph... I;m not sure. I was thinking the other
day that the layout problem with the Spacetree may have to do with the
order the edges are traversed... if they where always traversed in the
same order we may not have the problems you're having with the nodes.
Maybe you can try adding weights to the edges and try to change the ST
layout algorithm to traverse edges in weight order?

I'm currently busy with other things and, as much as I would like to
work on InfoVis, it might take some time until I make a big release. I
do intend to make some patch releases, and if you fix that then I
would definitely include that in the release.

On Sat, Sep 3, 2011 at 4:36 AM, gossi
[email protected]
wrote:

Yay, the more nodes I add, the faster away they spread, see: http://einradfahren.de/trixionary/graph click "Vollbild" on the right side, zoom out a little and pan to the lowest - no fun :/ (and I have not even added half of the nodes there).

Meanwhile, I found this graph at Khan Academy: http://www.khanacademy.org/exercisedashboard Is that possible with JIT - would love to do that.

Reply to this email directly or view it on GitHub:
#22 (comment)

Nicolas Garcia Belmonte - http://philogb.github.com/

from jit.

philogb avatar philogb commented on August 23, 2024

Like you may traverse the graph from the root node with a BFS
algorithm (I think there's already that in the Graph class) and tag
the edges for the BFS and then take all the non-tagged edges (that
would make the tree a non-tree but a grsaph) and add a big weight to
them. Then the layout algorithm would choose the lowest weighted
edges, first -or "only"- ... I think that should work

On Tue, Sep 6, 2011 at 9:52 PM, Nicolas Garcia Belmonte
[email protected] wrote:

Seems like a static graph... I;m not sure. I was thinking the other
day that the layout problem with the Spacetree may have to do with the
order the edges are traversed... if they where always traversed in the
same order we may not have the problems you're having with the nodes.
Maybe you can try adding weights to the edges and try to change the ST
layout algorithm to traverse edges in weight order?

I'm currently busy with other things and, as much as I would like to
work on InfoVis, it might take some time until I make a big release. I
do intend to make some patch releases, and if you fix that then I
would definitely include that in the release.

On Sat, Sep 3, 2011 at 4:36 AM, gossi
[email protected]
wrote:

Yay, the more nodes I add, the faster away they spread, see: http://einradfahren.de/trixionary/graph click "Vollbild" on the right side, zoom out a little and pan to the lowest - no fun :/ (and I have not even added half of the nodes there).

Meanwhile, I found this graph at Khan Academy: http://www.khanacademy.org/exercisedashboard Is that possible with JIT - would love to do that.

Reply to this email directly or view it on GitHub:
#22 (comment)

Nicolas Garcia Belmonte - http://philogb.github.com/

Nicolas Garcia Belmonte - http://philogb.github.com/

from jit.

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.