2 types of graphs