GP-940 - Function Graph - fixed caching satellite view not showing

primary view lens; fixed occasional bad vertex clipping
This commit is contained in:
dragonmacher 2021-05-12 11:02:30 -04:00
parent 2466f85ea8
commit 76569d3ca9
3 changed files with 55 additions and 28 deletions

View file

@ -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
|
.___|
| .-----.