forked from diegoecab/oci-deal-accelerator
Edges now auto-detect exit/entry ports based on relative positions of source and target services. Uses absolute coordinates from the layout engine to determine whether connections should exit right→left, top→bottom, etc. - exitX/exitY/entryX/entryY added to every edge style - 1.5x threshold favors vertical routing over horizontal when positions are diagonal — matches Oracle ref arch top-down subnet flow - Eliminates crossing arrows in multi-subnet, multi-region diagrams - Verified with both PharmaCorp (dual-region) and MELI (single-region) Generic code fix — applies to all diagrams, not just this spec. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>