Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2006

Tip: Looking for answers? Try searching our database.

rendering a tree

Thread view: 
VisionSet - 21 Mar 2006 20:44 GMT
I have a tree structure with over 500,000 nodes.
I would like to create a GUI to scroll over (or expand nodes as you go) a
rendered view of the structure.
I assume that as you navigate from the root node, the object graph will be
queried and somehow rendered.  What is the best way to do this?
I'm  not sure the best approach for the algorithm, for instance spacing of
child elements when further down the tree the nodes may not fit in the
available space.  There seems a popular implementation knocking around that
has nodes on springy edges and seems to dynamically space itself - anyone
got a uri for this?

TIA
Mike W
Matt Humphrey - 21 Mar 2006 20:47 GMT
>I have a tree structure with over 500,000 nodes.
> I would like to create a GUI to scroll over (or expand nodes as you go) a
[quoted text clipped - 7 lines]
> has nodes on springy edges and seems to dynamically space itself - anyone
> got a uri for this?

http://www.touchgraph.com/
Roland de Ruiter - 21 Mar 2006 23:30 GMT
>> I have a tree structure with over 500,000 nodes.
>> I would like to create a GUI to scroll over (or expand nodes as you go) a
[quoted text clipped - 9 lines]
>
> http://www.touchgraph.com/

Which probably stems from the GraphLayout applet, which has been
included in each version of the JDK since version 1.0 (IIRC).

<http://java.sun.com/applets/jdk/1.4/demo/applets/GraphLayout/example1.html>
<http://java.sun.com/applets/jdk/1.4/demo/applets/GraphLayout/example2.html>
<http://java.sun.com/applets/jdk/1.4/demo/applets/GraphLayout/example3.html>
<http://java.sun.com/applets/jdk/1.4/demo/applets/GraphLayout/example4.html>
Signature

Regards,

Roland



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.