0

D3 非常适合我的数据,但我有重要的数据列显示在树视图中的每个节点旁边。

这可能吗?

例如:

{ "name": "OSS Applications", "children": [ { "name": "ELITE 3E", "someData": "Some Data", "children": [ {"name": "Elite 3E Mobile Gateway" }, {"name": "Elite 3E 移动网站"}, {"name": "Elite 3E 移动应用程序"}

 ]
},
{
 "name": "WESTLAW DOC & FORM BUILDER",
 "someData": "Some Data",
 "children": [
  {"name": "Cobalt Website WFB",      "someData": "Some Data",},
  {"name": "Cobalt Static Content WFB"},
  {"name": "Cobalt Search WFA"},
  {"name": "Cobalt Forms Assembly WFB"},
  {"name": "Cobalt Foldering WFB"}
 ]
},
{
 "name": "FINDLAW.COM",
 "someData": "Some Data",
 "children": [
  {"name": "Findlaw-Infirmation",      "someData": "Some Data",},
  {"name": "Findlaw-hippocms"},
  {"name": "Findlaw-Lawyers Directory"},
  {"name": "Findlaw-ProfileUpdate"},
  {"name": "Findlaw-Pview"},
{"name": "Findlaw-RCMS"},
{"name": "Findlaw-public-channel"}
 ]
}

] }

4

0 回答 0