google / depan

DepAn is a direct manipulation tool for visualization, analysis, and refactoring of dependencies in large applications.
http://google.github.io/depan
Apache License 2.0
89 stars 20 forks source link

Support relation sets for all Layouts #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, only the hierarchical layouts use the relations sets.  This
should be expanded to all layout types.

The idea is to layout the nodes based only on the relations included in the
relation set.  All other dependencies are ignored for the purposes of
determining node location on the canvas.  Once that is determined, only the
edges from the RelationPicker should be rendered.  Note that these may be
disjoint set: some interesting effects are possible with this.

For JUNG layouts, this probably means cloning the JungGraph with only the
layout edges supplied.  After the layout algorithm completes, the resulting
locations would be copied to the presentation JungGraph.  In that graph,
only the presentation edges (RelationPicker) are visible.

Original issue reported on code.google.com by le...@google.com on 12 Sep 2008 at 6:49

GoogleCodeExporter commented 9 years ago

Original comment by le...@google.com on 12 Sep 2008 at 8:03

GoogleCodeExporter commented 9 years ago
With r218, all Layouts use RelationSets to extract the graph to use for layout 
computations.

Still need to a relation set picker to the layout picker for the UI.

Original comment by le...@pnambic.com on 13 Feb 2013 at 7:52

GoogleCodeExporter commented 9 years ago
This mostly works now.

Original comment by le...@pnambic.com on 18 Jan 2014 at 12:14