     debug(edges[e_index].type);
     #endif
     //n0_index = get_node("id", edges[e_index].from);
+    if (run_delay) {
+      Serial.print("buz: ");
+      Serial.print(edges[e_index].type);
+      Serial.print(" edge ");
+      Serial.println(e_index);
+      delay(run_delay);
+    }
     n1_index = get_node("id", edges[e_index].to);
     run_node(n1_index);
   }

      // ToDo stop assuming digitalWrite(...)
      digitalWrite(nodes[to_n_i].io, nodes[to_n_i].value);
    }
  }
}


// run_state 0=not_running, 1=running, 2=on_hold
short run_state = 0;
boolean graph_loaded = 0;
int run_delay = 0; 

// message queue
short message_count = 0;
