Skip to content

Instantly share code, notes, and snippets.

/*
Add the function to the public prototype :
*/
sigma.publicPrototype.outDegreeToSize = function() {
this.iterNodes(function(node){
node.size = node.outDegree;
}).draw();
};
/*
{
"address":"12376 Washington Boulevard, Whittier, CA, United States",
"verb":"checkin",
"kind":"plus#activity",
"title":"In need of a morning boost",
"actor":{
"displayName":"Alain Dominguez",
"url":"https://plus.google.com/117083688455135800465",
"id":"117083688455135800465",
"image":{