modeling graph