Talking to Sigma through Console - noduslabs/infranodus GitHub Wiki
To access the instances of Sigma, the following can be done through Console:
Get the instance 0:
var s = sigma.instances(0)
Access its renderers:
s.renderers
Execute a function on every element of the array (in this case, nodes in the graph) and return the result:
s.graph.nodes().map(function(n) {return n.id});
Get every element of the array (nodes) and apply a filter function:
s.graph.nodes().map(function(n) {return n.id}).filter(function(id) { if (id == 'e6d58ac0-9a37-11e3-ae8c-071b74344d84') return id });