}
function detach_node( readings ) {
-
+ // separate out the deleted relationships, discard for now
+ delete readings['DELETED'];
// add new node(s)
$.extend( readingdata, readings );
// remove from existing readings the witnesses for the new nodes/readings