"graphnode6.0 -----> graphnode0.0 -------> graphnode15.0"과 같은 강제 그래프를 표시하려고하지만 json 객체를 구성 할 때 난 항상 내 JSON 객체는 "graphnode6.0 ------> graphnode0.0 < --------- graphnode15.0"를 얻을infoviz의 Force Directed Graph에서 잘못된 에지 방향
var json = [
{
"adjacencies": [
{
"nodeTo": "graphnode15.0",
"data": {"$type":"arrow",
"$direction":"['graphnode0.0','graphnode15.0']"}
}
],
"data": {
'$color': "#83548B",
'$type': "circle"
},
"id": "graphnode0.0",
"name": "graphnode0.0"
},
{
"adjacencies": [
{
"nodeTo": "graphnode0.0",
"data": {"$type":"arrow",
"$direction":"['graphnode6.0','graphnode0.0']"}
}],
"data": {
"$color": "#83548B",
"$type": "circle"
},
"id": "graphnode6.0",
"name": "graphnode6.0"
}
]
이 JSON 구조에 실수가 있습니까? 감사 수밋