Added code to display graph and color nodes based on state at time interval