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


Groups > comp.lang.java.gui > #3643 > unrolled thread

graph representation API

Started by"polaris" <polaris@THRWHITE.remove-dii-this>
First post2011-04-27 15:46 +0000
Last post2011-04-27 15:46 +0000
Articles 3 — 3 participants

Back to article view | Back to comp.lang.java.gui


Contents

  graph representation API "polaris" <polaris@THRWHITE.remove-dii-this> - 2011-04-27 15:46 +0000
    Re: graph representation "ram" <ram@THRWHITE.remove-dii-this> - 2011-04-27 15:46 +0000
    Re: graph representation "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:46 +0000

#3643 — graph representation API

From"polaris" <polaris@THRWHITE.remove-dii-this>
Date2011-04-27 15:46 +0000
Subjectgraph representation API
Message-ID<a84b7741-c69d-4a56-8ad7-8b7fa479d716@d45g2000hsc.googlegroups.com>
  To: comp.lang.java.gui
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.

---
 * 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

[toc] | [next] | [standalone]


#3649 — Re: graph representation

From"ram" <ram@THRWHITE.remove-dii-this>
Date2011-04-27 15:46 +0000
SubjectRe: graph representation
Message-ID<dot-20080617162119@ram.dialup.fu-berlin.de>
In reply to#3643
  To: comp.lang.java.gui
polaris <smarto59@hotmail.com> writes:
>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.

  This is a newsgroup about graphical user interfaes.

>to build a graphically depicted graph.

  I see.

  The best thing for depicting graphs that I am aware of is dot.

http://www.graphviz.org/

  This package is not written in Java, but that there are Java
  wrappers for it.

http://google.to/search?q=graphviz+Java

---
 * 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

[toc] | [prev] | [next] | [standalone]


#3684 — Re: graph representation

From"Roedy Green" <roedy.green@THRWHITE.remove-dii-this>
Date2011-04-27 15:46 +0000
SubjectRe: graph representation
Message-ID<cfts54hv7r3a4un420770hcrqgqp5k9jbc@4ax.com>
In reply to#3643
  To: comp.lang.java.gui
On Tue, 17 Jun 2008 02:54:57 -0700 (PDT), polaris
<smarto59@hotmail.com> wrote, quoted or indirectly quoted someone who
said :

>
>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.

see http://mindprod.com/jgloss/graph.html

Make sure you check the second batch of links. The first batch are
about charting.
-- 

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web