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


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

Re: graph representation

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "Dave Miller" <dave.miller@THRWHITE.remove-dii-this>
Subject Re: graph representation
Message-ID <6JN5k.4486$WH.964@trndny05> (permalink)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
In-Reply-To <a84b7741-c69d-4a56-8ad7-8b7fa479d716@d45g2000hsc.googlegroups.com>
References <a84b7741-c69d-4a56-8ad7-8b7fa479d716@d45g2000hsc.googlegroups.com>
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 40
Date Wed, 27 Apr 2011 15:46:05 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303919165 96.60.20.240 (Wed, 27 Apr 2011 10:46:05 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:46:05 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:3642

Show key headers only | 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