Posted by mansour_ksa
on June 17, 2008 at 4:25 AM PDT
I wonder if I there is a strong and easy to use API to represent Graph that is suitable for my own data structure program.
Simply in my program i have built-in linked list of objects
called Transaction class each Transaction represents vertex in a graph. Each vertex has two ArrayLists to keep the precedence and next vertices like following:
I don't know if there is a graph representation API in java
to pass the vertex (Transaction) and their precedence and next vertices as long as the id (to be labeled in the node) to build a graphically depicted graph.
Anyway i may customize my data structure to fit any API.