
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_e2c5e96f_3a5f_4259_84e4_13aee6cb2083 [id="id_e2c5e96f_3a5f_4259_84e4_13aee6cb2083#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_a0cbfec1_5824_4461_b44d_6fe176fd8b79 [id="id_a0cbfec1_5824_4461_b44d_6fe176fd8b79#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_ddce9b93_673c_4567_85f8_b51cb454bba6 [id="id_ddce9b93_673c_4567_85f8_b51cb454bba6#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_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f [id="id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f#While" pos="0.0,9997.1875!" height=0.5 width=2.7 fixedsize=true group="fun-main" 
    label="lugares +bilhetes >0" tooltip="lugares +bilhetes >0" shape="diamond" fillcolor="#ffd166" color="#8f6400" fontcolor="black"]
  
  true_dummy_up_id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f [pos="6.25,9997.1875!" shape=point width=0]
  false_dummy_up_id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f [pos="-2.5,9997.1875!" shape=point width=0]
  
  id_b2919da2_d424_44c9_bc18_6d0f5422bff8 [id="id_b2919da2_d424_44c9_bc18_6d0f5422bff8#Output" pos="6.25,9996.25!" height=0.4 width=3.1700000000000004 fixedsize=true group="id_833a42c3_9c6d_415a_b95f_462d943030e0"    label="\"Quantos bilhetes quer? \"" tooltip="\"Quantos bilhetes quer? \"" shape="trapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_ef2e769f_ad7e_42b1_8aa7_879dbfcb62c3 [id="id_ef2e769f_ad7e_42b1_8aa7_879dbfcb62c3#Input" pos="6.25,9995.3125!" height=0.4 width=1.08 fixedsize=true group="id_833a42c3_9c6d_415a_b95f_462d943030e0"    label="bilhetes" tooltip="bilhetes" shape="invtrapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1 [id="id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1#If" pos="6.25,9994.375!" height=0.5 width=2.37 fixedsize=true group="id_833a42c3_9c6d_415a_b95f_462d943030e0" 
    label="bilhetes<=lugares" tooltip="bilhetes<=lugares" shape="diamond" fillcolor="#ffd166" color="#8f6400" fontcolor="black"]
  
  true_dummy_up_id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1 [pos="8.75,9994.375!" shape=point width=0]
  false_dummy_up_id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1 [pos="3.75,9994.375!" shape=point width=0]
  
  id_8790147e_d9ae_4123_9f02_c2d182a0c7a5 [id="id_8790147e_d9ae_4123_9f02_c2d182a0c7a5#Assign" pos="8.75,9993.4375!" height=0.4 width=3.2800000000000002 fixedsize=true group="id_2ddee648_0749_4ace_9396_18f6cb55fc81"    label="lugares = lugares - bilhetes" tooltip="lugares = lugares - bilhetes" fillcolor="#002a3a" color="#001117" fontcolor="white"] 
  id_f3aafe70_1cee_4413_b27d_40691a4a4cf9 [id="id_f3aafe70_1cee_4413_b27d_40691a4a4cf9#Output" pos="8.75,9992.5!" height=0.4 width=3.9400000000000004 fixedsize=true group="id_2ddee648_0749_4ace_9396_18f6cb55fc81"    label="\"Restam \" +lugares +\" Lugares\"" tooltip="\"Restam \" +lugares +\" Lugares\"" shape="trapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_b958d387_477f_41e3_87d9_56efe9673fc0 [id="id_b958d387_477f_41e3_87d9_56efe9673fc0#Output" pos="3.75,9993.4375!" height=0.4 width=3.9400000000000004 fixedsize=true group="id_59912122_ef3d_4c69_8ac4_0d9f28f3ca88"    label="\"Restam \" +lugares +\" Lugares\"" tooltip="\"Restam \" +lugares +\" Lugares\"" shape="trapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  
  true_dummy_down_id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1 [ pos="8.75,9991.5625!" shape=point width=0]
  false_dummy_down_id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1 [ pos="3.75,9991.5625!" shape=point width=0]
  
  end_id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1 [id="end_id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1#IfEnd" class="flowrun-not-selectable" pos="6.25,9991.5625!" group="id_833a42c3_9c6d_415a_b95f_462d943030e0" fillcolor="#ffd166" color="#8f6400" fontcolor="black"
    label="" tooltip=" " shape="circle" fixedsize=true width=0.2 height=0.2]
  
  
  
  true_dummy_down_id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f [pos="6.25,9990.729166666666!" shape=point width=0]
  true_dummy_down_left_id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f [pos="0.0,9990.729166666666!" shape=point width=0]
  false_dummy_down_id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f [pos="-2.5,9990.625!" shape=point width=0]
  end_dummy_down_id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f [pos="0.0,9990.625!" group="fun-main" shape=point width=0]
  
  
  id_31594c96_d75b_45f2_8c15_e8083c008b0c [id="id_31594c96_d75b_45f2_8c15_e8083c008b0c#Output" pos="0.0,9989.6875!" height=0.4 width=1.52 fixedsize=true group="fun-main"    label="\"Esgotado\"" tooltip="\"Esgotado\"" shape="trapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_48e10154_f7ad_4071_a42f_9b63dc6a1590 [id="id_48e10154_f7ad_4071_a42f_9b63dc6a1590#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_e2c5e96f_3a5f_4259_84e4_13aee6cb2083:s -> id_a0cbfec1_5824_4461_b44d_6fe176fd8b79:n [id="id_e2c5e96f_3a5f_4259_84e4_13aee6cb2083@fun-main" tailtooltip=" " edgetooltip=" "]
  id_a0cbfec1_5824_4461_b44d_6fe176fd8b79:s -> id_ddce9b93_673c_4567_85f8_b51cb454bba6:n [id="id_a0cbfec1_5824_4461_b44d_6fe176fd8b79@fun-main" tailtooltip=" " edgetooltip=" "]
  id_ddce9b93_673c_4567_85f8_b51cb454bba6:s -> id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f:n [id="id_ddce9b93_673c_4567_85f8_b51cb454bba6@fun-main" tailtooltip=" " edgetooltip=" "]
  ## WHILE-TRUE
  id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f:e -> true_dummy_up_id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f [id="id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f@id_833a42c3_9c6d_415a_b95f_462d943030e0" tailtooltip=" " edgetooltip=" " arrowhead=none taillabel="true" fontcolor="forestgreen"]
  true_dummy_up_id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f -> id_b2919da2_d424_44c9_bc18_6d0f5422bff8:n [id="id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f@id_833a42c3_9c6d_415a_b95f_462d943030e0" tailtooltip=" " edgetooltip=" "]
  
  id_b2919da2_d424_44c9_bc18_6d0f5422bff8:s -> id_ef2e769f_ad7e_42b1_8aa7_879dbfcb62c3:n [id="id_b2919da2_d424_44c9_bc18_6d0f5422bff8@id_833a42c3_9c6d_415a_b95f_462d943030e0" tailtooltip=" " edgetooltip=" "]
  id_ef2e769f_ad7e_42b1_8aa7_879dbfcb62c3:s -> id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1:n [id="id_ef2e769f_ad7e_42b1_8aa7_879dbfcb62c3@id_833a42c3_9c6d_415a_b95f_462d943030e0" tailtooltip=" " edgetooltip=" "]
  ## IF-TRUE
  id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1:e -> true_dummy_up_id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1 [id="id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1@id_2ddee648_0749_4ace_9396_18f6cb55fc81" tailtooltip=" " edgetooltip=" " arrowhead=none taillabel="true" fontcolor="forestgreen"]
  true_dummy_up_id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1 -> id_8790147e_d9ae_4123_9f02_c2d182a0c7a5:n [id="id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1@id_2ddee648_0749_4ace_9396_18f6cb55fc81" tailtooltip=" " edgetooltip=" "]
  
  id_8790147e_d9ae_4123_9f02_c2d182a0c7a5:s -> id_f3aafe70_1cee_4413_b27d_40691a4a4cf9:n [id="id_8790147e_d9ae_4123_9f02_c2d182a0c7a5@id_2ddee648_0749_4ace_9396_18f6cb55fc81" tailtooltip=" " edgetooltip=" "]
  id_f3aafe70_1cee_4413_b27d_40691a4a4cf9:s -> true_dummy_down_id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1:n [id="id_f3aafe70_1cee_4413_b27d_40691a4a4cf9@id_2ddee648_0749_4ace_9396_18f6cb55fc81" tailtooltip=" " edgetooltip=" " arrowhead=none]
  
  true_dummy_down_id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1 -> end_id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1 [id="id_f3aafe70_1cee_4413_b27d_40691a4a4cf9@id_2ddee648_0749_4ace_9396_18f6cb55fc81" tailtooltip=" " edgetooltip=" "]
  
  
  ## IF-FALSE
  id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1:w -> false_dummy_up_id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1 [id="id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1@id_59912122_ef3d_4c69_8ac4_0d9f28f3ca88" tailtooltip=" " edgetooltip=" " arrowhead=none taillabel="false" fontcolor="red"]
  false_dummy_up_id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1 -> id_b958d387_477f_41e3_87d9_56efe9673fc0:n [id="id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1@id_59912122_ef3d_4c69_8ac4_0d9f28f3ca88" tailtooltip=" " edgetooltip=" "]
  
  id_b958d387_477f_41e3_87d9_56efe9673fc0:s -> false_dummy_down_id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1:n [id="id_b958d387_477f_41e3_87d9_56efe9673fc0@id_59912122_ef3d_4c69_8ac4_0d9f28f3ca88" tailtooltip=" " edgetooltip=" " arrowhead=none]
  
  false_dummy_down_id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1 -> end_id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1 [id="id_b958d387_477f_41e3_87d9_56efe9673fc0@id_59912122_ef3d_4c69_8ac4_0d9f28f3ca88" tailtooltip=" " edgetooltip=" "]
  
  ## IF-END
  end_id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1:s -> true_dummy_down_id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f:n [id="end_id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1@id_833a42c3_9c6d_415a_b95f_462d943030e0" tailtooltip=" " edgetooltip=" " arrowhead=none]
  
  
  
  true_dummy_down_id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f -> true_dummy_down_left_id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f [id="id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1@id_833a42c3_9c6d_415a_b95f_462d943030e0" tailtooltip=" " edgetooltip=" " arrowhead=none]
  true_dummy_down_left_id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f -> id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f:s [id="id_9a315fe4_4411_4ae5_b9dc_f0f6b26035b1@id_833a42c3_9c6d_415a_b95f_462d943030e0" tailtooltip=" " edgetooltip=" "]
  
  ## WHILE-FALSE
  id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f:w -> false_dummy_up_id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f [id="id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f@fun-main" tailtooltip=" " edgetooltip=" " arrowhead=none taillabel="false" fontcolor="red"]
  false_dummy_up_id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f -> false_dummy_down_id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f [id="id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f@fun-main" tailtooltip=" " edgetooltip=" " arrowhead=none]
  false_dummy_down_id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f -> end_dummy_down_id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f [id="id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f@fun-main" tailtooltip=" " edgetooltip=" " arrowhead=none]
  end_dummy_down_id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f -> id_31594c96_d75b_45f2_8c15_e8083c008b0c [id="id_6d9e2b99_64f5_4469_81cc_3f652f0b7c9f@fun-main" tailtooltip=" " edgetooltip=" "]
  
  
  id_31594c96_d75b_45f2_8c15_e8083c008b0c:s -> id_48e10154_f7ad_4071_a42f_9b63dc6a1590:n [id="id_31594c96_d75b_45f2_8c15_e8083c008b0c@fun-main" tailtooltip=" " edgetooltip=" "]

}
