Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How do i draw directed/undirected graph in SWT
How do i draw directed/undirected graph in SWT [message #219913] Mon, 24 July 2006 09:03 Go to next message
Eclipse UserFriend
Originally posted by: brajesh.rathore.zensar.com

Hi ,

I need Graph rendering tool like VGJ(AWT/Swing) that should
be based on SWT API .

is there any built in API availabe that based on SWT which take input
as GML format or any other standered format for drawing
directed/undirected graph.


Pls help me.

Thanks in advance



Brajesh K.
Re: How do i draw directed/undirected graph in SWT [message #219953 is a reply to message #219913] Mon, 24 July 2006 15:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: irbull.cs.uvic.ca

I have visualization tool (called Zest) built on top of GEF in which I
have attempted to build standard graph components. You can instantiate
a directed graph using content and style providers. It is obviously not
as customizable as GEF is (unless you want to dig deep in the code), but
if all you need is a quick directed graph (with some force directed
layouts) this may help.

I am doing this as a small part of my PhD, so the documentation is a
sparse, but if you are interested let me know. We just finished some
major refactoring last week, so I will be updating the website and stuff
today.

cheers,
ian

brajesh K. wrote:
> Hi ,
> I need Graph rendering tool like VGJ(AWT/Swing) that
> should be based on SWT API .
> is there any built in API availabe that based on SWT which take input
> as GML format or any other standered format for drawing
> directed/undirected graph.
>
>
> Pls help me.
>
> Thanks in advance
>
>
> Brajesh K.
Re: How do i draw directed/undirected graph in SWT [message #220954 is a reply to message #219913] Tue, 08 August 2006 13:37 Go to previous message
Marcel is currently offline MarcelFriend
Messages: 11
Registered: July 2009
Junior Member
Try looking at Phil Zoio's schema editing example - if you can load your
graph into a diagram (model elements and connections) you can use the
automatic layout class found in that application to lay it out. It takes
advantage of Draw2D's built in graph layout algorithms.

Marcel

brajesh K. wrote:
> Hi ,
> I need Graph rendering tool like VGJ(AWT/Swing) that
> should be based on SWT API .
> is there any built in API availabe that based on SWT which take input
> as GML format or any other standered format for drawing
> directed/undirected graph.
>
>
> Pls help me.
>
> Thanks in advance
>
>
> Brajesh K.
Previous Topic:problems getting org.eclipse.gef.examples.hellogef running
Next Topic:editPart hierarchy vs figure hierarchy
Goto Forum:
  


Current Time: Thu Apr 18 00:08:13 GMT 2024

Powered by FUDForum. Page generated in 0.02843 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top