ELK's partitioning doesn't reliably order disconnected children within a compound node. Instead, let ELK lay out freely then re-stack sections in correct order (try_body → doFinally → doCatch) by adjusting Y positions in the ELK graph before extraction. This propagates correctly to both node and edge coordinates via getAbsoluteY(). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>