Like her parents, the girl was also very compassionate.
Literal
Parents same-way [manner-に] girl [also-も] very compassion [subject-が] existed.
同様に means 'in the same way as' or 'likewise.' 思いやりがある (to have compassion/consideration for others) is a valued character trait in Japanese culture. The structure [A]同様に[B]も draws a parallel between two parties sharing the same quality.