Skip to content

Commit

Permalink
Фикс переходов в шаблонах (kruzhok-team#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
L140-beep committed Mar 23, 2024
1 parent ec149a8 commit ecbc7ea
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
20 changes: 13 additions & 7 deletions resources/templates/arduino/blinker.graphml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<key id="dName" for="node" attr.name="name" attr.type="string"/>
<key id="dData" for="edge" attr.name="data" attr.type="string"/>
<key id="dData" for="node" attr.name="data" attr.type="string"/>
<key id="dNote" for="node" attr.name="data" attr.type="string"/>
<key id="dInitial" for="node" attr.name="initial" attr.type="string"/>
<key id="dGeometry" for="edge"/>
<key id="dGeometry" for="node"/>
Expand Down Expand Up @@ -52,28 +53,33 @@ timer1.start(1000)

<node id="diod2">
<data key="dName">Выключен</data>
<data key="dData">exit/
<data key="dData">entry/
LED1.off()
timer1.start(1000)
</data>
<data key="dGeometry" x="81" y="334"
width="450" height="95" />
</node>

<node id="commentX">
<data key="dNote">Включение и выключение лампочки по таймеру!</data>
<data key="dGeometry" x="640" y="114" />
</node>

<edge source="" target="LED1"></edge>
<edge source="" target="timer1"></edge>
<edge source="init" target="diod1"></edge>
<edge source="diod1" target="diod2">
<edge id="edge0" source="" target="LED1"></edge>
<edge id="edge1" source="" target="timer1"></edge>
<edge id="edge2" source="init" target="diod1"></edge>
<edge id="edge3" source="diod1" target="diod2">
<data key="dData">timer1.timeout/</data>
<data key="dColor">#F29727</data>
<data key="dGeometry" x="457" y="173"/>
</edge>

<edge source="diod2" target="diod1">
<edge id="edge4" source="diod2" target="diod1">
<data key="dData">timer1.timeout/</data>
<data key="dGeometry" x="16" y="175"/>
<data key="dColor">#F24C3D</data>
</edge>

</graph>
</graphml>
</graphml>
12 changes: 6 additions & 6 deletions resources/templates/bearloga/autoborder.graphml
Original file line number Diff line number Diff line change
Expand Up @@ -60,32 +60,32 @@ exit/

</data>
</node>
<edge source="init" target="n3"></edge>
<edge source="n0" target="n3">
<edge id="initTrans" source="init" target="n3"></edge>
<edge id="edge1" source="n0" target="n3">
<data key="dGeometry" x="-1493.4000000000024" y="835.9999999999997"></data>
<data key="dColor">#c81afd</data>
<data key="dData">АнализаторЦели.ЦельУничтожена/
</data>
</edge>
<edge source="n0" target="n3">
<edge id="edge2" source="n0" target="n3">
<data key="dGeometry" x="-1348.9999999999998" y="923.4000000000001"></data>
<data key="dColor">#438048</data>
<data key="dData">АнализаторЦели.ЦельПотеряна/
</data>
</edge>
<edge source="n3" target="n0::n1">
<edge id="edge3" source="n3" target="n0::n1">
<data key="dGeometry" x="-1098.2000000000003" y="665"></data>
<data key="dColor">#df2db6</data>
<data key="dData">Сенсор.ЦельПолучена/
</data>
</edge>
<edge source="n0::n1" target="n0::n2">
<edge id="edge4" source="n0::n1" target="n0::n2">
<data key="dGeometry" x="58.899999999999956" y="197.5999999999999"></data>
<data key="dColor">#f450c8</data>
<data key="dData">ОружиеЦелевое.ЦельВошлаВЗонуАтаки/
</data>
</edge>
<edge source="n0::n2" target="n0::n1">
<edge edge="edge5" source="n0::n2" target="n0::n1">
<data key="dGeometry" x="364.79999999999995" y="199.4999999999999"></data>
<data key="dColor">#7517fe</data>
<data key="dData">ОружиеЦелевое.ЦельВышлаИзЗоныАтаки/
Expand Down

0 comments on commit ecbc7ea

Please sign in to comment.