
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_431c44a7_a725_4eb0_9f0a_4d8f16226fae [id="id_431c44a7_a725_4eb0_9f0a_4d8f16226fae#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_cc65a97f_cadc_433b_8a65_4267e1444488 [id="id_cc65a97f_cadc_433b_8a65_4267e1444488#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_8c3e4b6b_df19_4b35_b89a_00f55266eb26 [id="id_8c3e4b6b_df19_4b35_b89a_00f55266eb26#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_98618118_9f86_4d9d_bff5_9cf4e8272723 [id="id_98618118_9f86_4d9d_bff5_9cf4e8272723#While" pos="0.0,9997.1875!" height=0.5 width=1.49 fixedsize=true group="fun-main" 
    label="lugares>0" tooltip="lugares>0" shape="diamond" fillcolor="#ffd166" color="#8f6400" fontcolor="black"]
  
  true_dummy_up_id_98618118_9f86_4d9d_bff5_9cf4e8272723 [pos="8.75,9997.1875!" shape=point width=0]
  false_dummy_up_id_98618118_9f86_4d9d_bff5_9cf4e8272723 [pos="-1.25,9997.1875!" shape=point width=0]
  
  id_c9e01764_89a2_4b07_bbfc_c23697613232 [id="id_c9e01764_89a2_4b07_bbfc_c23697613232#Output" pos="8.75,9996.25!" height=0.4 width=3.1700000000000004 fixedsize=true group="id_64538ec4_940b_4545_9b20_ecb02d4261f1"    label="\"Quanto bilhetes quere? \"" tooltip="\"Quanto bilhetes quere? \"" shape="trapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_12ce5ab8_a88f_4e11_b217_5bb19905ef54 [id="id_12ce5ab8_a88f_4e11_b217_5bb19905ef54#Input" pos="8.75,9995.3125!" height=0.4 width=1.08 fixedsize=true group="id_64538ec4_940b_4545_9b20_ecb02d4261f1"    label="bilhetes" tooltip="bilhetes" shape="invtrapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_c8efabab_b225_4fea_867d_0f9c1e140052 [id="id_c8efabab_b225_4fea_867d_0f9c1e140052#If" pos="8.75,9994.375!" height=0.5 width=2.59 fixedsize=true group="id_64538ec4_940b_4545_9b20_ecb02d4261f1" 
    label="bilhetes <= lugares" tooltip="bilhetes <= lugares" shape="diamond" fillcolor="#ffd166" color="#8f6400" fontcolor="black"]
  
  true_dummy_up_id_c8efabab_b225_4fea_867d_0f9c1e140052 [pos="12.5,9994.375!" shape=point width=0]
  false_dummy_up_id_c8efabab_b225_4fea_867d_0f9c1e140052 [pos="3.75,9994.375!" shape=point width=0]
  
  id_25438b9e_498b_4b8c_aa74_97ea8f141e65 [id="id_25438b9e_498b_4b8c_aa74_97ea8f141e65#Assign" pos="12.5,9993.4375!" height=0.4 width=3.2800000000000002 fixedsize=true group="id_ea999630_469d_4292_bada_a01751f24cd1"    label="lugares = lugares - bilhetes" tooltip="lugares = lugares - bilhetes" fillcolor="#002a3a" color="#001117" fontcolor="white"] 
  id_e0974a9b_db6c_4aec_b236_d9eabd785054 [id="id_e0974a9b_db6c_4aec_b236_d9eabd785054#Output" pos="12.5,9992.5!" height=0.4 width=4.2700000000000005 fixedsize=true group="id_ea999630_469d_4292_bada_a01751f24cd1"    label="\"restam: \" + lugares + \" lugares\"" tooltip="\"restam: \" + lugares + \" lugares\"" shape="trapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_bf956d04_0fe3_4858_b059_1c47ca325e7b [id="id_bf956d04_0fe3_4858_b059_1c47ca325e7b#Output" pos="3.75,9993.4375!" height=0.4 width=4.6000000000000005 fixedsize=true group="id_75beea3b_6995_49be_b48a_97b0762a0855"    label="\"so restam: \" + lugares + \" lugares\"" tooltip="\"so restam: \" + lugares + \" lugares\"" shape="trapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  
  true_dummy_down_id_c8efabab_b225_4fea_867d_0f9c1e140052 [ pos="12.5,9991.5625!" shape=point width=0]
  false_dummy_down_id_c8efabab_b225_4fea_867d_0f9c1e140052 [ pos="3.75,9991.5625!" shape=point width=0]
  
  end_id_c8efabab_b225_4fea_867d_0f9c1e140052 [id="end_id_c8efabab_b225_4fea_867d_0f9c1e140052#IfEnd" class="flowrun-not-selectable" pos="8.75,9991.5625!" group="id_64538ec4_940b_4545_9b20_ecb02d4261f1" fillcolor="#ffd166" color="#8f6400" fontcolor="black"
    label="" tooltip=" " shape="circle" fixedsize=true width=0.2 height=0.2]
  
  
  
  true_dummy_down_id_98618118_9f86_4d9d_bff5_9cf4e8272723 [pos="8.75,9990.729166666666!" shape=point width=0]
  true_dummy_down_left_id_98618118_9f86_4d9d_bff5_9cf4e8272723 [pos="0.0,9990.729166666666!" shape=point width=0]
  false_dummy_down_id_98618118_9f86_4d9d_bff5_9cf4e8272723 [pos="-1.25,9990.625!" shape=point width=0]
  end_dummy_down_id_98618118_9f86_4d9d_bff5_9cf4e8272723 [pos="0.0,9990.625!" group="fun-main" shape=point width=0]
  
  
  id_97fa4a88_6c62_4065_8c6f_596f506c92f6 [id="id_97fa4a88_6c62_4065_8c6f_596f506c92f6#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_020e651c_8e9a_4ad2_8c0e_3fef0ce08f60 [id="id_020e651c_8e9a_4ad2_8c0e_3fef0ce08f60#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_431c44a7_a725_4eb0_9f0a_4d8f16226fae:s -> id_cc65a97f_cadc_433b_8a65_4267e1444488:n [id="id_431c44a7_a725_4eb0_9f0a_4d8f16226fae@fun-main" tailtooltip=" " edgetooltip=" "]
  id_cc65a97f_cadc_433b_8a65_4267e1444488:s -> id_8c3e4b6b_df19_4b35_b89a_00f55266eb26:n [id="id_cc65a97f_cadc_433b_8a65_4267e1444488@fun-main" tailtooltip=" " edgetooltip=" "]
  id_8c3e4b6b_df19_4b35_b89a_00f55266eb26:s -> id_98618118_9f86_4d9d_bff5_9cf4e8272723:n [id="id_8c3e4b6b_df19_4b35_b89a_00f55266eb26@fun-main" tailtooltip=" " edgetooltip=" "]
  ## WHILE-TRUE
  id_98618118_9f86_4d9d_bff5_9cf4e8272723:e -> true_dummy_up_id_98618118_9f86_4d9d_bff5_9cf4e8272723 [id="id_98618118_9f86_4d9d_bff5_9cf4e8272723@id_64538ec4_940b_4545_9b20_ecb02d4261f1" tailtooltip=" " edgetooltip=" " arrowhead=none taillabel="true" fontcolor="forestgreen"]
  true_dummy_up_id_98618118_9f86_4d9d_bff5_9cf4e8272723 -> id_c9e01764_89a2_4b07_bbfc_c23697613232:n [id="id_98618118_9f86_4d9d_bff5_9cf4e8272723@id_64538ec4_940b_4545_9b20_ecb02d4261f1" tailtooltip=" " edgetooltip=" "]
  
  id_c9e01764_89a2_4b07_bbfc_c23697613232:s -> id_12ce5ab8_a88f_4e11_b217_5bb19905ef54:n [id="id_c9e01764_89a2_4b07_bbfc_c23697613232@id_64538ec4_940b_4545_9b20_ecb02d4261f1" tailtooltip=" " edgetooltip=" "]
  id_12ce5ab8_a88f_4e11_b217_5bb19905ef54:s -> id_c8efabab_b225_4fea_867d_0f9c1e140052:n [id="id_12ce5ab8_a88f_4e11_b217_5bb19905ef54@id_64538ec4_940b_4545_9b20_ecb02d4261f1" tailtooltip=" " edgetooltip=" "]
  ## IF-TRUE
  id_c8efabab_b225_4fea_867d_0f9c1e140052:e -> true_dummy_up_id_c8efabab_b225_4fea_867d_0f9c1e140052 [id="id_c8efabab_b225_4fea_867d_0f9c1e140052@id_ea999630_469d_4292_bada_a01751f24cd1" tailtooltip=" " edgetooltip=" " arrowhead=none taillabel="true" fontcolor="forestgreen"]
  true_dummy_up_id_c8efabab_b225_4fea_867d_0f9c1e140052 -> id_25438b9e_498b_4b8c_aa74_97ea8f141e65:n [id="id_c8efabab_b225_4fea_867d_0f9c1e140052@id_ea999630_469d_4292_bada_a01751f24cd1" tailtooltip=" " edgetooltip=" "]
  
  id_25438b9e_498b_4b8c_aa74_97ea8f141e65:s -> id_e0974a9b_db6c_4aec_b236_d9eabd785054:n [id="id_25438b9e_498b_4b8c_aa74_97ea8f141e65@id_ea999630_469d_4292_bada_a01751f24cd1" tailtooltip=" " edgetooltip=" "]
  id_e0974a9b_db6c_4aec_b236_d9eabd785054:s -> true_dummy_down_id_c8efabab_b225_4fea_867d_0f9c1e140052:n [id="id_e0974a9b_db6c_4aec_b236_d9eabd785054@id_ea999630_469d_4292_bada_a01751f24cd1" tailtooltip=" " edgetooltip=" " arrowhead=none]
  
  true_dummy_down_id_c8efabab_b225_4fea_867d_0f9c1e140052 -> end_id_c8efabab_b225_4fea_867d_0f9c1e140052 [id="id_e0974a9b_db6c_4aec_b236_d9eabd785054@id_ea999630_469d_4292_bada_a01751f24cd1" tailtooltip=" " edgetooltip=" "]
  
  
  ## IF-FALSE
  id_c8efabab_b225_4fea_867d_0f9c1e140052:w -> false_dummy_up_id_c8efabab_b225_4fea_867d_0f9c1e140052 [id="id_c8efabab_b225_4fea_867d_0f9c1e140052@id_75beea3b_6995_49be_b48a_97b0762a0855" tailtooltip=" " edgetooltip=" " arrowhead=none taillabel="false" fontcolor="red"]
  false_dummy_up_id_c8efabab_b225_4fea_867d_0f9c1e140052 -> id_bf956d04_0fe3_4858_b059_1c47ca325e7b:n [id="id_c8efabab_b225_4fea_867d_0f9c1e140052@id_75beea3b_6995_49be_b48a_97b0762a0855" tailtooltip=" " edgetooltip=" "]
  
  id_bf956d04_0fe3_4858_b059_1c47ca325e7b:s -> false_dummy_down_id_c8efabab_b225_4fea_867d_0f9c1e140052:n [id="id_bf956d04_0fe3_4858_b059_1c47ca325e7b@id_75beea3b_6995_49be_b48a_97b0762a0855" tailtooltip=" " edgetooltip=" " arrowhead=none]
  
  false_dummy_down_id_c8efabab_b225_4fea_867d_0f9c1e140052 -> end_id_c8efabab_b225_4fea_867d_0f9c1e140052 [id="id_bf956d04_0fe3_4858_b059_1c47ca325e7b@id_75beea3b_6995_49be_b48a_97b0762a0855" tailtooltip=" " edgetooltip=" "]
  
  ## IF-END
  end_id_c8efabab_b225_4fea_867d_0f9c1e140052:s -> true_dummy_down_id_98618118_9f86_4d9d_bff5_9cf4e8272723:n [id="end_id_c8efabab_b225_4fea_867d_0f9c1e140052@id_64538ec4_940b_4545_9b20_ecb02d4261f1" tailtooltip=" " edgetooltip=" " arrowhead=none]
  
  
  
  true_dummy_down_id_98618118_9f86_4d9d_bff5_9cf4e8272723 -> true_dummy_down_left_id_98618118_9f86_4d9d_bff5_9cf4e8272723 [id="id_c8efabab_b225_4fea_867d_0f9c1e140052@id_64538ec4_940b_4545_9b20_ecb02d4261f1" tailtooltip=" " edgetooltip=" " arrowhead=none]
  true_dummy_down_left_id_98618118_9f86_4d9d_bff5_9cf4e8272723 -> id_98618118_9f86_4d9d_bff5_9cf4e8272723:s [id="id_c8efabab_b225_4fea_867d_0f9c1e140052@id_64538ec4_940b_4545_9b20_ecb02d4261f1" tailtooltip=" " edgetooltip=" "]
  
  ## WHILE-FALSE
  id_98618118_9f86_4d9d_bff5_9cf4e8272723:w -> false_dummy_up_id_98618118_9f86_4d9d_bff5_9cf4e8272723 [id="id_98618118_9f86_4d9d_bff5_9cf4e8272723@fun-main" tailtooltip=" " edgetooltip=" " arrowhead=none taillabel="false" fontcolor="red"]
  false_dummy_up_id_98618118_9f86_4d9d_bff5_9cf4e8272723 -> false_dummy_down_id_98618118_9f86_4d9d_bff5_9cf4e8272723 [id="id_98618118_9f86_4d9d_bff5_9cf4e8272723@fun-main" tailtooltip=" " edgetooltip=" " arrowhead=none]
  false_dummy_down_id_98618118_9f86_4d9d_bff5_9cf4e8272723 -> end_dummy_down_id_98618118_9f86_4d9d_bff5_9cf4e8272723 [id="id_98618118_9f86_4d9d_bff5_9cf4e8272723@fun-main" tailtooltip=" " edgetooltip=" " arrowhead=none]
  end_dummy_down_id_98618118_9f86_4d9d_bff5_9cf4e8272723 -> id_97fa4a88_6c62_4065_8c6f_596f506c92f6 [id="id_98618118_9f86_4d9d_bff5_9cf4e8272723@fun-main" tailtooltip=" " edgetooltip=" "]
  
  
  id_97fa4a88_6c62_4065_8c6f_596f506c92f6:s -> id_020e651c_8e9a_4ad2_8c0e_3fef0ce08f60:n [id="id_97fa4a88_6c62_4065_8c6f_596f506c92f6@fun-main" tailtooltip=" " edgetooltip=" "]

}
