[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-dev] Revision graph and cache implementation

From: Eugene Kuleshov <eu_at_md.pp.ru>
Date: Thu, 14 Aug 2008 09:07:52 -0400

  One simple way to deal with edges overlapping nodes, is to draw edges
under the nodes, but when node is selected, bring all connected edges to
the top and highlight them on a graph. Here is a small example how it
could look like on a graph.
  
http://docs.codehaus.org/display/M2ECLIPSE/Maven+POM+editor#MavenPOMeditor-DependencyGraph

  In regards to navigating and rendering edges between nodes. You could
use graph component from Zest, it supports scrolling to selected node
and selecting edges. Zest API is also more high level then GEF.

  regards,
  Eugene

Alberto Gimeno wrote:
> Thanks Eugene.
>
> I also thought about the idea of collapsing nodes without incoming or
> outcoming edges. The problem is that compacting the nodes could make
> the arrows to overlap too much over the nodes. But I agree it would be
> a great feature. I have thought also on the ability to move a whole
> branch vertically because as you can see the current layout
> implementation tends to have too much free space at the bottom (see a
> huge graph: http://www.flickr.com/photos/gimenete/2733530400/in/set-72157605278009034/)
> and a lot of noise at the top.
>
> The problem with chronologycal order is that the graph grows too much.
> The current layout is based on the compact layout of the
> RevtreePlugin. That plugin also implements a "timeline" layout. See
> screenshosts of both layouts: http://trac-hacks.org/wiki/RevtreePlugin
> . The timeline layout as you can see is too big.
>
> I would like to implement the ability to choose a branch in a combobox
> and when you select one the graph will scroll to that branch. Also
> when you click on an outgoing edge the graph could scroll to the
> target node. However I haven't found how to scroll the graph with
> code.
>
> Another thing I would like to implement is a way to prevent arrows to
> overlap nodes. But it's not a trivial task.
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: dev-help_at_subclipse.tigris.org
Received on 2008-08-14 15:08:07 CEST

This is an archived mail posted to the Subclipse Dev mailing list.