mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
GP-940 - Function Graph - fixed caching satellite view not showing
primary view lens; fixed occasional bad vertex clipping
This commit is contained in:
parent
2466f85ea8
commit
76569d3ca9
3 changed files with 55 additions and 28 deletions
|
@ -112,6 +112,12 @@ public class DecompilerNestedLayout extends AbstractFGLayout {
|
|||
return new DNLEdgeLabelRenderer<>(getCondenseFactor());
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void condenseEdges(List<Row<FGVertex>> rows,
|
||||
Map<FGEdge, List<Point2D>> newEdgeArticulations, double centerX, double centerY) {
|
||||
// do not condense, as we route our edges at the preferred positions
|
||||
}
|
||||
|
||||
@Override
|
||||
protected double getCondenseFactor() {
|
||||
// our layout needs more spacing because we have custom edge routing that we want to
|
||||
|
@ -714,7 +720,7 @@ public class DecompilerNestedLayout extends AbstractFGLayout {
|
|||
-p2 - just past the left edge
|
||||
-p3 - just past the bottom of the vertex
|
||||
-p4 - back at the original x value
|
||||
|
||||
|
||||
|
|
||||
.___|
|
||||
| .-----.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue