make graph initilization