How many link relationships can give for a single node in genogram?

I’m sorry, but we really do not understand the details of what you would like to do, so it is hard for us to comment on your code.

It would also help if you formatted your code properly, so that it would be more legible. Code Formatting Toward that end, it also would help if the lines were not so long, thereby requiring readers to scroll left and right.

It might help if you tried not using Orthogonal or AvoidsNodes routing for non-genetic relationships. Also using different colors might help improve the clarity of the diagrams.