]> git.siccegge.de Git - frida/frida.git/commit
Move each widget exactly once per layout iteration
authorChristoph Egger <christoph@anonymous.siccegge.de>
Sat, 16 May 2015 12:05:10 +0000 (14:05 +0200)
committerChristoph Egger <christoph@anonymous.siccegge.de>
Sat, 16 May 2015 12:05:10 +0000 (14:05 +0200)
commit937eb556b5c04d6379e0ffde2e13c3065e053a3a
tree4513fe9a9603f1b0c7fa62e7424e38a847efa2bc
parent0e4b70a5cbbb548d6c6d64b56d6db0c53819b3e7
Move each widget exactly once per layout iteration

BasicBlocks with many incoming edges were pushed downwards faster than
those with less incoming edges resulting in unnatural graph layouting.

Now we move each widget exactly once (move the widget on collissions,
not its successors) keeping the basic ordering by addresses.

The result is not perfect -- there's quite some room for further
improvements though!

Ref 5
src/gui/widgets/CFGScene.cxx