
digraph {
  bgcolor="transparent"

  node [penwidth=0.5 fontsize="12" shape="box" style="filled" fontcolor="white" fontname="Courier New"]
  edge [penwidth=2 fontsize="10" color="#0A1931" arrowsize=0.8 fontname="Courier New"]

#########
# NODES #
#########
  id_6300392e_a676_45bc_ab8f_da223a50bc29 [id="id_6300392e_a676_45bc_ab8f_da223a50bc29#Begin" pos="0.0,10000.0!" height=0.4 width=1.0 fixedsize=true group="fun-main"    label="Begin" tooltip="Begin" shape="ellipse" fillcolor="#8de4ff" color="#00799e" fontcolor="#982b13"] 
  id_b4a2a2af_6038_45db_ab96_760452ec316e [id="id_b4a2a2af_6038_45db_ab96_760452ec316e#Declare" pos="0.0,9999.0625!" height=0.4 width=1.52 fixedsize=true group="fun-main"    label="lugares = 20" tooltip="lugares: Integer = 20" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_43c41a04_4975_408d_bf7a_8fa4c2ae7dbf [id="id_43c41a04_4975_408d_bf7a_8fa4c2ae7dbf#Declare" pos="0.0,9998.125!" height=0.4 width=1.52 fixedsize=true group="fun-main"    label="bilhetes = 0" tooltip="bilhetes: Integer = 0" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_2e6e2855_7c7b_448e_99ae_12c742b1d22a [id="id_2e6e2855_7c7b_448e_99ae_12c742b1d22a#While" pos="0.0,9997.1875!" height=0.5 width=1.71 fixedsize=true group="fun-main" 
    label="lugares > 0" tooltip="lugares > 0" shape="diamond" fillcolor="#ffd166" color="#8f6400" fontcolor="black"]
  
  true_dummy_up_id_2e6e2855_7c7b_448e_99ae_12c742b1d22a [pos="6.25,9997.1875!" shape=point width=0]
  false_dummy_up_id_2e6e2855_7c7b_448e_99ae_12c742b1d22a [pos="-1.25,9997.1875!" shape=point width=0]
  
  id_485d397b_368f_4e13_a0cd_06d72f817e7b [id="id_485d397b_368f_4e13_a0cd_06d72f817e7b#Output" pos="6.25,9996.25!" height=0.4 width=2.5100000000000002 fixedsize=true group="id_31390165_3717_4e4f_ac2a_b80245382705"    label="\"Quantos bilhetes?\"" tooltip="\"Quantos bilhetes?\"" shape="trapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_fd251bb8_0114_470f_8c0a_d2bd0fcd7f33 [id="id_fd251bb8_0114_470f_8c0a_d2bd0fcd7f33#Input" pos="6.25,9995.3125!" height=0.4 width=1.08 fixedsize=true group="id_31390165_3717_4e4f_ac2a_b80245382705"    label="bilhetes" tooltip="bilhetes" shape="invtrapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_466a9349_09ac_4a09_8f52_cfd56cf923be [id="id_466a9349_09ac_4a09_8f52_cfd56cf923be#If" pos="6.25,9994.375!" height=0.5 width=2.59 fixedsize=true group="id_31390165_3717_4e4f_ac2a_b80245382705" 
    label="bilhetes <= lugares" tooltip="bilhetes <= lugares" shape="diamond" fillcolor="#ffd166" color="#8f6400" fontcolor="black"]
  
  true_dummy_up_id_466a9349_09ac_4a09_8f52_cfd56cf923be [pos="10.0,9994.375!" shape=point width=0]
  false_dummy_up_id_466a9349_09ac_4a09_8f52_cfd56cf923be [pos="2.5,9994.375!" shape=point width=0]
  
  id_2fb7c8be_f67a_43d0_9d32_da94807351c1 [id="id_2fb7c8be_f67a_43d0_9d32_da94807351c1#Assign" pos="10.0,9993.4375!" height=0.4 width=3.2800000000000002 fixedsize=true group="id_e3847df3_591e_415c_a3db_aff4c21209ac"    label="lugares = lugares - bilhetes" tooltip="lugares = lugares - bilhetes" fillcolor="#002a3a" color="#001117" fontcolor="white"] 
  id_8e0fd7f2_43c8_4fa6_a428_57ea96ce8f75 [id="id_8e0fd7f2_43c8_4fa6_a428_57ea96ce8f75#Output" pos="10.0,9992.5!" height=0.4 width=4.05 fixedsize=true group="id_e3847df3_591e_415c_a3db_aff4c21209ac"    label="\"Restam:\" + lugares + \"lugares\"" tooltip="\"Restam:\" + lugares + \"lugares\"" shape="trapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_c1194661_70d5_49c6_a93a_6f0011339bf9 [id="id_c1194661_70d5_49c6_a93a_6f0011339bf9#Output" pos="2.5,9993.4375!" height=0.4 width=4.2700000000000005 fixedsize=true group="id_81a76bc8_de0c_4662_9e54_246a93ddb989"    label="\"Só restam\" + lugares + \"lugares\"" tooltip="\"Só restam\" + lugares + \"lugares\"" shape="trapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  
  true_dummy_down_id_466a9349_09ac_4a09_8f52_cfd56cf923be [ pos="10.0,9991.5625!" shape=point width=0]
  false_dummy_down_id_466a9349_09ac_4a09_8f52_cfd56cf923be [ pos="2.5,9991.5625!" shape=point width=0]
  
  end_id_466a9349_09ac_4a09_8f52_cfd56cf923be [id="end_id_466a9349_09ac_4a09_8f52_cfd56cf923be#IfEnd" class="flowrun-not-selectable" pos="6.25,9991.5625!" group="id_31390165_3717_4e4f_ac2a_b80245382705" fillcolor="#ffd166" color="#8f6400" fontcolor="black"
    label="" tooltip=" " shape="circle" fixedsize=true width=0.2 height=0.2]
  
  
  
  true_dummy_down_id_2e6e2855_7c7b_448e_99ae_12c742b1d22a [pos="6.25,9990.729166666666!" shape=point width=0]
  true_dummy_down_left_id_2e6e2855_7c7b_448e_99ae_12c742b1d22a [pos="0.0,9990.729166666666!" shape=point width=0]
  false_dummy_down_id_2e6e2855_7c7b_448e_99ae_12c742b1d22a [pos="-1.25,9990.625!" shape=point width=0]
  end_dummy_down_id_2e6e2855_7c7b_448e_99ae_12c742b1d22a [pos="0.0,9990.625!" group="fun-main" shape=point width=0]
  
  
  id_8bce4eca_2c45_43ba_b7a2_b9155fcab798 [id="id_8bce4eca_2c45_43ba_b7a2_b9155fcab798#Output" pos="0.0,9989.6875!" height=0.4 width=1.63 fixedsize=true group="fun-main"    label="\"Esgotado!\"" tooltip="\"Esgotado!\"" shape="trapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_e1659c8d_aa4b_48f5_8995_d688e482d0d6 [id="id_e1659c8d_aa4b_48f5_8995_d688e482d0d6#Return" pos="0.0,9988.75!" height=0.4 width=1.0 fixedsize=true group="fun-main"    label="End" tooltip="End" shape="ellipse" fillcolor="#8de4ff" color="#00799e" fontcolor="#982b13"] 

#########
# EDGES #
#########
  id_6300392e_a676_45bc_ab8f_da223a50bc29:s -> id_b4a2a2af_6038_45db_ab96_760452ec316e:n [id="id_6300392e_a676_45bc_ab8f_da223a50bc29@fun-main" tailtooltip=" " edgetooltip=" "]
  id_b4a2a2af_6038_45db_ab96_760452ec316e:s -> id_43c41a04_4975_408d_bf7a_8fa4c2ae7dbf:n [id="id_b4a2a2af_6038_45db_ab96_760452ec316e@fun-main" tailtooltip=" " edgetooltip=" "]
  id_43c41a04_4975_408d_bf7a_8fa4c2ae7dbf:s -> id_2e6e2855_7c7b_448e_99ae_12c742b1d22a:n [id="id_43c41a04_4975_408d_bf7a_8fa4c2ae7dbf@fun-main" tailtooltip=" " edgetooltip=" "]
  ## WHILE-TRUE
  id_2e6e2855_7c7b_448e_99ae_12c742b1d22a:e -> true_dummy_up_id_2e6e2855_7c7b_448e_99ae_12c742b1d22a [id="id_2e6e2855_7c7b_448e_99ae_12c742b1d22a@id_31390165_3717_4e4f_ac2a_b80245382705" tailtooltip=" " edgetooltip=" " arrowhead=none taillabel="true" fontcolor="forestgreen"]
  true_dummy_up_id_2e6e2855_7c7b_448e_99ae_12c742b1d22a -> id_485d397b_368f_4e13_a0cd_06d72f817e7b:n [id="id_2e6e2855_7c7b_448e_99ae_12c742b1d22a@id_31390165_3717_4e4f_ac2a_b80245382705" tailtooltip=" " edgetooltip=" "]
  
  id_485d397b_368f_4e13_a0cd_06d72f817e7b:s -> id_fd251bb8_0114_470f_8c0a_d2bd0fcd7f33:n [id="id_485d397b_368f_4e13_a0cd_06d72f817e7b@id_31390165_3717_4e4f_ac2a_b80245382705" tailtooltip=" " edgetooltip=" "]
  id_fd251bb8_0114_470f_8c0a_d2bd0fcd7f33:s -> id_466a9349_09ac_4a09_8f52_cfd56cf923be:n [id="id_fd251bb8_0114_470f_8c0a_d2bd0fcd7f33@id_31390165_3717_4e4f_ac2a_b80245382705" tailtooltip=" " edgetooltip=" "]
  ## IF-TRUE
  id_466a9349_09ac_4a09_8f52_cfd56cf923be:e -> true_dummy_up_id_466a9349_09ac_4a09_8f52_cfd56cf923be [id="id_466a9349_09ac_4a09_8f52_cfd56cf923be@id_e3847df3_591e_415c_a3db_aff4c21209ac" tailtooltip=" " edgetooltip=" " arrowhead=none taillabel="true" fontcolor="forestgreen"]
  true_dummy_up_id_466a9349_09ac_4a09_8f52_cfd56cf923be -> id_2fb7c8be_f67a_43d0_9d32_da94807351c1:n [id="id_466a9349_09ac_4a09_8f52_cfd56cf923be@id_e3847df3_591e_415c_a3db_aff4c21209ac" tailtooltip=" " edgetooltip=" "]
  
  id_2fb7c8be_f67a_43d0_9d32_da94807351c1:s -> id_8e0fd7f2_43c8_4fa6_a428_57ea96ce8f75:n [id="id_2fb7c8be_f67a_43d0_9d32_da94807351c1@id_e3847df3_591e_415c_a3db_aff4c21209ac" tailtooltip=" " edgetooltip=" "]
  id_8e0fd7f2_43c8_4fa6_a428_57ea96ce8f75:s -> true_dummy_down_id_466a9349_09ac_4a09_8f52_cfd56cf923be:n [id="id_8e0fd7f2_43c8_4fa6_a428_57ea96ce8f75@id_e3847df3_591e_415c_a3db_aff4c21209ac" tailtooltip=" " edgetooltip=" " arrowhead=none]
  
  true_dummy_down_id_466a9349_09ac_4a09_8f52_cfd56cf923be -> end_id_466a9349_09ac_4a09_8f52_cfd56cf923be [id="id_8e0fd7f2_43c8_4fa6_a428_57ea96ce8f75@id_e3847df3_591e_415c_a3db_aff4c21209ac" tailtooltip=" " edgetooltip=" "]
  
  
  ## IF-FALSE
  id_466a9349_09ac_4a09_8f52_cfd56cf923be:w -> false_dummy_up_id_466a9349_09ac_4a09_8f52_cfd56cf923be [id="id_466a9349_09ac_4a09_8f52_cfd56cf923be@id_81a76bc8_de0c_4662_9e54_246a93ddb989" tailtooltip=" " edgetooltip=" " arrowhead=none taillabel="false" fontcolor="red"]
  false_dummy_up_id_466a9349_09ac_4a09_8f52_cfd56cf923be -> id_c1194661_70d5_49c6_a93a_6f0011339bf9:n [id="id_466a9349_09ac_4a09_8f52_cfd56cf923be@id_81a76bc8_de0c_4662_9e54_246a93ddb989" tailtooltip=" " edgetooltip=" "]
  
  id_c1194661_70d5_49c6_a93a_6f0011339bf9:s -> false_dummy_down_id_466a9349_09ac_4a09_8f52_cfd56cf923be:n [id="id_c1194661_70d5_49c6_a93a_6f0011339bf9@id_81a76bc8_de0c_4662_9e54_246a93ddb989" tailtooltip=" " edgetooltip=" " arrowhead=none]
  
  false_dummy_down_id_466a9349_09ac_4a09_8f52_cfd56cf923be -> end_id_466a9349_09ac_4a09_8f52_cfd56cf923be [id="id_c1194661_70d5_49c6_a93a_6f0011339bf9@id_81a76bc8_de0c_4662_9e54_246a93ddb989" tailtooltip=" " edgetooltip=" "]
  
  ## IF-END
  end_id_466a9349_09ac_4a09_8f52_cfd56cf923be:s -> true_dummy_down_id_2e6e2855_7c7b_448e_99ae_12c742b1d22a:n [id="end_id_466a9349_09ac_4a09_8f52_cfd56cf923be@id_31390165_3717_4e4f_ac2a_b80245382705" tailtooltip=" " edgetooltip=" " arrowhead=none]
  
  
  
  true_dummy_down_id_2e6e2855_7c7b_448e_99ae_12c742b1d22a -> true_dummy_down_left_id_2e6e2855_7c7b_448e_99ae_12c742b1d22a [id="id_466a9349_09ac_4a09_8f52_cfd56cf923be@id_31390165_3717_4e4f_ac2a_b80245382705" tailtooltip=" " edgetooltip=" " arrowhead=none]
  true_dummy_down_left_id_2e6e2855_7c7b_448e_99ae_12c742b1d22a -> id_2e6e2855_7c7b_448e_99ae_12c742b1d22a:s [id="id_466a9349_09ac_4a09_8f52_cfd56cf923be@id_31390165_3717_4e4f_ac2a_b80245382705" tailtooltip=" " edgetooltip=" "]
  
  ## WHILE-FALSE
  id_2e6e2855_7c7b_448e_99ae_12c742b1d22a:w -> false_dummy_up_id_2e6e2855_7c7b_448e_99ae_12c742b1d22a [id="id_2e6e2855_7c7b_448e_99ae_12c742b1d22a@fun-main" tailtooltip=" " edgetooltip=" " arrowhead=none taillabel="false" fontcolor="red"]
  false_dummy_up_id_2e6e2855_7c7b_448e_99ae_12c742b1d22a -> false_dummy_down_id_2e6e2855_7c7b_448e_99ae_12c742b1d22a [id="id_2e6e2855_7c7b_448e_99ae_12c742b1d22a@fun-main" tailtooltip=" " edgetooltip=" " arrowhead=none]
  false_dummy_down_id_2e6e2855_7c7b_448e_99ae_12c742b1d22a -> end_dummy_down_id_2e6e2855_7c7b_448e_99ae_12c742b1d22a [id="id_2e6e2855_7c7b_448e_99ae_12c742b1d22a@fun-main" tailtooltip=" " edgetooltip=" " arrowhead=none]
  end_dummy_down_id_2e6e2855_7c7b_448e_99ae_12c742b1d22a -> id_8bce4eca_2c45_43ba_b7a2_b9155fcab798 [id="id_2e6e2855_7c7b_448e_99ae_12c742b1d22a@fun-main" tailtooltip=" " edgetooltip=" "]
  
  
  id_8bce4eca_2c45_43ba_b7a2_b9155fcab798:s -> id_e1659c8d_aa4b_48f5_8995_d688e482d0d6:n [id="id_8bce4eca_2c45_43ba_b7a2_b9155fcab798@fun-main" tailtooltip=" " edgetooltip=" "]

}
