Thanks a lot. Now the problem is fixed
I have given access to all site members. But when other members click on the family tree they can see a page with out formatting or css as shown in the screenshot above
I am using Genealogy component. The jomsocial memebers can see only their own family tree, but not able to see family trees of other members.