Function Graph - fixed bug when routing edge upward that caused the edge

to have a dongle
This commit is contained in:
dragonmacher 2019-09-18 17:38:55 -04:00
parent ab5e715607
commit 48ea271f00

View File

@ -502,6 +502,9 @@ public class DecompilerNestedLayout extends AbstractFGLayout {
//
int delta = end.rowIndex - start.rowIndex;
if (delta < 0) {
delta = -delta; // going up
}
int multiplier = EDGE_ENDPOINT_DISTANCE_MULTIPLIER;
if (useSimpleRouting()) {
multiplier = 1; // we allow edges to overlap with 'simple routing'