I have json structure with id, parentId and Desc. Everything works fine when each child has only one parent. But if a child has multiple parent then the first one is visible and the second one is not displayed. Any help to fix this is appriaciated. Thanks
id 10073 has 2 parents
Here is the json:
[
{
“id”:10070,
“desc”:”node 10070″,
“parentId”:10072
},
{
“id”:10073,
“desc”:”node 10073″,
“parentId”:10071
},
{
“id”:10073,
“desc”:”node 10073″,
“parentId”:10070
},
{
“id”:10072,
“desc”:”node 10072″,
“parentId”:10071
},
{
“id”:10071,
“desc”:”node 10071″,
“parentId”:-1
}
]