Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #3642

Re: graph representation

From "Dave Miller" <dave.miller@THRWHITE.remove-dii-this>
Subject Re: graph representation
Message-ID <6JN5k.4486$WH.964@trndny05> (permalink)
Newsgroups comp.lang.java.gui
References <a84b7741-c69d-4a56-8ad7-8b7fa479d716@d45g2000hsc.googlegroups.com>
Date 2011-04-27 15:46 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
polaris wrote:
> hi everyone
> 
> 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:
> 
> Class Transaction
> {
> 	int id;
> 	ArrayList <Transaction> preTransactionList;
> 	ArrayList <Transaction> nxtTransactionList;
> }
> 
> 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.

http://www.jgraph.com/

or if GIYF

http://www.google.com/search?q=java+graph+api

-- 
Dave Miller
Java Web Hosting at:
http://www.cheap-jsp-hosting.com/

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | Next | Find similar | Unroll thread


Thread

Re: graph representation "Dave Miller" <dave.miller@THRWHITE.remove-dii-this> - 2011-04-27 15:46 +0000

csiph-web