newEdge.put(ChangeInternalNodeLinksCommand.JsonKeys.edgeTargetId.name(), sourceId);
newEdge.put(ChangeInternalNodeLinksCommand.JsonKeys.edgeId.name(), edgeUri);
}
newEdges.put(newEdge);
Command changeInternalNodeLinksCommand = cinlcf.createCommand(worksheetId, alignmentId, new JSONArray(), newEdges, workspace);
changeInternalNodeLinksCommand.doIt(workspace);
appliedCommands.push(changeInternalNodeLinksCommand);
Command setMetaDataCommand = smpcf.createCommand(workspace, nestedHNodeId, worksheetId, "isUriOfClass",
targetUri, targetId, "", selection.getName());
setMetaDataCommand.doIt(workspace);
appliedCommands.push(setMetaDataCommand);