Create Graph by Time