mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-04-29 17:20:21 -05:00
Fix Node 1 NVLink ring arrowhead tangents in hierarchical-allreduce.svg
Offset the 2nd bezier control point x from the endpoint x on all four Node 1 ring arcs so orient="auto" computes a diagonal arrival angle instead of a straight vertical arrowhead.
This commit is contained in:
@@ -62,10 +62,11 @@
|
||||
<text x="626" y="114" text-anchor="middle" font-size="10" font-weight="700" fill="#333">G7</text>
|
||||
|
||||
<!-- NVLink ring within Node 1 (Step 1) -->
|
||||
<path d="M 410,130 C 410,162 486,162 486,130" fill="none" stroke="#4a90c4" stroke-width="1.8" marker-end="url(#arrow-blue)"/>
|
||||
<path d="M 486,130 C 486,162 562,162 562,130" fill="none" stroke="#4a90c4" stroke-width="1.8" marker-end="url(#arrow-blue)"/>
|
||||
<path d="M 562,130 C 562,155 625,155 625,130" fill="none" stroke="#4a90c4" stroke-width="1.8" marker-end="url(#arrow-blue)"/>
|
||||
<path d="M 625,88 C 625,66 410,66 410,88" fill="none" stroke="#4a90c4" stroke-width="1.8" marker-end="url(#arrow-blue)"/>
|
||||
<!-- Control points offset so arrowhead arrives at a diagonal, not straight vertical -->
|
||||
<path d="M 410,130 C 420,158 476,158 486,130" fill="none" stroke="#4a90c4" stroke-width="1.8" marker-end="url(#arrow-blue)"/>
|
||||
<path d="M 486,130 C 496,158 552,158 562,130" fill="none" stroke="#4a90c4" stroke-width="1.8" marker-end="url(#arrow-blue)"/>
|
||||
<path d="M 562,130 C 570,152 616,152 625,130" fill="none" stroke="#4a90c4" stroke-width="1.8" marker-end="url(#arrow-blue)"/>
|
||||
<path d="M 625,88 C 615,66 420,66 410,88" fill="none" stroke="#4a90c4" stroke-width="1.8" marker-end="url(#arrow-blue)"/>
|
||||
|
||||
<!-- Step 1 label Node 1 -->
|
||||
<rect x="395" y="170" width="230" height="20" rx="3" fill="#cfe2f3" stroke="#4a90c4" stroke-width="0.8"/>
|
||||
|
||||
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
Reference in New Issue
Block a user