aspose file tools*
The moose likes Other Open Source Projects 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
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
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.

Thank you!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
See Listing 10 here. Is that what you're looking for?


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to create a graph representing a big tree(parents and children are known)
 
Similar Threads
how to create a graph representing a big tree(parents and children are known)
Link two JPanel's with a line
custom paint component
How to Save applet page as a JPG file
how to create a graph representing a big tree(parents and children are known)