16 lines
2.2 KiB
XML
16 lines
2.2 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="750" height="500" viewBox="0 0 750 500" role="img" aria-labelledby="title desc">
|
||
<title id="title">Событие попытки retry</title>
|
||
<desc id="desc">Каждая попытка сохраняет номер, статус, остаток времени и решение.</desc>
|
||
<rect width="750" height="500" rx="24" fill="#f8fafc"/>
|
||
<text x="38" y="50" font-family="Arial,sans-serif" font-size="26" font-weight="700" fill="#172033">Attempt → decision</text>
|
||
<g font-family="Arial,sans-serif">
|
||
<rect x="45" y="105" width="150" height="95" rx="15" fill="#e0f2fe" stroke="#0284c7" stroke-width="3"/><text x="120" y="143" text-anchor="middle" font-size="22" font-weight="700" fill="#075985">Attempt 1</text><text x="120" y="176" text-anchor="middle" font-size="19" fill="#0c4a6e">timeout</text>
|
||
<path d="M205 152h55" stroke="#475569" stroke-width="4"/><path d="m260 152-12-8v16z" fill="#475569"/>
|
||
<rect x="280" y="105" width="150" height="95" rx="15" fill="#ede9fe" stroke="#7c3aed" stroke-width="3"/><text x="355" y="143" text-anchor="middle" font-size="22" font-weight="700" fill="#5b21b6">Attempt 2</text><text x="355" y="176" text-anchor="middle" font-size="19" fill="#4c1d95">503</text>
|
||
<path d="M440 152h55" stroke="#475569" stroke-width="4"/><path d="m495 152-12-8v16z" fill="#475569"/>
|
||
<rect x="515" y="105" width="190" height="95" rx="15" fill="#dcfce7" stroke="#16a34a" stroke-width="3"/><text x="610" y="143" text-anchor="middle" font-size="22" font-weight="700" fill="#166534">Decision</text><text x="610" y="176" text-anchor="middle" font-size="19" fill="#14532d">retry или return</text>
|
||
<rect x="120" y="300" width="510" height="92" rx="15" fill="#fff" stroke="#cbd5e1" stroke-width="2"/><text x="375" y="337" text-anchor="middle" font-size="22" font-weight="700" fill="#172033">В событии</text><text x="375" y="370" text-anchor="middle" font-size="19" fill="#334155">operationId · attempt · status · remainingMs</text>
|
||
</g>
|
||
<text x="38" y="455" font-family="Arial,sans-serif" font-size="20" fill="#475569">Причина и действие — разные поля.</text>
|
||
</svg>
|