generates graphs