d3js bug need decode then decode
CSS
.node circle {
fill: #fff;
stroke: steelblue;
stroke-width: 1.5px;
}
svg{
display:block
}
svg:nth-child(1){
border:3px solid blue;
}
svg:nth-child(2){
border:3px solid green;
}
.node {
font: 10px sans-serif;
}
.link {
fill: none;
stroke: #ccc;
stroke-width: 1.5px;
}
JavaScript
var root2 = {
"name": 0,
"Supp": 0,
"Int": "BOTTOM",
"children": [
{
"name": 1,
"Supp": 1,
"LStab": 1,
"UStab": 1,
"Int": {
"Count": 2,
"Names": [
"http: //dblp.l3s.de/d2r/resource/publications/conf/bibm/BaiK11",
"http: //dblp.l3s.de/d2r/resource/publications/conf/cibcb/BaiK12"
]
},
"children": [
{
"name": 4,
"Supp": 2,
"LStab": 0,
"UStab": 1,
"Int": {
"Count": 1,
"Names": [
"http: //swrc.ontoware.org/ontology#InProceedings"
]
},
"children": [
{
"name": 2,
"Supp": 3,
"Int": {
"Count": 1,
"Names": [
"http: //www.w3.org/2000/01/rdf-schema#Resource"
]
}
}
]
}
]
},
{
"name": 3,
"Supp": 1,
"LStab": 1,
"UStab": 1,
"Int": {
"Count": 2,
"Names": [
"http: //dblp.l3s.de/d2r/resource/publications/journals/bmcbi/XuZHZYRSSYGSDSBBCHLDSY09",
"http: //dblp.l3s.de/d2r/resource/publications/journals/bmcbi/CaiYTC11"
]
},
"children": [
{
"name": 2,
"Supp": 3,
"Int": {
"Count": 1,
"Names": [
...