Загрузка данных
<mxfile host="app.diagrams.net">
<diagram name="Activity" id="activity">
<mxGraphModel dx="800" dy="800" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="start" value="" style="ellipse;fillColor=#000000;strokeColor=#000000;" vertex="1" parent="1">
<mxGeometry x="380" y="20" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="a1" value="Выделение блока текста" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="320" y="80" width="160" height="50" as="geometry" />
</mxCell>
<mxCell id="d1" value="" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="370" y="160" width="60" height="50" as="geometry" />
</mxCell>
<mxCell id="a2" value="Получаем текст комментария" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="500" y="160" width="160" height="50" as="geometry" />
</mxCell>
<mxCell id="fork1" value="" style="line;strokeWidth=5;html=1;" vertex="1" parent="1">
<mxGeometry x="300" y="240" width="220" height="10" as="geometry" />
</mxCell>
<mxCell id="a3" value="Сопоставляем выделения с текстом" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="320" y="280" width="160" height="50" as="geometry" />
</mxCell>
<mxCell id="a4" value="Формируем ссылки на текст в книге" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="320" y="360" width="160" height="50" as="geometry" />
</mxCell>
<mxCell id="fork2" value="" style="line;strokeWidth=5;html=1;" vertex="1" parent="1">
<mxGeometry x="300" y="440" width="220" height="10" as="geometry" />
</mxCell>
<mxCell id="a5" value="Проверяем на пересечение с сохранёнными" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="120" y="480" width="160" height="50" as="geometry" />
</mxCell>
<mxCell id="d2" value="" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="170" y="560" width="60" height="50" as="geometry" />
</mxCell>
<mxCell id="a6" value="Корректируем ссылки" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="120" y="640" width="160" height="50" as="geometry" />
</mxCell>
<mxCell id="a7" value="С комментариями" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="450" y="480" width="160" height="50" as="geometry" />
</mxCell>
<mxCell id="join1" value="" style="line;strokeWidth=5;html=1;" vertex="1" parent="1">
<mxGeometry x="100" y="720" width="520" height="10" as="geometry" />
</mxCell>
<mxCell id="a8" value="Сохраняем" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="320" y="760" width="160" height="50" as="geometry" />
</mxCell>
<mxCell id="end" value="" style="ellipse;fillColor=#000000;strokeColor=#000000;" vertex="1" parent="1">
<mxGeometry x="380" y="840" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="enddot" value="" style="ellipse;fillColor=#FFFFFF;strokeColor=#000000;" vertex="1" parent="1">
<mxGeometry x="385" y="845" width="20" height="20" as="geometry" />
</mxCell>
<!-- связи -->
<mxCell id="e1" edge="1" parent="1" source="start" target="a1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="e2" edge="1" parent="1" source="a1" target="d1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="e3" edge="1" parent="1" source="d1" target="a2"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="e4" edge="1" parent="1" source="d1" target="fork1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="e5" edge="1" parent="1" source="a2" target="fork1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="e6" edge="1" parent="1" source="fork1" target="a3"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="e7" edge="1" parent="1" source="a3" target="a4"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="e8" edge="1" parent="1" source="a4" target="fork2"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="e9" edge="1" parent="1" source="fork2" target="a5"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="e10" edge="1" parent="1" source="fork2" target="a7"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="e11" edge="1" parent="1" source="a5" target="d2"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="e12" edge="1" parent="1" source="d2" target="a6"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="e13" edge="1" parent="1" source="a6" target="join1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="e14" edge="1" parent="1" source="a7" target="join1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="e15" edge="1" parent="1" source="join1" target="a8"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="e16" edge="1" parent="1" source="a8" target="end"><mxGeometry relative="1" as="geometry"/></mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>