wood burning stoves 2.0*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked 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.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
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)
Drawing a graph in jsp page
How to Save applet page as a JPG file
Link two JPanel's with a line
how to create a graph representing a big tree(parents and children are known)