Phase transition and giant component of random graphs 1