---
source: src/diagrams/sequence/renderer.rs
expression: "crate::svg::normalize_floats(&svg)"
---
<svg id="mermaid-seq" width="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="max-width: 494px;" viewBox="-50 -10 494 303" role="graphics-document document" aria-roledescription="sequence">
<g></g>
<defs><marker id="mermaid-seq-arrowhead" refX="7.9" refY="5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto-start-reverse"><path fill="#333333" d="M -1 0 L 10 5 L 0 10 z"></path></marker></defs>
<defs><marker id="mermaid-seq-crosshead" markerWidth="15" markerHeight="8" orient="auto" refX="4" refY="4.5"><path fill="none" stroke="#333333" stroke-width="1pt" d="M 1,2 L 6,7 M 6,2 L 1,7" style="stroke-dasharray: 0, 0;"></path></marker></defs>
<defs><marker id="mermaid-seq-filled-head" refX="15.5" refY="7" markerWidth="20" markerHeight="28" orient="auto"><path fill="#333333" d="M 18,7 L9,13 L14,7 L9,1 Z"></path></marker></defs>
<defs><marker id="mermaid-seq-sequencenumber" refX="15" refY="15" markerWidth="60" markerHeight="40" orient="auto"><circle cx="15" cy="15" r="6" fill="#333333"></circle></marker></defs>
<defs><marker id="mermaid-seq-stickTopArrowHead" refX="7.5" refY="7" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto-start-reverse"><path d="M 0 0 L 7 7" stroke="#333333" stroke-width="1.5" fill="none"></path></marker></defs>
<defs><marker id="mermaid-seq-stickBottomArrowHead" refX="7.5" refY="0" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto-start-reverse"><path d="M 0 7 L 7 0" stroke="#333333" stroke-width="1.5" fill="none"></path></marker></defs>
<g><line id="actor1" x1="319" y1="65" x2="319" y2="217" class="actor-line 200" stroke-width="0.5px" stroke="#9370DB" name="Bob" data-et="life-line" data-id="Bob"></line><g id="root-1" data-et="participant" data-type="participant" data-id="Bob"><rect x="244" y="0" fill="#ECECFF" stroke="#9370DB" stroke-width="1" width="150" height="65" name="Bob" rx="3" ry="3" class="actor actor-top"></rect><text x="319" y="32.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400; font-family: Arial, sans-serif; fill: black;"><tspan x="319" dy="0">Bob</tspan></text></g></g>
<g><line id="actor0" x1="75" y1="65" x2="75" y2="217" class="actor-line 200" stroke-width="0.5px" stroke="#9370DB" name="Alice" data-et="life-line" data-id="Alice"></line><g id="root-0" data-et="participant" data-type="participant" data-id="Alice"><rect x="0" y="0" fill="#ECECFF" stroke="#9370DB" stroke-width="1" width="150" height="65" name="Alice" rx="3" ry="3" class="actor actor-top"></rect><text x="75" y="32.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400; font-family: Arial, sans-serif; fill: black;"><tspan x="75" dy="0">Alice</tspan></text></g></g>
<g><rect x="244" y="217" fill="#ECECFF" stroke="#9370DB" stroke-width="1" width="150" height="65" name="Bob" rx="3" ry="3" class="actor actor-bottom"></rect><text x="319" y="249.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400; font-family: Arial, sans-serif; fill: black;"><tspan x="319" dy="0">Bob</tspan></text></g>
<g><rect x="0" y="217" fill="#ECECFF" stroke="#9370DB" stroke-width="1" width="150" height="65" name="Alice" rx="3" ry="3" class="actor actor-bottom"></rect><text x="75" y="249.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400; font-family: Arial, sans-serif; fill: black;"><tspan x="75" dy="0">Alice</tspan></text></g>
<text x="197" y="101" text-anchor="middle" dominant-baseline="auto" fill="#333333" class="messageText" style="font-family: Arial, sans-serif; font-size: 16px; font-weight: 400;">Hello Bob, how are you?</text><line x1="75" y1="109" x2="315" y2="109" class="messageLine0" data-et="message" data-id="i1" data-from="Alice" data-to="Bob" stroke-width="1.5" stroke="#333333" marker-end="url(#mermaid-seq-arrowhead)" style="fill: none;"></line>
<text x="197" y="145" text-anchor="middle" dominant-baseline="auto" fill="#333333" class="messageText" style="font-family: Arial, sans-serif; font-size: 16px; font-weight: 400;">Great!</text><line x1="319" y1="153" x2="79" y2="153" class="messageLine1" data-et="message" data-id="i2" data-from="Bob" data-to="Alice" stroke-width="1.5" stroke="#333333" marker-end="url(#mermaid-seq-arrowhead)" style="stroke-dasharray: 3, 3; fill: none;"></line>
<text x="197" y="189" text-anchor="middle" dominant-baseline="auto" fill="#333333" class="messageText" style="font-family: Arial, sans-serif; font-size: 16px; font-weight: 400;">See you later!</text><line x1="75" y1="197" x2="315" y2="197" class="messageLine0" data-et="message" data-id="i3" data-from="Alice" data-to="Bob" stroke-width="1.5" stroke="#333333" marker-end="url(#mermaid-seq-filled-head)" style="fill: none;"></line>
</svg>
