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

Please let me know my way of coding is correct or not. Please help me on this. :(