Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Visualizing a graph in RAP
Visualizing a graph in RAP [message #1220242] Tue, 10 December 2013 14:59 Go to next message
Tobias P. is currently offline Tobias P.Friend
Messages: 43
Registered: April 2012
Member
Hey guys,

i am looking for a way to visualizing graph structures like this:

http://upload.wikimedia.org/wikipedia/commons/thumb/2/24/Tree_graph.svg/220px-Tree_graph.svg.png

Has anyone experience with this topic?

Is it possible to use exisitng javascript libraries like http://arborjs.org/ with the SWT Browser Widget?

We are talking about less then 50 nodes (more about 10 or 20) and there is no need for fancy animations.

If there are no existing libraries, can the RAP Canvas handle this amount?

Any help or advice is appreciated

Thanks in Advance
Re: Visualizing a graph in RAP [message #1220316 is a reply to message #1220242] Wed, 11 December 2013 05:34 Go to previous message
Cole Markham is currently offline Cole MarkhamFriend
Messages: 133
Registered: July 2009
Senior Member
Tobias,

Yes, there are a number of ways to implement such a graph. Using a javascript library in the Browser widget will certainly work and might be the simplest solution. The arbor.js library looks very nice. I would think that the RAP Canvas would be able to support those numbers of nodes without problem.

Also, note that the GEF port in the RAP Incubator [1] was recently updated to be compatible with the latest RAP version. If you are looking for something with more functionality, especially for editing, then this may be of interest. See the GEF website[2] for some examples of what it can do.


[1] http://eclipse.org/rap/incubator/
[2] http://eclipse.org/gef/
Previous Topic:WindowBuilder / SWT Designer not fully compatible
Next Topic:Using EMF with RAP Target Platform
Goto Forum:
  


Current Time: Thu Nov 27 16:26:18 GMT 2014

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

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