File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Graph representation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

Graph representation

Oleg Korsakov
Greenhorn

Joined: Jan 14, 2007
Posts: 14
Hello!

I have to represent a graph. It has nodes connected with arrows from the top node towards the lower ones. How can I using java language model this graph. Which class should be used for the node and how reprent the arrows between nodes also.
Thanks,
Oleg.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13868
    
  10

Please do not post your question in multiple forums; carefully choose one forum.
You already posted it here.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
jQuery in Action, 2nd edition
 
subject: Graph representation
 
Similar Threads
Graphs and Dijktra's algorithm..
Graph representation
find path in a graph
override the equals and hashcode
print a HashSet of objects