draw static graph