dag: Improve graph layout
commit76ebaccbf7179dbfae574b5707093a51e57c07e9
authorDavid Aguilar <davvid@gmail.com>
Wed, 28 Dec 2011 03:36:47 +0000 (27 19:36 -0800)
committerDavid Aguilar <davvid@gmail.com>
Wed, 28 Dec 2011 04:22:31 +0000 (27 20:22 -0800)
treeec4b0afb05624a7663bef8054a70e205ca55437c
parentcc4cb9853b47ca94759b5ca3e3a4a9b16c4fdbe5
dag: Improve graph layout

Minimize edge overlaps by detecting merges and shifting ancestors
along the X axis when they occur.  This ensures that there are no
string of commits that overlap with an edge from a merge to a parent
and provides a more aesthetically pleasing graph layout.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/dag/view.py