Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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">
- <root>
- <mxCell id="0"/>
- <mxCell id="1" parent="0"/>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="2" value="Начало" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="50" width="60" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="3" value="string name1, name2;" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="20" y="30" width="120" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="5" value="<div>Ввод name1</div>" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;size=0.07111111111111143;" parent="1" vertex="1">
- <mxGeometry x="30" y="60" width="100" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="7" value="base root(nullptr, name1);" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="10" y="90" width="140" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="9" value="INF" style="shape=cycle_begin;whiteSpace=wrap;html=1;portConstraint=south;sourcePortConstraint=north;size=15;" parent="1" vertex="1">
- <mxGeometry x="60" y="120" width="40" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="11" value="Ввод name1 и name2" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;size=0.06349206349206354;" parent="1" vertex="1">
- <mxGeometry y="150" width="160" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry">
- <Array as="points">
- <mxPoint x="150" y="195"/>
- <mxPoint x="150" y="210"/>
- <mxPoint x="125" y="210"/>
- </Array>
- </mxGeometry>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry">
- <Array as="points">
- <mxPoint x="10" y="195"/>
- <mxPoint x="10" y="320"/>
- <mxPoint x="80" y="320"/>
- </Array>
- </mxGeometry>
- </mxCell>
- <mxCell id="13" value="name1==name2" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="30" y="180" width="100" height="30" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry">
- <Array as="points">
- <mxPoint x="125" y="280"/>
- <mxPoint x="80" y="280"/>
- </Array>
- </mxGeometry>
- </mxCell>
- <mxCell id="15" value="<div>base* p = root.find(name1);</div>Base* add = new C1(p, name2);" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="30" y="230" width="190" height="30" as="geometry"/>
- </mxCell>
- <mxCell id="17" value="Нет" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
- <mxGeometry x="130" y="175" width="40" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="20" value="root.tree();" style="shape=process;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="45" y="355" width="70" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="22" value="INF" style="shape=cycle_end;whiteSpace=wrap;html=1;size=12;" parent="1" vertex="1">
- <mxGeometry x="55" y="290" width="50" height="20" as="geometry"/>
- </mxCell>
- <mxCell id="26" value="Да" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
- <mxGeometry x="10" y="170" width="30" height="20" as="geometry"/>
- </mxCell>
- <mxCell id="27" value="Конец" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="55" y="390" width="50" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="29" value="base(base* r, string n)" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="220" y="340" width="140" height="30" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="30" value="<div>name = n;</div>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="260" y="410" width="60" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="50" value="tree()" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="440" width="80" height="30" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="51" value="Вывод новой строки и имени объекта" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;size=0.030476190476189827;" parent="1" vertex="1">
- <mxGeometry x="410" y="110" width="140" height="30" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="53" value="Для всех объектов в векторе children" style="shape=cycle_begin;whiteSpace=wrap;html=1;portConstraint=south;sourcePortConstraint=north;size=13;" parent="1" vertex="1">
- <mxGeometry x="420" y="150" width="120" height="40" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="55" value="Вывод названия очередного объекта" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;size=0.09206349206349225;" parent="1" vertex="1">
- <mxGeometry x="410" y="200" width="140" height="40" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="57" value="" style="shape=cycle_end;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="420" y="250" width="120" height="20" as="geometry"/>
- </mxCell>
- <mxCell id="59" value="Возврат" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="450" y="410" width="60" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="62" value="Для всех объектов в векторе children" style="shape=cycle_begin;whiteSpace=wrap;html=1;portConstraint=south;sourcePortConstraint=north;size=13;" parent="1" vertex="1">
- <mxGeometry x="420" y="280" width="120" height="40" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="65" value="" style="shape=cycle_end;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="420" y="380" width="120" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="67" value="Для очередного объекта вызвать tree()" style="shape=process;whiteSpace=wrap;html=1;size=0.045238095238095105;" parent="1" vertex="1">
- <mxGeometry x="420" y="330" width="120" height="40" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="71" value="find(string fn)" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="250" width="100" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="72" value="name==fn" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="260" y="30" width="80" height="20" as="geometry"/>
- </mxCell>
- <mxCell id="73" value="return this;" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="320" y="50" width="80" height="20" as="geometry"/>
- </mxCell>
- <mxCell id="75" value="Да" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
- <mxGeometry x="340" y="20" width="30" height="20" as="geometry"/>
- </mxCell>
- <mxCell id="77" value="Нет" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
- <mxGeometry x="240" y="20" width="40" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry">
- <Array as="points">
- <mxPoint x="250" y="90"/>
- <mxPoint x="300" y="90"/>
- </Array>
- </mxGeometry>
- </mxCell>
- <mxCell id="78" value="base* b = nullptr;" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="200" y="60" width="100" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="81" value="Для всех объектов в векторе children" style="shape=cycle_begin;whiteSpace=wrap;html=1;portConstraint=south;sourcePortConstraint=north;size=13;" parent="1" vertex="1">
- <mxGeometry x="240" y="100" width="120" height="40" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="84" value="" style="shape=cycle_end;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="240" y="250" width="120" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="85" value="b=find(fn)" style="shape=process;whiteSpace=wrap;html=1;size=0.045238095238095105;" parent="1" vertex="1">
- <mxGeometry x="270" y="150" width="60" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry">
- <Array as="points">
- <mxPoint x="355" y="195"/>
- </Array>
- </mxGeometry>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="90" value="b != nullptr" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="260" y="180" width="80" height="30" as="geometry"/>
- </mxCell>
- <mxCell id="91" value="return b;" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="325" y="210" width="60" height="20" as="geometry"/>
- </mxCell>
- <mxCell id="94" value="Да" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
- <mxGeometry x="340" y="175" width="30" height="20" as="geometry"/>
- </mxCell>
- <mxCell id="96" value="Нет" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
- <mxGeometry x="240" y="175" width="40" height="20" as="geometry"/>
- </mxCell>
- <mxCell id="97" value="return nullptr;" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="260" y="280" width="80" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="101" value="base(base* r)" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="310" y="495" width="90" height="30" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="108" value="parent = r;" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="325" y="535" width="60" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry">
- <Array as="points">
- <mxPoint x="420" y="55"/>
- <mxPoint x="420" y="90"/>
- <mxPoint x="480" y="90"/>
- </Array>
- <mxPoint x="480.1111111111111" y="105" as="targetPoint"/>
- </mxGeometry>
- </mxCell>
- <mxCell id="123" value="Если нет потомков" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="440" y="40" width="80" height="30" as="geometry"/>
- </mxCell>
- <mxCell id="125" value="Возврат" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="500" y="75" width="60" height="20" as="geometry"/>
- </mxCell>
- <mxCell id="128" value="Да" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
- <mxGeometry x="520" y="35" width="30" height="20" as="geometry"/>
- </mxCell>
- <mxCell id="129" value="Нет" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
- <mxGeometry x="420" y="35" width="40" height="20" as="geometry"/>
- </mxCell>
- <mxCell id="131" value="Возврат" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="330" y="650" width="50" height="20" as="geometry"/>
- </mxCell>
- <mxCell id="133" value="Возврат" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="260" y="440" width="60" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="135" value="~Base()" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="132.5" y="510" width="55" height="30" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="139" value="Для всех объектов в векторе children" style="shape=cycle_begin;whiteSpace=wrap;html=1;portConstraint=south;sourcePortConstraint=north;size=13;" parent="1" vertex="1">
- <mxGeometry x="100" y="550" width="120" height="40" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry">
- <Array as="points">
- <mxPoint x="160" y="690"/>
- <mxPoint x="160" y="690"/>
- </Array>
- </mxGeometry>
- </mxCell>
- <mxCell id="142" value="" style="shape=cycle_end;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="100" y="650" width="120" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="147" value="Удалить данный объект" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="100" y="600" width="120" height="40" as="geometry"/>
- </mxCell>
- <mxCell id="150" value="Возврат" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="135" y="690" width="50" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="153" value="cout &lt;&lt; root.get_name();" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;size=0.055873015873015804;" parent="1" vertex="1">
- <mxGeometry x="5" y="330" width="150" height="15" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <mxCell id="157" value="base(r)" style="shape=process;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="260" y="380" width="60" height="20" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry">
- <Array as="points">
- <mxPoint x="295" y="580"/>
- <mxPoint x="295" y="640"/>
- <mxPoint x="355" y="640"/>
- </Array>
- </mxGeometry>
- </mxCell>
- <mxCell id="162" value="r != nullptr" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
- <mxGeometry x="315" y="566" width="80" height="28" as="geometry"/>
- </mxCell>
- <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">
- <mxGeometry relative="1" as="geometry">
- <Array as="points">
- <mxPoint x="420" y="640"/>
- <mxPoint x="355" y="640"/>
- </Array>
- </mxGeometry>
- </mxCell>
- <mxCell id="163" value="r-&gt;get_childs()-&gt;push_back(this);" style="shape=process;whiteSpace=wrap;html=1;size=0.021804511278195316;" parent="1" vertex="1">
- <mxGeometry x="325" y="610" width="190" height="20" as="geometry"/>
- </mxCell>
- <mxCell id="170" value="Нет" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
- <mxGeometry x="290" y="556" width="40" height="20" as="geometry"/>
- </mxCell>
- <mxCell id="171" value="Да" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;" parent="1" vertex="1">
- <mxGeometry x="395" y="558" width="30" height="20" as="geometry"/>
- </mxCell>
- </root>
- </mxGraphModel>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement