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

Get Hierarchical layouts to work #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The hierarchical layouts have been broken since ~ the OpenGL release.

Basic hierarchical layout seems to put all children and grandchildren*
nodes on a single line.

Radial hierarchical layout seems to put all nodes at the same place.

Original issue reported on code.google.com by le...@google.com on 9 Jun 2008 at 7:09

GoogleCodeExporter commented 9 years ago
Actually this works perfectly for me. When setting the layout, is the relation 
set
set up to something meaningful (e.g. containers if there are files, classes and
members in the view) ?

Have you tried to zoom in (or better, use the stretch tool) to see if the nodes 
where
really at the same place ? does the "a" key have any effects (should be the 
same as
auto stretch) ?

Original comment by lep...@gmail.com on 9 Jun 2008 at 9:26

GoogleCodeExporter commented 9 years ago
You're right .. it works ok .. as long as I pick the right relation set.

I was reviewing a class inheritance tree (all extend/implement relations) and 
using a
Container relations set to define the hierarchy.  Oops .. mostly empty .. 
everything
seems to be a tree root with that combination.

But the lay does still need some improvements ..

Original comment by le...@google.com on 9 Jun 2008 at 9:59

GoogleCodeExporter commented 9 years ago
The original problem was operator error: not selecting a good relation set for 
the
hierarchical layouts.

Additionally, the new planar and radial hierarchy layouts don't have problems 
with
overlapping nodes

Original comment by le...@google.com on 19 Jun 2008 at 6:23