{"nodes":{"u4ne9rzq88dgp04non88ksb5q399n4sl":{"type":"start","x":0,"y":0,"properties":{"title":"Logical AND gate","excerpt":"This flow demonstrates a logical AND gate","slug":"","post":"","author":"GraVersal","license":"CC BY 4.0","channel":"chat","category":"School and education","private":false}},"lsnbonab49dwndyf3eucszq80p96wz7b":{"type":"message","x":-291.07996337890626,"y":60.162,"properties":{"text":"This flow demonstrates an __logical AND__ gate.","repeatOnReentry":true,"repeatOnChance":true}},"fhdwm8dii2w9uv36i0zn0npcunxz5vde":{"type":"message","x":-314.2360244140625,"y":259.7869938964844,"properties":{"text":"A message should only be activated if certain answers have been given.","repeatOnReentry":true,"repeatOnChance":true}},"pis1znzua6iib6nt5wr5d65832n1sa2g":{"type":"message","x":-299.084,"y":439.7509938964844,"properties":{"text":"Must edges are yellow. They **must be active** for the target node to be activated. Turn both switches on to get the next answer.","repeatOnReentry":true,"repeatOnChance":true}},"n2yvxf5v5rphjj1xz40gsu3i0imy8s4v":{"type":"switch","x":-443.059,"y":609.6069877929688,"properties":{"label":"Switch A","initialOn":false}},"dviutc4xb3gtopdk5xu2fii73zddqoen":{"type":"switch","x":-189.86598779296875,"y":591.0760061035156,"properties":{"label":"Switch B","initialOn":false}},"oeah0m4higq83vqglgi9szbmmbb73xwb":{"type":"button","x":-643.3267336453735,"y":532.9677100346818,"properties":{"label":"Toggle switch A ({{#if on}}on{{else}}off{{/if}})","method":"on"}},"pfuhhakpa8xhjixcw1n135jkapw5ujod":{"type":"button","x":14.920992734749913,"y":559.4649636978133,"properties":{"label":"Toggle switch B ({{#if on}}on{{else}}off{{/if}})","method":"off"}},"ifur5o1m6zh5p988qlanmcnlukogmfdr":{"type":"board","x":-341.8216938946094,"y":875.4507055936858,"properties":{"text":"💡 Both switches must be on for this message to be displayed!"}}},"edges":{"2jpua7f1vgu1sonwkezxlfs0gl05r2dy":{"type":"may","from":"u4ne9rzq88dgp04non88ksb5q399n4sl","to":"lsnbonab49dwndyf3eucszq80p96wz7b","properties":{"priority":4}},"zdjepr0t9li6qbvvvkjapikhrr15ytem":{"type":"may","from":"lsnbonab49dwndyf3eucszq80p96wz7b","to":"fhdwm8dii2w9uv36i0zn0npcunxz5vde","properties":{"priority":4,"condition":"arrived"}},"3q06logts38znq5zajfienzvvpi202du":{"type":"may","from":"fhdwm8dii2w9uv36i0zn0npcunxz5vde","to":"pis1znzua6iib6nt5wr5d65832n1sa2g","properties":{"priority":4,"condition":"arrived"}},"uavy6b7syy0zlw01nl0tprg6j521qaut":{"type":"may","from":"pis1znzua6iib6nt5wr5d65832n1sa2g","to":"n2yvxf5v5rphjj1xz40gsu3i0imy8s4v","properties":{"priority":6,"condition":"arrived"}},"130jk13bjxy8e2wszqa1k04euvtbtos3":{"type":"may","from":"pis1znzua6iib6nt5wr5d65832n1sa2g","to":"dviutc4xb3gtopdk5xu2fii73zddqoen","properties":{"priority":4,"condition":"arrived"}},"ao40mhapjqra2wsuu60v3a5fm3qhf0ru":{"type":"may","from":"n2yvxf5v5rphjj1xz40gsu3i0imy8s4v","to":"oeah0m4higq83vqglgi9szbmmbb73xwb","properties":{"priority":5,"condition":"","push":"on"}},"28r3qb5bmn84vw5rq3zhsaxwkloa3s1h":{"type":"may","from":"dviutc4xb3gtopdk5xu2fii73zddqoen","to":"pfuhhakpa8xhjixcw1n135jkapw5ujod","properties":{"priority":5,"condition":"","push":"on"}},"4063iio80i2cdue2f7e1fl8ct1rwe16w":{"type":"call","from":"pfuhhakpa8xhjixcw1n135jkapw5ujod","to":"dviutc4xb3gtopdk5xu2fii73zddqoen","properties":{"priority":4,"condition":"clicked","method":"toggle"}},"uoucyc7562sctcwd58d25e0dua4ajr7t":{"type":"call","from":"oeah0m4higq83vqglgi9szbmmbb73xwb","to":"n2yvxf5v5rphjj1xz40gsu3i0imy8s4v","properties":{"priority":4,"condition":"clicked","method":"toggle"}},"5nbp2zp2jhtdsi9skmhu4r2bbik6s9wk":{"type":"must","from":"dviutc4xb3gtopdk5xu2fii73zddqoen","to":"ifur5o1m6zh5p988qlanmcnlukogmfdr","properties":{"priority":4,"condition":"on"}},"fsapas20itwv16dre088obrqxoccdezy":{"type":"must","from":"n2yvxf5v5rphjj1xz40gsu3i0imy8s4v","to":"ifur5o1m6zh5p988qlanmcnlukogmfdr","properties":{"priority":4,"condition":"on"}}}}