Magnetic field topology by MDI data: Active region