philogb / jit
- Source
- Commits
- Network (11)
- Issues (7)
- Downloads (4)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
-
Scrolling support for charts exceeding canvas bounds
2 comments Created 8 months ago by sandesh247If there a large number of nodes in the tree (say a 100 children), they wont fit in the finite boundaries of the canvas element. Scrolling would enable us to view these hidden nodes.
Comments
-
Pages which create a Canvas instance (new Canvas()) can be seen to have an increase in memory (at least in FF/Mac) which is proportional to the size of the created Canvas.
I first observed this when working with the Spacetree. The behavior can be seen on the example page but is small (~2MB) because of the size of the Canvas. Altering the example to use a 1000px X 1000px canvas will show a more dramatic (~25-50 MB) increase.
Seeking to isolate the cause and symptoms, I created these 3 pages:
http://jfsiii.org/testpages/tagcanvas.html - 4000px X 4000px Canvas using only the canvas tag http://jfsiii.org/testpages/classcanvas.html - 4000px X 4000px Canvas using new Canvas() * http://jfsiii.org/testpages/classcanvasgc.html - 4000px X 4000px Canvas using new Canvas() and deleting the variable when the page unloadsComments
Please log in to comment. -
Treemap changes order of children elements in the tree
2 comments Created 5 months ago by webholicsThe treemap changes the order of the children elements in the tree.
This is really a minor issue but should be considered to be fixed because it is not replicable from outside what the treemap object does.
One of my implementations relied on the order of those children elements, so this behavior was really a mess. I had the clone the whole tree over and over again. And I don't think this is necessary.Comments
the JSON tree? I should have pointed out that the JSON tree is modified when used with the TreeMap. I wouldn't like to add an Object cloning algorithm to the visualization unless it's really necessary. I just think that pointing that out in the documentation should suffice.
Please log in to comment.isn't it possible to not modify the tree at all?
But yes otherwise it should be mentioned in the documentation. -
Hi there!
On the documentation page http://thejit.org/tutorials/hypertree/ I found some dead links like http://localhost:8888/docs/files/Canvas-js.html
But besides that you have a great documentation, thanks :)Phil
Comments
Please log in to comment. -
0 comments Created 3 months ago by philogbFix generic graph operations for the SpaceTree.Spacetreexadding and removing trees works fine for the SpaceTree, but the generic op methods won't work because you need to ignore nodes having ignore=true as value when traversing the tree.
Comments
Please log in to comment. -
I've read that you got a getboundingbox method somewhere in your archives which allows determining the size of the rendered tree. I'd love to see this within the next release as i am devin' a visualization of a very large and dynamic dataset which defintely needs scrolling.
Comments
Please log in to comment. -
i want tooltip
because too many node
but tooltip not work in RGraphComments
Please log in to comment.




I assume that you are talking about the spacetree. The fundamental idea of the spacetree is that it uses the available space to its best. On a left-oriented spacetree canvas-height can pose an ugly constraint forcing the user to "scroll" the content into the available space by clicking on one of the outer-most nodes. In my opinion scrolling the canvas would blur the characteristics of a spacetree. Maybe it would be better to automatically divide the subtree into n subtrees that each fit into the available space. Each subtree should be named automatically, for instance, "1 to 40 of 79" and "41 to 79 of 79". This way you would introduce new "artificial" levels but stay on the canvas. I think users are quite used to this kind of "page 2 of 3" idioms. And it's easier to remember on which subtree "page" you were than the position of your vertical scrollbar.
scrolling support would be a greatgreat thing actually. implementing this "pagination" solutino does not make sense in a lot of cases.