 Edge edges[10];
 
 // hbumtf parser vars.
-// state 0=outside_cmd, 1=loading, 2=nodes, 3=edges 
+// state 0=outside_com, 1=loading, 2=nodes, 3=edges 
 int state = 0;
-
+short run_state = 0;
+boolean graph_loaded = 0;
+
+
+// message queue
+short message_count = 0;
+String message_str;
 
 void setup() {
   // initialize serial:

    if (inputString == "rfi") {
      com_rfi();
    }
  }
  if (state == 1 && inputString == NODES_HBG) {
    next_state = 2;

  Serial.println(HB_VERSION);
  Serial.print("Serial state: ");
  Serial.println(state);
  Serial.print("Graph loaded: ");
  Serial.println(graph_loaded);  
  Serial.print("Run state: ");
  Serial.println(run_state);
  com_graph();
}

