Add support for marriages for spouses
See original GitHub issuevar treeData =[
{
"name":"Abc Xyz",
"class":"man",
"id":"121",
"marriages":[
{
"spouse":{
"name":"Jane",
"class":"woman",
"id":"122",
"marriages":[
{
"spouse":{
"name":"Jill",
"class":"man",
"id":"2304"
},
"children":[
{
"name":"Abc Xyz",
"class":"man",
"id":"142"
}
]
}
]
},
"children":[
{
"name":"Abc Xyz",
"class":"man",
"id":"131"
},
{
"name":"Abc Xyz",
"class":"man",
"id":"132",
"marriages":[
{
"spouse":{
"name":"Abc Xyz",
"class":"woman",
"id":"141"
},
"children":[
{
"name":"Abc Xyz",
"class":"man",
"id":"142"
}
]
}
]
},
{
"name":"Abc Xyz",
"class":"man",
"id":"133"
}
]
}
]
}
];
When used above json object dTree is not showing marriages of Jane
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Marriage and Partnerships - CHADD
Marriage and Partnerships. Conflict and discord are common in marriages and partnerships involving an individual with undiagnosed ADHD.
Read more >9 Ways ADHD May Strain Relationships - ADDitude
1. Hyperfocus Dating. The biggest shock to ADHD relationships comes with the transition from courtship to marriage. Typically, a person with ...
Read more >What to Know If Your Spouse or Partner Has ADHD
If your spouse has ADHD, it might be affecting your marriage. Here are some tips for coping and what you can do to...
Read more >ADHD and Marriage | Learn to thrive in your relationship
ADHD adults and partners can manage ADHD in their love life! Paying attention, affairs, job loss, nagging, being on time, criticism, chores, organization, ......
Read more >How ADHD Can Affect Your Marriage - WebMD
If you are married to someone with ADHD, your relationship may have a lot of challenges. In fact, research has found that relationships...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
also how to add parent of spouses?
@shelleyvadams I think that would be solved best by referring to nodes in the tree. That is the first time the node is defined you manually assign it an identifier and then you can reference that node in other places.