a graph for species-reaction system