Graphs and the dynamics of biochemical networks