aspose file tools
The moose likes Beginning Java and the fly likes how to create a graph representing a big tree(parents and children are known) Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "how to create a graph representing a big tree(parents and children are known)" Watch "how to create a graph representing a big tree(parents and children are known)" New topic
Author

how to create a graph representing a big tree(parents and children are known)

will zhang
Ranch Hand

Joined: Sep 11, 2008
Posts: 46
How to create a graph representing a big tree(parents and children are known)?
Thank you so much!
Also, I need to write the graph into a jpg/gif file or display the graph in the web browser.

I got a code from JGraph and can create the graph I want, however, JGraph define the graph as class Gscene instead of Img or BufferedImg or RenderedImg. Therefore, I couldn't use ImageIO.write(image, ext, file) to write the graph into a jpg file.
will zhang
Ranch Hand

Joined: Sep 11, 2008
Posts: 46
One of my friend suggest me to use Javascript. Is it necessary?
Andre Brito
Ranch Hand

Joined: Dec 13, 2007
Posts: 95

I guess not.
The big problem here is to convert from one extension to JPEG, but you can do that just with Java.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to create a graph representing a big tree(parents and children are known)
 
Similar Threads
Need a good graph tool
how to create a graph representing a big tree(parents and children are known)
Create and Graph an odd tree structure
how to create a graph representing a big tree(parents and children are known)
Drawing a graph in jsp page