algorithm.dot
digraph babyrithm { duerme [ label="Duerme" style=filled color=green ] semueve [ shape="diamond" label="¿Se mueve?" style=filled color=red ] mecercuna [ label="Mecer cuna" style=filled color=orange fontcolor=white ] duerme->semueve [ constraint=false ] llora [ shape=diamond label="¿Llora?" style=filled color=red ] panal [ label="Cambiar pañal" style=filled color=orange fontcolor=white ] teta [ label="Teta" style=filled color=orange fontcolor=white ] hablarle [ label="Halagarla\nEntretenerla" style=filled color=orange fontcolor=white ] bosteza [ shape=diamond label="¿Bosteza?" style=filled color=red ] flato [ label="Eruptos/Flatulencias" style=filled color=orange fontcolor=white ] // ************************************* // ************************************* // ************************************* // ************************************* semueve->duerme [ label="No" ] semueve->mecercuna [ label="Si" // constraint=false ] mecercuna->semueve [ // constraint=false ] semueve->llora llora->teta [ label="Si" ] llora->teta [ dir=back ] llora->flato [ dir=back ] llora->flato [ label="Si" ] llora->panal [ dir=back ] llora->panal [ label="Si" ] llora->hablarle [ constraint=false label="No" ] bosteza->hablarle [ label="No" ] bosteza->hablarle [ dir=back ] mecercuna->bosteza [ constraint=false dir=back label="Si" ] }


















