In mathematics and computer science , graph theory is the study of graphs , which are mathematical structures used to model pairwise relations between objects .
Graph theory is an important part of mathematics and computer science .