这是代码的链接:http: //jsfiddle.net/mj58659094/ADXGu/;
现在家谱只有亲子之间的联系。我怎样才能获得配偶之间的链接,如下所示?
|-----------------------|
- - - | Father-3 (SMJ) |
- | |-
- |-----------------------| -
|-----------------------| - -
| Father-0 (PMI) |- |-----------------------| -
| |- | Mother-3 (AJ) | - -
|-----------------------| - | (AJ Nickname) |- -
- |-----------------------| -
|-----------------------| - -
| Mother-0 (MP) | - |-----------------------| -
| (AJ Nickname) |- | Mother-3 (MTJ) | -
|-----------------------| | (MTJNickname) |-
|-----------------------|
personId:“1000101”Father-3 (SMJ) 结过两次婚,第一任妻子是 personId:“1000102”Mother-3 (AJ),第二任妻子是 personId:“1000103”Mother-3 (MTJ)。任何帮助将不胜感激。谢谢。