if the direction of electric field is from positive charge to negative charge then why is the direction of electric dipole from negative charge to positive charge
question about dirction of electric dipole
Electric dipole is the product of charge and separation distance/displacement between them, the direction of electric dipole comes from the separation vector, displacement if you like, which is from negative to positive charge. It has nothing to do with electric field direction. And assigning it in this way gives correctly the direction of torque on a electric dipole in an electric field.