Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Help with using GEF? How to create a "simple" graph?

gef
Discussion topic

Back to topic list

Help with using GEF? How to create a "simple" graph?

Reply

Author Tom Ueltschi <tom dot u at gmx dot net>
Full name Tom Ueltschi <tom dot u at gmx dot net>
Date 2000-11-10 01:57:33 PST
Message Hi all!

Thanks to everyone who contributed to develop GEF and thanks for making
it open source and free :-)

I'm considering using GEF for my M.S. project about Internet Mapping. I
wrote a Java application that explores the connectivity of a network
(e.g. a part of the Internet, not the whole :-) ) I would like to use
GEF to graphically display the result as a graph. Basically, every host
(or router) explored is a node in the graph, and the packet delay time
between two connected hosts should be represented as the distance
between the nodes (edge weight).

What would be an easy way to create a graph using GEF assuming the graph
data would be in a format of something like this:

node1, node2, time12
node2, node3, time23
node2, node5, time25
node3, node4, time34
...

which means: node1 & node2 are connected with distance time12, node2 &
node3 are connected with distance time23, etc.

Can someone tell me (or provide a [simple] example) how I can create a
GEF graph from data in a format like given above? Is this fairly easy
to accomplish with GEF, or not so trivial?

Any help and suggestions regarding this are greatly appreciated. Thanks
for any useful responses!

Tom

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

Help with using GEF? How to create a "simple" graph? Tom Ueltschi <tom dot u at gmx dot net> Tom Ueltschi <tom dot u at gmx dot net> 2000-11-10 01:57:33 PST
Messages per page: