This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


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: 14195
    
  20

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 8 API documentation
 
GeeCON Prague 2014
 
subject: Graph representation