fix: improve diagram node readability and add UI to SonarQube scan
All checks were successful
CI / build (push) Successful in 1m8s
CI / cleanup-branch (push) Has been skipped
CI / docker (push) Successful in 1m0s
CI / deploy (push) Successful in 41s
CI / deploy-feature (push) Has been skipped

- Increase node width (160→220), height (40→50), spacing (90→120)
- Use SVG clipPath for text instead of character-count truncation
- Add UI sources, ESLint report, and sonar-scanner CLI to SonarQube workflow

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-03-28 17:16:36 +01:00
parent 27249c2440
commit 459f4d2e0c
3 changed files with 51 additions and 17 deletions

View File

@@ -53,12 +53,12 @@ public class ElkDiagramRenderer implements DiagramRenderer {
}
private static final int PADDING = 20;
private static final int NODE_HEIGHT = 40;
private static final int NODE_WIDTH = 160;
private static final int NODE_HEIGHT = 50;
private static final int NODE_WIDTH = 220;
private static final int COMPOUND_TOP_PADDING = 30;
private static final int COMPOUND_SIDE_PADDING = 10;
private static final int CORNER_RADIUS = 8;
private static final double NODE_SPACING = 90.0;
private static final double NODE_SPACING = 120.0;
private static final double EDGE_SPACING = 20.0;
// Blue: endpoints