---
source: src/diagrams/requirement/renderer.rs
expression: "crate::svg::normalize_floats(&svg)"
---
<svg id="mermaid-req-svg" width="100%" xmlns="http://www.w3.org/2000/svg" class="requirementDiagram" style="max-width:165.047px;" viewBox="0 0 165.047 362"><defs><marker id="mermaid-req-svg_req_arrow_end" refX="20" refY="10" markerWidth="20" markerHeight="20" markerUnits="userSpaceOnUse" orient="auto"><path d="M0,0 L20,10 M20,10 L0,20" stroke="#333333" fill="none" stroke-width="1"/></marker></defs><defs><marker id="mermaid-req-svg_req_contains_start" refX="0" refY="10" markerWidth="20" markerHeight="20" markerUnits="userSpaceOnUse" orient="auto"><g><circle cx="10" cy="10" r="9" stroke="#333333" stroke-width="1" fill="none"/><line x1="1" x2="19" y1="10" y2="10" stroke="#333333" stroke-width="1"/><line y1="1" y2="19" x1="10" x2="10" stroke="#333333" stroke-width="1"/></g></marker></defs><g class="req-root"><g class="req-relationships"><path d="M82.523,111L82.523,116.917C82.523,122.833,82.523,134.667,82.523,146.5C82.523,158.333,82.523,170.167,82.523,176.083L82.523,182" class="relationshipLine" stroke="#333333" stroke-width="1" fill="none" stroke-dasharray="10,7" marker-end="url(#mermaid-req-svg_req_arrow_end)"/><g class="edgeLabel" transform="translate(82.523,146.5)"><g class="label" transform="translate(0, -10.5)"><rect class="background" x="-49.609" y="0" width="99.219" height="21" fill="rgba(232,232,232,0.8)" stroke="none"></rect><text y="-10.096" text-anchor="middle" font-family="Arial, sans-serif" font-size="16" fill="#333333"><tspan x="0" y="-0.1em" dy="1.1em"><tspan>&lt;&lt;satisfies&gt;&gt;</tspan></tspan></text></g></g></g><g class="req-nodes"><g class="node default" data-look="classic" transform="translate(82.523,268)"><g class="basic label-container outer-path"><path d="M-74.523 -86 L74.523 -86 L74.523 86 L-74.523 86 Z" stroke="#9370DB" stroke-width="1.3" fill="#ECECFF"/></g><g class="divider"><path d="M-74.523 -20 L74.523 -20" stroke="#9370DB" stroke-width="1.3" fill="none"/></g><g class="label" transform="translate(0,-77.5)"><text text-anchor="middle" y="-10.096" font-family="Arial, sans-serif" font-size="16" fill="#333333"><tspan x="0" y="-0.1em" dy="1.1em"><tspan>&lt;&lt;Requirement&gt;&gt;</tspan></tspan></text></g><g class="label" transform="translate(0,-54.5)"><text text-anchor="middle" y="-10.096" font-family="Arial, sans-serif" font-size="16" fill="#333333" font-weight="bold"><tspan x="0" y="-0.1em" dy="1.1em"><tspan>test_req</tspan></tspan></text></g><g class="label" transform="translate(-64.523,-11.5)"><text text-anchor="start" y="-10.096" font-family="Arial, sans-serif" font-size="16" fill="#333333"><tspan x="0" y="-0.1em" dy="1.1em"><tspan>ID: 1</tspan></tspan></text></g><g class="label" transform="translate(-64.523,11.5)"><text text-anchor="start" y="-10.096" font-family="Arial, sans-serif" font-size="16" fill="#333333"><tspan x="0" y="-0.1em" dy="1.1em"><tspan>Text: the test text.</tspan></tspan></text></g><g class="label" transform="translate(-64.523,34.5)"><text text-anchor="start" y="-10.096" font-family="Arial, sans-serif" font-size="16" fill="#333333"><tspan x="0" y="-0.1em" dy="1.1em"><tspan>Risk: High</tspan></tspan></text></g><g class="label" transform="translate(-64.523,57.5)"><text text-anchor="start" y="-10.096" font-family="Arial, sans-serif" font-size="16" fill="#333333"><tspan x="0" y="-0.1em" dy="1.1em"><tspan>Verification: Test</tspan></tspan></text></g></g><g class="node default" data-look="classic" transform="translate(82.523,59.5)"><g class="basic label-container outer-path"><path d="M-68.297 -51.5 L68.297 -51.5 L68.297 51.5 L-68.297 51.5 Z" stroke="#9370DB" stroke-width="1.3" fill="#ECECFF"/></g><g class="divider"><path d="M-68.297 14.5 L68.297 14.5" stroke="#9370DB" stroke-width="1.3" fill="none"/></g><g class="label" transform="translate(0,-43)"><text text-anchor="middle" y="-10.096" font-family="Arial, sans-serif" font-size="16" fill="#333333"><tspan x="0" y="-0.1em" dy="1.1em"><tspan>&lt;&lt;Element&gt;&gt;</tspan></tspan></text></g><g class="label" transform="translate(0,-20)"><text text-anchor="middle" y="-10.096" font-family="Arial, sans-serif" font-size="16" fill="#333333" font-weight="bold"><tspan x="0" y="-0.1em" dy="1.1em"><tspan>test_entity</tspan></tspan></text></g><g class="label" transform="translate(-58.297,23)"><text text-anchor="start" y="-10.096" font-family="Arial, sans-serif" font-size="16" fill="#333333"><tspan x="0" y="-0.1em" dy="1.1em"><tspan>Type: simulation</tspan></tspan></text></g></g></g></g></svg>
