public void SetColor()
 {
     GetComponent <Image>().color = graph.GetColorFor(node.GetType());
 }