|
Hi, I was successful for centralising the graph by using graph.scrollCellToVisible(root, true); But after doing this, i am not able to get the scrollbars, can anyone help for this... Thanks in advance |
|
What is the value for the CSS overflow property of the graph container? If auto you might want to try scroll. I have tried overflow : auto, overflow : scroll... Still not working. If i do so, cannot move the graph itself, The vertexes get hidden when i change this overflow attribute...
(04 May '12, 07:08)
hansie
I get scrollbars when i use overflow : auto, but the graphbounds are not completely visible. And the graph size is restricted to some limit, I cannot see the complete graph even though i try to drag, I tried to extend the container width using graph.getGraphBounds().getWidth(), and the container is extended in width. But still not satisfied, the graph is not completely visible, just the container widths is extended but not the graph is shown completely inside the container. how to do this...?
(08 May '12, 02:47)
hansie
Can you reproduce this with the helloworld.html example? If yes, what are the steps to reproduce the problem?
(09 May '12, 04:38)
Gaudenz ♦♦
For this i can suggest to build an tree graph with atleast 100's of the right and left childnodes and can try viewing it. Not able to get the complete graph inside the container with scrollbars if overflow is set to auto... We can set back to overflow:hidden and can drag the graph to view full structure inside the container.
(09 May '12, 07:40)
hansie
|