jitGraph.js revision a3c52b145290f82936e3a4bf0e96fd40c0bf095f
//id of the visualization container
injectInto: 'infovis',
//canvas width and height
width: 500,
height: 350,
//Change node and edge styles such as
//color, width and dimensions.
Node: {
dim: 9,
color: "#f00"
},
Edge: {
lineWidth: 2,
color: "#088"
},
//Attach event handlers and add text to the
//labels. This method is only triggered on label
//creation
onComplete: function() {
}
});
});
},
//Change node styles when labels are placed
//or moved.
} else {
}
var w = domElement.offsetWidth;
},
onComplete: function(){
//Build the right column relations list.
//This is done by collecting the information (stored in the data property)
//for all the nodes adjacent to the centered node.
html += "<ul>";
}
});
html += "</ul>";
}
});
//compute positions and plot.
});