added transpose graph