Files
kompas-plugin/assets/example.svg
T

74 lines
8.8 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="540" viewBox="0 0 1280 540" role="img" aria-label="Пример: запрос на кронштейн, семь вызовов инструментов агентом и ответ сервера с габаритом и ведомой переменной H">
<defs>
<linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#0d1b2e"/><stop offset="1" stop-color="#14304f"/></linearGradient>
<marker id="ar" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0,1 L10,5 L0,9 Z" fill="#ffb347"/></marker>
<marker id="fl" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="9" markerHeight="9" orient="auto"><path d="M0,1 L10,5 L0,9 Z" fill="#9fd4ff"/></marker>
<style>
.top{fill:#2f6ea8;stroke:#9fd4ff;stroke-width:1.4;stroke-linejoin:round}
.left{fill:#1d4a78;stroke:#9fd4ff;stroke-width:1.4;stroke-linejoin:round}
.right{fill:#163a60;stroke:#9fd4ff;stroke-width:1.4;stroke-linejoin:round}
.hole{fill:#0b1626;stroke:#9fd4ff;stroke-width:1.4}
.ext{stroke:#ffb347;stroke-width:1;opacity:.7}
.dim{stroke:#ffb347;stroke-width:1.4}
.dimt{fill:#ffb347;font:700 20px Consolas,'JetBrains Mono',monospace}
.cap{fill:#9fd4ff;font:600 16px Consolas,'JetBrains Mono',monospace;letter-spacing:2.5px}
.who{fill:#fff;font:700 28px 'Segoe UI','Inter',Arial,sans-serif}
.req{fill:#cfe6ff;font:500 21px 'Segoe UI','Inter',Arial,sans-serif}
.reqb{fill:#fff;font:700 21px 'Segoe UI','Inter',Arial,sans-serif}
.call{fill:#cfe6ff;font:500 19px Consolas,'JetBrains Mono',monospace}
.num{fill:#ffb347;font:700 15px Consolas,monospace}
.ok{fill:#fff;font:700 21px 'Segoe UI','Inter',Arial,sans-serif}
.res{fill:#cfe6ff;font:500 19px 'Segoe UI','Inter',Arial,sans-serif}
.hint{fill:#ffb347;font:600 17px Consolas,'JetBrains Mono',monospace}
</style></defs>
<rect width="1280" height="540" rx="24" fill="url(#bg)"/>
<rect x=".75" y=".75" width="1278.5" height="538.5" rx="23.25" fill="none" stroke="#9fd4ff" stroke-opacity=".25" stroke-width="1.5"/>
<text class="cap" x="36" y="52" text-anchor="start" >01 · ЗАПРОС</text>
<text class="who" x="36" y="92" text-anchor="start" >Вы</text>
<rect x="36" y="112" width="340" height="396" rx="16" fill="#fff" fill-opacity=".05" stroke="#9fd4ff" stroke-opacity=".35" stroke-width="1.5"/>
<text class="cap" x="436" y="52" text-anchor="start" >02 · ВЫЗОВЫ</text>
<text class="who" x="436" y="92" text-anchor="start" >Агент</text>
<rect x="436" y="112" width="420" height="396" rx="16" fill="#fff" fill-opacity=".05" stroke="#9fd4ff" stroke-opacity=".35" stroke-width="1.5"/>
<text class="cap" x="916" y="52" text-anchor="start" >03 · ОТВЕТ</text>
<text class="who" x="916" y="92" text-anchor="start" >Сервер</text>
<rect x="916" y="112" width="328" height="396" rx="16" fill="#fff" fill-opacity=".05" stroke="#9fd4ff" stroke-opacity=".35" stroke-width="1.5"/>
<line x1="380" y1="310" x2="432" y2="310" stroke="#9fd4ff" stroke-width="2" marker-end="url(#fl)"/>
<line x1="860" y1="310" x2="912" y2="310" stroke="#9fd4ff" stroke-width="2" marker-end="url(#fl)"/>
<text class="reqb" x="64" y="158" text-anchor="start" >Кронштейн:</text>
<text class="req" x="64" y="192" text-anchor="start" >полка 150 × 96 × 24,</text>
<text class="req" x="64" y="226" text-anchor="start" >стойка высотой 110</text>
<text class="req" x="64" y="260" text-anchor="start" >с отверстием Ø40,</text>
<text class="req" x="64" y="294" text-anchor="start" >в полке два</text>
<text class="req" x="64" y="328" text-anchor="start" >крепёжных Ø11.</text>
<text class="reqb" x="64" y="396" text-anchor="start" >Высоту стойки —</text>
<text class="reqb" x="64" y="430" text-anchor="start" >переменной.</text>
<circle cx="474" cy="154" r="13" fill="none" stroke="#ffb347" stroke-width="1.5"/>
<text class="num" x="474" y="159" text-anchor="middle" >1</text>
<text class="call" x="500" y="160" text-anchor="start" >document_create(part)</text>
<circle cx="474" cy="198" r="13" fill="none" stroke="#ffb347" stroke-width="1.5"/>
<text class="num" x="474" y="203" text-anchor="middle" >2</text>
<text class="call" x="500" y="204" text-anchor="start" >set_variable(H = 110)</text>
<circle cx="474" cy="242" r="13" fill="none" stroke="#ffb347" stroke-width="1.5"/>
<text class="num" x="474" y="247" text-anchor="middle" >3</text>
<text class="call" x="500" y="248" text-anchor="start" >primitive(block 150×96×24)</text>
<circle cx="474" cy="286" r="13" fill="none" stroke="#ffb347" stroke-width="1.5"/>
<text class="num" x="474" y="291" text-anchor="middle" >4</text>
<text class="call" x="500" y="292" text-anchor="start" >primitive(height = "H",</text>
<text class="call" x="522" y="336" text-anchor="start" >result = union)</text>
<circle cx="474" cy="374" r="13" fill="none" stroke="#ffb347" stroke-width="1.5"/>
<text class="num" x="474" y="379" text-anchor="middle" >5</text>
<text class="call" x="500" y="380" text-anchor="start" >hole(Ø40, сквозное)</text>
<circle cx="474" cy="418" r="13" fill="none" stroke="#ffb347" stroke-width="1.5"/>
<text class="num" x="474" y="423" text-anchor="middle" >6</text>
<text class="call" x="500" y="424" text-anchor="start" >hole(Ø11, points = [2])</text>
<circle cx="474" cy="462" r="13" fill="none" stroke="#ffb347" stroke-width="1.5"/>
<text class="num" x="474" y="467" text-anchor="middle" >7</text>
<text class="call" x="500" y="468" text-anchor="start" >describe_model(box, mass)</text>
<polygon class="top" points="1033.7,215.0 1135.1,273.5 1090.5,299.2 989.2,240.7"/><polygon class="left" points="989.2,259.4 1090.5,317.9 1090.5,299.2 989.2,240.7"/><polygon class="right" points="1155.3,280.5 1090.5,317.9 1090.5,299.2 1155.3,261.8"/><polygon class="top" points="1054.0,136.2 1155.3,194.7 1135.1,206.4 1033.7,147.9"/><polygon class="left" points="1033.7,215.0 1135.1,273.5 1135.1,206.4 1033.7,147.9"/><polygon class="right" points="1155.3,261.8 1135.1,273.5 1135.1,206.4 1155.3,194.7"/><path class="hole" d="M1097.9,216.2 L1097.8,214.0 L1097.4,211.8 L1096.9,209.6 L1096.1,207.3 L1095.1,205.0 L1093.9,202.8 L1092.6,200.7 L1091.2,198.7 L1089.6,196.9 L1087.9,195.3 L1086.2,193.9 L1084.4,192.8 L1082.6,191.9 L1080.9,191.3 L1079.2,191.0 L1077.6,190.9 L1076.2,191.2 L1074.8,191.8 L1073.7,192.7 L1072.7,193.8 L1071.9,195.2 L1071.3,196.8 L1071.0,198.6 L1070.9,200.6 L1071.0,202.7 L1071.3,204.9 L1071.9,207.1 L1072.7,209.4 L1073.7,211.7 L1074.8,213.9 L1076.2,216.0 L1077.6,218.0 L1079.2,219.8 L1080.9,221.4 L1082.6,222.8 L1084.4,223.9 L1086.2,224.8 L1087.9,225.4 L1089.6,225.7 L1091.2,225.8 L1092.6,225.5 L1093.9,224.9 L1095.1,224.0 L1096.1,222.9 L1096.9,221.5 L1097.4,219.9 L1097.8,218.1 Z"/><path class="hole" d="M1043.9,248.9 L1042.8,249.4 L1041.7,249.9 L1040.5,250.2 L1039.2,250.5 L1037.8,250.6 L1036.4,250.7 L1035.1,250.6 L1033.7,250.5 L1032.4,250.2 L1031.2,249.9 L1030.0,249.4 L1029.0,248.9 L1028.1,248.3 L1027.3,247.7 L1026.7,246.9 L1026.3,246.2 L1026.0,245.4 L1025.9,244.6 L1026.0,243.8 L1026.3,243.0 L1026.7,242.3 L1027.3,241.6 L1028.1,240.9 L1029.0,240.3 L1030.0,239.8 L1031.2,239.4 L1032.4,239.0 L1033.7,238.8 L1035.1,238.6 L1036.4,238.6 L1037.8,238.6 L1039.2,238.8 L1040.5,239.0 L1041.7,239.4 L1042.8,239.8 L1043.9,240.3 L1044.8,240.9 L1045.5,241.6 L1046.1,242.3 L1046.6,243.0 L1046.9,243.8 L1046.9,244.6 L1046.9,245.4 L1046.6,246.2 L1046.1,246.9 L1045.5,247.7 L1044.8,248.3 Z"/><path class="hole" d="M1091.2,276.2 L1090.1,276.7 L1089.0,277.2 L1087.7,277.5 L1086.4,277.8 L1085.1,277.9 L1083.7,278.0 L1082.3,277.9 L1081.0,277.8 L1079.7,277.5 L1078.5,277.2 L1077.3,276.7 L1076.3,276.2 L1075.4,275.6 L1074.6,275.0 L1074.0,274.2 L1073.6,273.5 L1073.3,272.7 L1073.2,271.9 L1073.3,271.1 L1073.6,270.3 L1074.0,269.6 L1074.6,268.9 L1075.4,268.2 L1076.3,267.6 L1077.3,267.1 L1078.5,266.7 L1079.7,266.3 L1081.0,266.1 L1082.3,265.9 L1083.7,265.9 L1085.1,265.9 L1086.4,266.1 L1087.7,266.3 L1089.0,266.7 L1090.1,267.1 L1091.2,267.6 L1092.1,268.2 L1092.8,268.9 L1093.4,269.6 L1093.9,270.3 L1094.1,271.1 L1094.2,271.9 L1094.1,272.7 L1093.9,273.5 L1093.4,274.2 L1092.8,275.0 L1092.1,275.6 Z"/><line class="ext" x1="1158.0" y1="282.1" x2="1175.2" y2="292.1"/><line class="ext" x1="1158.0" y1="196.3" x2="1175.2" y2="206.3"/><line class="dim" x1="1170.2" y1="289.1" x2="1170.2" y2="203.3" marker-start="url(#ar)" marker-end="url(#ar)"/><text class="dimt" x="1180.2" y="252.2">H</text>
<text class="ok" x="944" y="350" text-anchor="start" >✓ Построение чистое</text>
<text class="res" x="944" y="384" text-anchor="start" >тел: 1</text>
<text class="res" x="944" y="414" text-anchor="start" >габарит 150 × 96 × 110 мм</text>
<text class="res" x="944" y="452" text-anchor="start" >H ведёт высоту стойки:</text>
<text class="hint" x="944" y="484" text-anchor="start" >set_variable(H = 140)</text>
</svg>