Advertisement
MaX33333

Untitled

May 17th, 2020
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.07 KB | None | 0 0
  1. <mxGraphModel dx="1246" dy="810" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="640" pageHeight="750" background="#ffffff">
  2. <root>
  3. <mxCell id="0"/>
  4. <mxCell id="1" parent="0"/>
  5. <mxCell id="4" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="2" target="3" edge="1">
  6. <mxGeometry relative="1" as="geometry"/>
  7. </mxCell>
  8. <mxCell id="2" value="Начало" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  9. <mxGeometry x="50" width="60" height="20" as="geometry"/>
  10. </mxCell>
  11. <mxCell id="6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="3" target="5" edge="1">
  12. <mxGeometry relative="1" as="geometry"/>
  13. </mxCell>
  14. <mxCell id="3" value="string name1, name2;" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  15. <mxGeometry x="20" y="30" width="120" height="20" as="geometry"/>
  16. </mxCell>
  17. <mxCell id="8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="5" target="7" edge="1">
  18. <mxGeometry relative="1" as="geometry"/>
  19. </mxCell>
  20. <mxCell id="5" value="&lt;div&gt;Ввод name1&lt;/div&gt;" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;size=0.07111111111111143;" parent="1" vertex="1">
  21. <mxGeometry x="30" y="60" width="100" height="20" as="geometry"/>
  22. </mxCell>
  23. <mxCell id="10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="7" target="9" edge="1">
  24. <mxGeometry relative="1" as="geometry"/>
  25. </mxCell>
  26. <mxCell id="7" value="base root(nullptr, name1);" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  27. <mxGeometry x="10" y="90" width="140" height="20" as="geometry"/>
  28. </mxCell>
  29. <mxCell id="12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="9" target="11" edge="1">
  30. <mxGeometry relative="1" as="geometry"/>
  31. </mxCell>
  32. <mxCell id="9" value="INF" style="shape=cycle_begin;whiteSpace=wrap;html=1;portConstraint=south;sourcePortConstraint=north;size=15;" parent="1" vertex="1">
  33. <mxGeometry x="60" y="120" width="40" height="20" as="geometry"/>
  34. </mxCell>
  35. <mxCell id="14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="11" target="13" edge="1">
  36. <mxGeometry relative="1" as="geometry"/>
  37. </mxCell>
  38. <mxCell id="11" value="Ввод name1 и name2" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;size=0.06349206349206354;" parent="1" vertex="1">
  39. <mxGeometry y="150" width="160" height="20" as="geometry"/>
  40. </mxCell>
  41. <mxCell id="16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="13" target="15" edge="1">
  42. <mxGeometry relative="1" as="geometry">
  43. <Array as="points">
  44. <mxPoint x="150" y="195"/>
  45. <mxPoint x="150" y="210"/>
  46. <mxPoint x="125" y="210"/>
  47. </Array>
  48. </mxGeometry>
  49. </mxCell>
  50. <mxCell id="155" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.5;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="13" target="153" edge="1">
  51. <mxGeometry relative="1" as="geometry">
  52. <Array as="points">
  53. <mxPoint x="10" y="195"/>
  54. <mxPoint x="10" y="320"/>
  55. <mxPoint x="80" y="320"/>
  56. </Array>
  57. </mxGeometry>
  58. </mxCell>
  59. <mxCell id="13" value="name1==name2" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  60. <mxGeometry x="30" y="180" width="100" height="30" as="geometry"/>
  61. </mxCell>
  62. <mxCell id="172" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="15" target="22" edge="1">
  63. <mxGeometry relative="1" as="geometry">
  64. <Array as="points">
  65. <mxPoint x="125" y="280"/>
  66. <mxPoint x="80" y="280"/>
  67. </Array>
  68. </mxGeometry>
  69. </mxCell>
  70. <mxCell id="15" value="&lt;div&gt;base* p = root.find(name1);&lt;/div&gt;Base* add = new C1(p, name2);" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  71. <mxGeometry x="30" y="230" width="190" height="30" as="geometry"/>
  72. </mxCell>
  73. <mxCell id="17" value="Нет" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
  74. <mxGeometry x="130" y="175" width="40" height="20" as="geometry"/>
  75. </mxCell>
  76. <mxCell id="28" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="20" target="27" edge="1">
  77. <mxGeometry relative="1" as="geometry"/>
  78. </mxCell>
  79. <mxCell id="20" value="root.tree();" style="shape=process;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  80. <mxGeometry x="45" y="355" width="70" height="20" as="geometry"/>
  81. </mxCell>
  82. <mxCell id="156" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="22" target="153" edge="1">
  83. <mxGeometry relative="1" as="geometry"/>
  84. </mxCell>
  85. <mxCell id="22" value="INF" style="shape=cycle_end;whiteSpace=wrap;html=1;size=12;" parent="1" vertex="1">
  86. <mxGeometry x="55" y="290" width="50" height="20" as="geometry"/>
  87. </mxCell>
  88. <mxCell id="26" value="Да" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
  89. <mxGeometry x="10" y="170" width="30" height="20" as="geometry"/>
  90. </mxCell>
  91. <mxCell id="27" value="Конец" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  92. <mxGeometry x="55" y="390" width="50" height="20" as="geometry"/>
  93. </mxCell>
  94. <mxCell id="158" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="29" target="157" edge="1">
  95. <mxGeometry relative="1" as="geometry"/>
  96. </mxCell>
  97. <mxCell id="29" value="base(base* r, string n)" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  98. <mxGeometry x="220" y="340" width="140" height="30" as="geometry"/>
  99. </mxCell>
  100. <mxCell id="160" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="30" target="133" edge="1">
  101. <mxGeometry relative="1" as="geometry"/>
  102. </mxCell>
  103. <mxCell id="30" value="&lt;div&gt;name = n;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  104. <mxGeometry x="260" y="410" width="60" height="20" as="geometry"/>
  105. </mxCell>
  106. <mxCell id="124" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="50" target="123" edge="1">
  107. <mxGeometry relative="1" as="geometry"/>
  108. </mxCell>
  109. <mxCell id="50" value="tree()" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  110. <mxGeometry x="440" width="80" height="30" as="geometry"/>
  111. </mxCell>
  112. <mxCell id="54" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="51" target="53" edge="1">
  113. <mxGeometry relative="1" as="geometry"/>
  114. </mxCell>
  115. <mxCell id="51" value="Вывод новой строки и имени объекта" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;size=0.030476190476189827;" parent="1" vertex="1">
  116. <mxGeometry x="410" y="110" width="140" height="30" as="geometry"/>
  117. </mxCell>
  118. <mxCell id="56" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="53" target="55" edge="1">
  119. <mxGeometry relative="1" as="geometry"/>
  120. </mxCell>
  121. <mxCell id="53" value="Для всех объектов в векторе children" style="shape=cycle_begin;whiteSpace=wrap;html=1;portConstraint=south;sourcePortConstraint=north;size=13;" parent="1" vertex="1">
  122. <mxGeometry x="420" y="150" width="120" height="40" as="geometry"/>
  123. </mxCell>
  124. <mxCell id="58" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="55" target="57" edge="1">
  125. <mxGeometry relative="1" as="geometry"/>
  126. </mxCell>
  127. <mxCell id="55" value="Вывод названия очередного объекта" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;size=0.09206349206349225;" parent="1" vertex="1">
  128. <mxGeometry x="410" y="200" width="140" height="40" as="geometry"/>
  129. </mxCell>
  130. <mxCell id="66" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="57" target="62" edge="1">
  131. <mxGeometry relative="1" as="geometry"/>
  132. </mxCell>
  133. <mxCell id="57" value="" style="shape=cycle_end;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  134. <mxGeometry x="420" y="250" width="120" height="20" as="geometry"/>
  135. </mxCell>
  136. <mxCell id="59" value="Возврат" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  137. <mxGeometry x="450" y="410" width="60" height="20" as="geometry"/>
  138. </mxCell>
  139. <mxCell id="68" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="62" target="67" edge="1">
  140. <mxGeometry relative="1" as="geometry"/>
  141. </mxCell>
  142. <mxCell id="62" value="Для всех объектов в векторе children" style="shape=cycle_begin;whiteSpace=wrap;html=1;portConstraint=south;sourcePortConstraint=north;size=13;" parent="1" vertex="1">
  143. <mxGeometry x="420" y="280" width="120" height="40" as="geometry"/>
  144. </mxCell>
  145. <mxCell id="70" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="65" target="59" edge="1">
  146. <mxGeometry relative="1" as="geometry"/>
  147. </mxCell>
  148. <mxCell id="65" value="" style="shape=cycle_end;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  149. <mxGeometry x="420" y="380" width="120" height="20" as="geometry"/>
  150. </mxCell>
  151. <mxCell id="69" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="67" target="65" edge="1">
  152. <mxGeometry relative="1" as="geometry"/>
  153. </mxCell>
  154. <mxCell id="67" value="Для очередного объекта вызвать tree()" style="shape=process;whiteSpace=wrap;html=1;size=0.045238095238095105;" parent="1" vertex="1">
  155. <mxGeometry x="420" y="330" width="120" height="40" as="geometry"/>
  156. </mxCell>
  157. <mxCell id="76" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="71" target="72" edge="1">
  158. <mxGeometry relative="1" as="geometry"/>
  159. </mxCell>
  160. <mxCell id="71" value="find(string fn)" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  161. <mxGeometry x="250" width="100" height="20" as="geometry"/>
  162. </mxCell>
  163. <mxCell id="74" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="72" target="73" edge="1">
  164. <mxGeometry relative="1" as="geometry"/>
  165. </mxCell>
  166. <mxCell id="79" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.5;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="72" target="78" edge="1">
  167. <mxGeometry relative="1" as="geometry"/>
  168. </mxCell>
  169. <mxCell id="72" value="name==fn" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  170. <mxGeometry x="260" y="30" width="80" height="20" as="geometry"/>
  171. </mxCell>
  172. <mxCell id="73" value="return this;" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  173. <mxGeometry x="320" y="50" width="80" height="20" as="geometry"/>
  174. </mxCell>
  175. <mxCell id="75" value="Да" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
  176. <mxGeometry x="340" y="20" width="30" height="20" as="geometry"/>
  177. </mxCell>
  178. <mxCell id="77" value="Нет" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
  179. <mxGeometry x="240" y="20" width="40" height="20" as="geometry"/>
  180. </mxCell>
  181. <mxCell id="89" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="78" target="81" edge="1">
  182. <mxGeometry relative="1" as="geometry">
  183. <Array as="points">
  184. <mxPoint x="250" y="90"/>
  185. <mxPoint x="300" y="90"/>
  186. </Array>
  187. </mxGeometry>
  188. </mxCell>
  189. <mxCell id="78" value="base* b = nullptr;" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  190. <mxGeometry x="200" y="60" width="100" height="20" as="geometry"/>
  191. </mxCell>
  192. <mxCell id="87" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="81" target="85" edge="1">
  193. <mxGeometry relative="1" as="geometry"/>
  194. </mxCell>
  195. <mxCell id="81" value="Для всех объектов в векторе children" style="shape=cycle_begin;whiteSpace=wrap;html=1;portConstraint=south;sourcePortConstraint=north;size=13;" parent="1" vertex="1">
  196. <mxGeometry x="240" y="100" width="120" height="40" as="geometry"/>
  197. </mxCell>
  198. <mxCell id="99" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="84" target="97" edge="1">
  199. <mxGeometry relative="1" as="geometry"/>
  200. </mxCell>
  201. <mxCell id="84" value="" style="shape=cycle_end;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  202. <mxGeometry x="240" y="250" width="120" height="20" as="geometry"/>
  203. </mxCell>
  204. <mxCell id="93" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="85" target="90" edge="1">
  205. <mxGeometry relative="1" as="geometry"/>
  206. </mxCell>
  207. <mxCell id="85" value="b=find(fn)" style="shape=process;whiteSpace=wrap;html=1;size=0.045238095238095105;" parent="1" vertex="1">
  208. <mxGeometry x="270" y="150" width="60" height="20" as="geometry"/>
  209. </mxCell>
  210. <mxCell id="92" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="90" target="91" edge="1">
  211. <mxGeometry relative="1" as="geometry">
  212. <Array as="points">
  213. <mxPoint x="355" y="195"/>
  214. </Array>
  215. </mxGeometry>
  216. </mxCell>
  217. <mxCell id="95" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.5;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="90" target="84" edge="1">
  218. <mxGeometry relative="1" as="geometry"/>
  219. </mxCell>
  220. <mxCell id="90" value="b != nullptr" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  221. <mxGeometry x="260" y="180" width="80" height="30" as="geometry"/>
  222. </mxCell>
  223. <mxCell id="91" value="return b;" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  224. <mxGeometry x="325" y="210" width="60" height="20" as="geometry"/>
  225. </mxCell>
  226. <mxCell id="94" value="Да" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
  227. <mxGeometry x="340" y="175" width="30" height="20" as="geometry"/>
  228. </mxCell>
  229. <mxCell id="96" value="Нет" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
  230. <mxGeometry x="240" y="175" width="40" height="20" as="geometry"/>
  231. </mxCell>
  232. <mxCell id="97" value="return nullptr;" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  233. <mxGeometry x="260" y="280" width="80" height="20" as="geometry"/>
  234. </mxCell>
  235. <mxCell id="130" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="101" target="108" edge="1">
  236. <mxGeometry relative="1" as="geometry"/>
  237. </mxCell>
  238. <mxCell id="101" value="base(base* r)" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  239. <mxGeometry x="310" y="495" width="90" height="30" as="geometry"/>
  240. </mxCell>
  241. <mxCell id="167" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="108" target="162" edge="1">
  242. <mxGeometry relative="1" as="geometry"/>
  243. </mxCell>
  244. <mxCell id="108" value="parent = r;" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  245. <mxGeometry x="325" y="535" width="60" height="20" as="geometry"/>
  246. </mxCell>
  247. <mxCell id="126" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="123" target="125" edge="1">
  248. <mxGeometry relative="1" as="geometry"/>
  249. </mxCell>
  250. <mxCell id="127" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.5;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="123" target="51" edge="1">
  251. <mxGeometry relative="1" as="geometry">
  252. <Array as="points">
  253. <mxPoint x="420" y="55"/>
  254. <mxPoint x="420" y="90"/>
  255. <mxPoint x="480" y="90"/>
  256. </Array>
  257. <mxPoint x="480.1111111111111" y="105" as="targetPoint"/>
  258. </mxGeometry>
  259. </mxCell>
  260. <mxCell id="123" value="Если нет потомков" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  261. <mxGeometry x="440" y="40" width="80" height="30" as="geometry"/>
  262. </mxCell>
  263. <mxCell id="125" value="Возврат" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  264. <mxGeometry x="500" y="75" width="60" height="20" as="geometry"/>
  265. </mxCell>
  266. <mxCell id="128" value="Да" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
  267. <mxGeometry x="520" y="35" width="30" height="20" as="geometry"/>
  268. </mxCell>
  269. <mxCell id="129" value="Нет" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
  270. <mxGeometry x="420" y="35" width="40" height="20" as="geometry"/>
  271. </mxCell>
  272. <mxCell id="131" value="Возврат" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  273. <mxGeometry x="330" y="650" width="50" height="20" as="geometry"/>
  274. </mxCell>
  275. <mxCell id="133" value="Возврат" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  276. <mxGeometry x="260" y="440" width="60" height="20" as="geometry"/>
  277. </mxCell>
  278. <mxCell id="173" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="135" target="139" edge="1">
  279. <mxGeometry relative="1" as="geometry"/>
  280. </mxCell>
  281. <mxCell id="135" value="~Base()" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  282. <mxGeometry x="132.5" y="510" width="55" height="30" as="geometry"/>
  283. </mxCell>
  284. <mxCell id="148" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="139" target="147" edge="1">
  285. <mxGeometry relative="1" as="geometry"/>
  286. </mxCell>
  287. <mxCell id="139" value="Для всех объектов в векторе children" style="shape=cycle_begin;whiteSpace=wrap;html=1;portConstraint=south;sourcePortConstraint=north;size=13;" parent="1" vertex="1">
  288. <mxGeometry x="100" y="550" width="120" height="40" as="geometry"/>
  289. </mxCell>
  290. <mxCell id="151" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="142" target="150" edge="1">
  291. <mxGeometry relative="1" as="geometry">
  292. <Array as="points">
  293. <mxPoint x="160" y="690"/>
  294. <mxPoint x="160" y="690"/>
  295. </Array>
  296. </mxGeometry>
  297. </mxCell>
  298. <mxCell id="142" value="" style="shape=cycle_end;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  299. <mxGeometry x="100" y="650" width="120" height="20" as="geometry"/>
  300. </mxCell>
  301. <mxCell id="149" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="147" target="142" edge="1">
  302. <mxGeometry relative="1" as="geometry"/>
  303. </mxCell>
  304. <mxCell id="147" value="Удалить данный объект" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  305. <mxGeometry x="100" y="600" width="120" height="40" as="geometry"/>
  306. </mxCell>
  307. <mxCell id="150" value="Возврат" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  308. <mxGeometry x="135" y="690" width="50" height="20" as="geometry"/>
  309. </mxCell>
  310. <mxCell id="154" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="153" target="20" edge="1">
  311. <mxGeometry relative="1" as="geometry"/>
  312. </mxCell>
  313. <mxCell id="153" value="cout &amp;lt;&amp;lt; root.get_name();" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;size=0.055873015873015804;" parent="1" vertex="1">
  314. <mxGeometry x="5" y="330" width="150" height="15" as="geometry"/>
  315. </mxCell>
  316. <mxCell id="161" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="157" target="30" edge="1">
  317. <mxGeometry relative="1" as="geometry"/>
  318. </mxCell>
  319. <mxCell id="157" value="base(r)" style="shape=process;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  320. <mxGeometry x="260" y="380" width="60" height="20" as="geometry"/>
  321. </mxCell>
  322. <mxCell id="164" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="162" target="163" edge="1">
  323. <mxGeometry relative="1" as="geometry"/>
  324. </mxCell>
  325. <mxCell id="168" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.5;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="162" target="131" edge="1">
  326. <mxGeometry relative="1" as="geometry">
  327. <Array as="points">
  328. <mxPoint x="295" y="580"/>
  329. <mxPoint x="295" y="640"/>
  330. <mxPoint x="355" y="640"/>
  331. </Array>
  332. </mxGeometry>
  333. </mxCell>
  334. <mxCell id="162" value="r != nullptr" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
  335. <mxGeometry x="315" y="566" width="80" height="28" as="geometry"/>
  336. </mxCell>
  337. <mxCell id="169" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" parent="1" source="163" target="131" edge="1">
  338. <mxGeometry relative="1" as="geometry">
  339. <Array as="points">
  340. <mxPoint x="420" y="640"/>
  341. <mxPoint x="355" y="640"/>
  342. </Array>
  343. </mxGeometry>
  344. </mxCell>
  345. <mxCell id="163" value="r-&amp;gt;get_childs()-&amp;gt;push_back(this);" style="shape=process;whiteSpace=wrap;html=1;size=0.021804511278195316;" parent="1" vertex="1">
  346. <mxGeometry x="325" y="610" width="190" height="20" as="geometry"/>
  347. </mxCell>
  348. <mxCell id="170" value="Нет" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
  349. <mxGeometry x="290" y="556" width="40" height="20" as="geometry"/>
  350. </mxCell>
  351. <mxCell id="171" value="Да" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
  352. <mxGeometry x="395" y="558" width="30" height="20" as="geometry"/>
  353. </mxCell>
  354. </root>
  355. </mxGraphModel>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement