1 line
18 KiB
XML
1 line
18 KiB
XML
<svg id="generated" width="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="flowchart" style="max-width: 528.578125px;" viewBox="0 0 528.578125 580" role="graphics-document document" aria-roledescription="flowchart-v2"><style>#generated{font-family:Arial;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#generated .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#generated .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#generated .error-icon{fill:#552222;}#generated .error-text{fill:#552222;stroke:#552222;}#generated .edge-thickness-normal{stroke-width:1px;}#generated .edge-thickness-thick{stroke-width:3.5px;}#generated .edge-pattern-solid{stroke-dasharray:0;}#generated .edge-thickness-invisible{stroke-width:0;fill:none;}#generated .edge-pattern-dashed{stroke-dasharray:3;}#generated .edge-pattern-dotted{stroke-dasharray:2;}#generated .marker{fill:#333333;stroke:#333333;}#generated .marker.cross{stroke:#333333;}#generated svg{font-family:Arial;font-size:16px;}#generated p{margin:0;}#generated .label{font-family:Arial;color:#333;}#generated .cluster-label text{fill:#333;}#generated .cluster-label span{color:#333;}#generated .cluster-label span p{background-color:transparent;}#generated .label text,#generated span{fill:#333;color:#333;}#generated .node rect,#generated .node circle,#generated .node ellipse,#generated .node polygon,#generated .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#generated .rough-node .label text,#generated .node .label text,#generated .image-shape .label,#generated .icon-shape .label{text-anchor:middle;}#generated .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#generated .rough-node .label,#generated .node .label,#generated .image-shape .label,#generated .icon-shape .label{text-align:center;}#generated .node.clickable{cursor:pointer;}#generated .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#generated .arrowheadPath{fill:#333333;}#generated .edgePath .path{stroke:#333333;stroke-width:2.0px;}#generated .flowchart-link{stroke:#333333;fill:none;}#generated .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#generated .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#generated .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#generated .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#generated .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#generated .cluster text{fill:#333;}#generated .cluster span{color:#333;}#generated div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:Arial;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#generated .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#generated rect.text{fill:none;stroke-width:0;}#generated .icon-shape,#generated .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#generated .icon-shape p,#generated .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#generated .icon-shape rect,#generated .image-shape rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#generated .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#generated .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#generated :root{--mermaid-font-family:Arial;}#generated .success>*{fill:none!important;stroke:#10b981!important;stroke-width:2px!important;color:#cbd5e1!important;}#generated .success span{fill:none!important;stroke:#10b981!important;stroke-width:2px!important;color:#cbd5e1!important;}#generated .success tspan{fill:#cbd5e1!important;}#generated .failure>*{fill:none!important;stroke:#ef4444!important;stroke-width:2px!important;color:#cbd5e1!important;}#generated .failure span{fill:none!important;stroke:#ef4444!important;stroke-width:2px!important;color:#cbd5e1!important;}#generated .failure tspan{fill:#cbd5e1!important;}#generated .goodResult>*{fill:none!important;stroke:#10b981!important;stroke-width:3px!important;color:#10b981!important;}#generated .goodResult span{fill:none!important;stroke:#10b981!important;stroke-width:3px!important;color:#10b981!important;}#generated .goodResult tspan{fill:#10b981!important;}#generated .badResult>*{fill:none!important;stroke:#ef4444!important;stroke-width:3px!important;color:#ef4444!important;}#generated .badResult span{fill:none!important;stroke:#ef4444!important;stroke-width:3px!important;color:#ef4444!important;}#generated .badResult tspan{fill:#ef4444!important;}</style><g><marker id="generated_flowchart-v2-pointEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 0 L 10 5 L 0 10 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="generated_flowchart-v2-pointStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="4.5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 5 L 10 10 L 10 0 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="generated_flowchart-v2-circleEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="11" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="generated_flowchart-v2-circleStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-1" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="generated_flowchart-v2-crossEnd" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="12" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"/></marker><marker id="generated_flowchart-v2-crossStart" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="-1" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g class="root" transform="translate(0, 12)"><g class="clusters"><g class="cluster failure" id="Scenario2" data-look="classic"><rect style="fill:none !important;stroke:#ef4444 !important;stroke-width:2px !important" x="8" y="8" width="239.46875" height="540"/><g class="cluster-label " transform="translate(88.7421875, 8)"><foreignObject width="77.984375" height="24"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel " style="color:#cbd5e1 !important"><p>⛔ 2 ноды</p></span></div></foreignObject></g></g></g><g class="edgePaths"><path d="M127.734,123.5L127.734,129.75C127.734,136,127.734,148.5,127.734,160.333C127.734,172.167,127.734,183.333,127.734,188.917L127.734,194.5" id="L_S2_Nodes_S2_Math_0" class=" edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_S2_Nodes_S2_Math_0" data-points="W3sieCI6MTI3LjczNDM3NSwieSI6MTIzLjV9LHsieCI6MTI3LjczNDM3NSwieSI6MTYxfSx7IngiOjEyNy43MzQzNzUsInkiOjE5OC41fV0=" marker-end="url(#generated_flowchart-v2-pointEnd)"/><path d="M127.734,252.5L127.734,258.75C127.734,265,127.734,277.5,127.734,289.333C127.734,301.167,127.734,312.333,127.734,317.917L127.734,323.5" id="L_S2_Math_S2_Result_0" class=" edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_S2_Math_S2_Result_0" data-points="W3sieCI6MTI3LjczNDM3NSwieSI6MjUyLjV9LHsieCI6MTI3LjczNDM3NSwieSI6MjkwfSx7IngiOjEyNy43MzQzNzUsInkiOjMyNy41fV0=" marker-end="url(#generated_flowchart-v2-pointEnd)"/><path d="M127.734,381.5L127.734,387.75C127.734,394,127.734,406.5,127.734,418.333C127.734,430.167,127.734,441.333,127.734,446.917L127.734,452.5" id="L_S2_Result_S2_Status_0" class=" edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_S2_Result_S2_Status_0" data-points="W3sieCI6MTI3LjczNDM3NSwieSI6MzgxLjV9LHsieCI6MTI3LjczNDM3NSwieSI6NDE5fSx7IngiOjEyNy43MzQzNzUsInkiOjQ1Ni41fV0=" marker-end="url(#generated_flowchart-v2-pointEnd)"/></g><g class="edgeLabels"><g class="edgeLabel"><g class="label" data-id="L_S2_Nodes_S2_Math_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml" class="labelBkg"><span class="edgeLabel "></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_S2_Math_S2_Result_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml" class="labelBkg"><span class="edgeLabel "></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_S2_Result_S2_Status_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml" class="labelBkg"><span class="edgeLabel "></span></div></foreignObject></g></g></g><g class="nodes"><g class="node default " id="flowchart-S2_Nodes-8" transform="translate(127.734375, 84.5)"><rect class="basic label-container" style="" x="-76.5546875" y="-39" width="153.109375" height="78"/><g class="label" style="" transform="translate(-46.5546875, -24)"><rect/><foreignObject width="93.109375" height="48"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel "><p>Master 1: 🟢<br />Master 2: 🔴</p></span></div></foreignObject></g></g><g class="node default " id="flowchart-S2_Math-9" transform="translate(127.734375, 225.5)"><rect class="basic label-container" style="" x="-70.6953125" y="-27" width="141.390625" height="54"/><g class="label" style="" transform="translate(-40.6953125, -12)"><rect/><foreignObject width="81.390625" height="24"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel "><p>1 / 2 = 50%</p></span></div></foreignObject></g></g><g class="node default " id="flowchart-S2_Result-10" transform="translate(127.734375, 354.5)"><rect class="basic label-container" style="" x="-84.734375" y="-27" width="169.46875" height="54"/><g class="label" style="" transform="translate(-54.734375, -12)"><rect/><foreignObject width="109.46875" height="24"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel "><p>Кворума нет ✗</p></span></div></foreignObject></g></g><g class="node default badResult " id="flowchart-S2_Status-11" transform="translate(127.734375, 483.5)"><rect class="basic label-container" style="fill:none !important;stroke:#ef4444 !important;stroke-width:3px !important" x="-53.3046875" y="-27" width="106.609375" height="54"/><g class="label" style="color:#ef4444 !important" transform="translate(-23.3046875, -12)"><rect/><foreignObject width="46.609375" height="24"><div style="color: rgb(239, 68, 68) !important; display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml"><span style="color:#ef4444 !important" class="nodeLabel "><p>Мёртв</p></span></div></foreignObject></g></g></g></g><g class="root" transform="translate(289.46875, 0)"><g class="clusters"><g class="cluster success" id="Scenario1" data-look="classic"><rect style="fill:none !important;stroke:#10b981 !important;stroke-width:2px !important" x="8" y="8" width="223.109375" height="564"/><g class="cluster-label " transform="translate(80.5625, 8)"><foreignObject width="77.984375" height="24"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel " style="color:#cbd5e1 !important"><p>✅ 3 ноды</p></span></div></foreignObject></g></g></g><g class="edgePaths"><path d="M119.555,147.5L119.555,153.75C119.555,160,119.555,172.5,119.555,184.333C119.555,196.167,119.555,207.333,119.555,212.917L119.555,218.5" id="L_S1_Nodes_S1_Math_0" class=" edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_S1_Nodes_S1_Math_0" data-points="W3sieCI6MTE5LjU1NDY4NzUsInkiOjE0Ny41fSx7IngiOjExOS41NTQ2ODc1LCJ5IjoxODV9LHsieCI6MTE5LjU1NDY4NzUsInkiOjIyMi41fV0=" marker-end="url(#generated_flowchart-v2-pointEnd)"/><path d="M119.555,276.5L119.555,282.75C119.555,289,119.555,301.5,119.555,313.333C119.555,325.167,119.555,336.333,119.555,341.917L119.555,347.5" id="L_S1_Math_S1_Result_0" class=" edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_S1_Math_S1_Result_0" data-points="W3sieCI6MTE5LjU1NDY4NzUsInkiOjI3Ni41fSx7IngiOjExOS41NTQ2ODc1LCJ5IjozMTR9LHsieCI6MTE5LjU1NDY4NzUsInkiOjM1MS41fV0=" marker-end="url(#generated_flowchart-v2-pointEnd)"/><path d="M119.555,405.5L119.555,411.75C119.555,418,119.555,430.5,119.555,442.333C119.555,454.167,119.555,465.333,119.555,470.917L119.555,476.5" id="L_S1_Result_S1_Status_0" class=" edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_S1_Result_S1_Status_0" data-points="W3sieCI6MTE5LjU1NDY4NzUsInkiOjQwNS41fSx7IngiOjExOS41NTQ2ODc1LCJ5Ijo0NDN9LHsieCI6MTE5LjU1NDY4NzUsInkiOjQ4MC41fV0=" marker-end="url(#generated_flowchart-v2-pointEnd)"/></g><g class="edgeLabels"><g class="edgeLabel"><g class="label" data-id="L_S1_Nodes_S1_Math_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml" class="labelBkg"><span class="edgeLabel "></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_S1_Math_S1_Result_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml" class="labelBkg"><span class="edgeLabel "></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_S1_Result_S1_Status_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml" class="labelBkg"><span class="edgeLabel "></span></div></foreignObject></g></g></g><g class="nodes"><g class="node default " id="flowchart-S1_Nodes-0" transform="translate(119.5546875, 96.5)"><rect class="basic label-container" style="" x="-76.5546875" y="-51" width="153.109375" height="102"/><g class="label" style="" transform="translate(-46.5546875, -36)"><rect/><foreignObject width="93.109375" height="72"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel "><p>Master 1: 🟢<br />Master 2: 🔴<br />Master 3: 🟢</p></span></div></foreignObject></g></g><g class="node default " id="flowchart-S1_Math-1" transform="translate(119.5546875, 249.5)"><rect class="basic label-container" style="" x="-70.6953125" y="-27" width="141.390625" height="54"/><g class="label" style="" transform="translate(-40.6953125, -12)"><rect/><foreignObject width="81.390625" height="24"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel "><p>2 / 3 = 66%</p></span></div></foreignObject></g></g><g class="node default " id="flowchart-S1_Result-2" transform="translate(119.5546875, 378.5)"><rect class="basic label-container" style="" x="-65.2578125" y="-27" width="130.515625" height="54"/><g class="label" style="" transform="translate(-35.2578125, -12)"><rect/><foreignObject width="70.515625" height="24"><div style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel "><p>Кворум ✓</p></span></div></foreignObject></g></g><g class="node default goodResult " id="flowchart-S1_Status-3" transform="translate(119.5546875, 507.5)"><rect class="basic label-container" style="fill:none !important;stroke:#10b981 !important;stroke-width:3px !important" x="-64.25" y="-27" width="128.5" height="54"/><g class="label" style="color:#10b981 !important" transform="translate(-34.25, -12)"><rect/><foreignObject width="68.5" height="24"><div style="color: rgb(16, 185, 129) !important; display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;" xmlns="http://www.w3.org/1999/xhtml"><span style="color:#10b981 !important" class="nodeLabel "><p>Работает</p></span></div></foreignObject></g></g></g></g></g></g></g></svg> |