lib/edit.js
function _unfold_subgraph(sub){

	// Restore to graph.
	// console.log('   unfold # (' + sub.all_nodes().length + ', ' +
	// 	    sub.all_edges().length + ')');
	each(sub.all_nodes(), function(node){
	    anchor.add_node(node);
	});
	each(sub.all_edges(), function(edge){
	    anchor.add_edge(edge);
	});
    }
function _unfold_subgraph(sub){

	// Restore to graph.
	// console.log('   unfold # (' + sub.all_nodes().length + ', ' +
	// 	    sub.all_edges().length + ')');
	each(sub.all_nodes(), function(node){
	    anchor.add_node(node);
	});
	each(sub.all_edges(), function(edge){
	    anchor.add_edge(edge);
	});
    }
function _unfold_subgraph ( sub ) { // Restore to graph. // console.log('   unfold # (' + sub.all_nodes().length + ', ' + // 	    sub.all_edges().length + ')'); each ( sub . all_nodes ( ) , function ( node ) { anchor . add_node ( node ) ; } ) ; each ( sub . all_edges ( ) , function ( edge ) { anchor . add_edge ( edge ) ; } ) ; }
For any entity, remove its referenced individuals and re-add them to the graph.
For any entity remove its referenced individuals and re - add them to the graph .