debug: v2 ELK logging to verify handler separation in new build
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 57s
CI / docker (push) Successful in 38s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 35s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-03-27 22:29:23 +01:00
parent 990d607d4b
commit 19d3c8fa93

View File

@@ -278,6 +278,17 @@ public class ElkDiagramRenderer implements DiagramRenderer {
engine.layout(handlerRoot, new BasicProgressMonitor());
}
// Debug: log root dimensions and children after layout
System.out.println("[ELK-v2] rootNode " + rootNode.getWidth() + "x" + rootNode.getHeight()
+ " children=" + rootNode.getChildren().size()
+ " mainNodes=" + mainNodes.size() + " handlerNodes=" + handlerNodes.size());
for (ElkNode child : rootNode.getChildren()) {
System.out.println("[ELK-v2] " + child.getIdentifier()
+ " x=" + String.format("%.1f", child.getX())
+ " y=" + String.format("%.1f", child.getY())
+ " parent=" + (child.getParent() != null ? child.getParent().getIdentifier() : "null"));
}
// Extract positioned nodes
List<PositionedNode> positionedNodes = new ArrayList<>();
Map<String, CompoundInfo> compoundInfos = new HashMap<>();