mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-09-20 17:41:48 +00:00
Function Graph - fixed bug when routing edge upward that caused the edge
to have a dongle
This commit is contained in:
parent
ab5e715607
commit
48ea271f00
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue
Block a user