v 0.2.0
[flowchart-guider:flowchart-guider.git] / demos / Řazení prvků v poli.fcg
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE fcg>
3 <fcg version="0.2.0">
4     <document lastID="28" lastContinueNum="1" canvasHeight="2000" canvasWidth="4000" userBackgroundColor="#ffffff" userLineColor="#5a5a5a" circleColor="#ff0000" selectedItemBorderColor="#008080" selectedItemColor1="#c0ffff" selectedItemColor2="#00ffff" selectedItemTextColor="#000000" defaultItemBorderColor="#624851" defaultItemColor1="#a47072" defaultItemColor2="#4b2a31" defaultItemTextColor="#ffffff" defaultItemTextSize="10" activeItemBorderColor="#420000" activeItemColor1="#ffd2d2" activeItemColor2="#980000" activeItemTextColor="#ffffff" stepTimerInterval="200"/>
5     <item id="0" itemType="6" width="340" height="60" x="1930" y="840" text="Řazení prvků v poli" userItemColor1="#9194b3" userItemColor2="#5a597d" userBorderColor="#404049" userTextColor="#ffffff" conditionType="0" dest_p="-1" dest_m="-1" fontSize="22" comment=""/>
6     <item id="1" itemType="1" width="160" height="60" x="1710" y="840" text="Start" userItemColor1="#b8ba83" userItemColor2="#9fa474" userBorderColor="#52553c" userTextColor="#ffffff" conditionType="0" dest_p="13" dest_m="-1" fontSize="10" comment=""/>
7     <item id="13" itemType="0" width="160" height="60" x="1710" y="900" text="pole = Array(); i=0;" userItemColor1="#9194b3" userItemColor2="#5a597d" userBorderColor="#404049" userTextColor="#ffffff" conditionType="0" dest_p="14" dest_m="-1" fontSize="10" comment=""/>
8     <item id="14" itemType="3" width="200" height="80" x="1690" y="970" text="i&lt;10" userItemColor1="#9194b3" userItemColor2="#5a597d" userBorderColor="#404049" userTextColor="#ffffff" conditionType="1" dest_p="15" dest_m="18" fontSize="10" comment=""/>
9     <item id="15" itemType="0" width="300" height="60" x="1640" y="1050" text="pole[i] = Math.round(Math.random() * 100); i++;" userItemColor1="#9194b3" userItemColor2="#5a597d" userBorderColor="#404049" userTextColor="#ffffff" conditionType="0" dest_p="14" dest_m="-1" fontSize="10" comment=""/>
10     <item id="16" itemType="3" width="180" height="80" x="1970" y="1100" text="i&lt;9" userItemColor1="#92a081" userItemColor2="#6e8a6c" userBorderColor="#51594c" userTextColor="#ffffff" conditionType="5" dest_p="21" dest_m="26" fontSize="10" comment=""/>
11     <item id="17" itemType="0" width="360" height="60" x="1880" y="1440" text="cache = pole[i]; pole[i] = pole[nejmensi]; pole[nejmensi]=cache;" userItemColor1="#ffffff" userItemColor2="#c7c7c7" userBorderColor="#727272" userTextColor="#232323" conditionType="0" dest_p="24" dest_m="-1" fontSize="10" comment=""/>
12     <item id="18" itemType="0" width="270" height="60" x="1930" y="1010" text="i=0;" userItemColor1="#92a081" userItemColor2="#6e8a6c" userBorderColor="#51594c" userTextColor="#ffffff" conditionType="0" dest_p="16" dest_m="-1" fontSize="10" comment=""/>
13     <item id="19" itemType="3" width="200" height="80" x="1960" y="1300" text="j&lt;10" userItemColor1="#eecc9d" userItemColor2="#c09465" userBorderColor="#634022" userTextColor="#ffffff" conditionType="0" dest_p="22" dest_m="17" fontSize="10" comment=""/>
14     <item id="20" itemType="0" width="160" height="60" x="1980" y="1240" text="j = i+1" userItemColor1="#eecc9d" userItemColor2="#c09465" userBorderColor="#634022" userTextColor="#ffffff" conditionType="0" dest_p="19" dest_m="-1" fontSize="10" comment=""/>
15     <item id="21" itemType="0" width="160" height="60" x="1980" y="1180" text="nejmensi = i" userItemColor1="#ffffff" userItemColor2="#c7c7c7" userBorderColor="#727272" userTextColor="#232323" conditionType="0" dest_p="20" dest_m="-1" fontSize="10" comment=""/>
16     <item id="22" itemType="3" width="250" height="80" x="2210" y="1340" text="pole[j] &lt; pole[nejmensi]" userItemColor1="#afafaf" userItemColor2="#636363" userBorderColor="#464646" userTextColor="#ffffff" conditionType="0" dest_p="25" dest_m="23" fontSize="10" comment=""/>
17     <item id="23" itemType="0" width="160" height="60" x="2250" y="1440" text="j++;" userItemColor1="#eecc9d" userItemColor2="#c09465" userBorderColor="#634022" userTextColor="#ffffff" conditionType="0" dest_p="19" dest_m="-1" fontSize="10" comment=""/>
18     <item id="24" itemType="0" width="160" height="60" x="1980" y="1500" text="i++" userItemColor1="#92a081" userItemColor2="#6e8a6c" userBorderColor="#51594c" userTextColor="#ffffff" conditionType="0" dest_p="16" dest_m="-1" fontSize="10" comment=""/>
19     <item id="25" itemType="0" width="160" height="60" x="2430" y="1380" text="nejmensi = j" userItemColor1="#ffffff" userItemColor2="#c7c7c7" userBorderColor="#727272" userTextColor="#232323" conditionType="0" dest_p="23" dest_m="-1" fontSize="10" comment=""/>
20     <item id="26" itemType="2" width="160" height="60" x="1720" y="1140" text="Konec" userItemColor1="#ba7a7a" userItemColor2="#a47676" userBorderColor="#553c3c" userTextColor="#ffffff" conditionType="0" dest_p="-1" dest_m="-1" fontSize="10" comment=""/>
21     <item id="27" itemType="6" width="340" height="60" x="1940" y="870" text="... přímým výběrem" userItemColor1="#9194b3" userItemColor2="#5a597d" userBorderColor="#404049" userTextColor="#ffffff" conditionType="0" dest_p="-1" dest_m="-1" fontSize="14" comment=""/>
22 </fcg>