inputColumns.add(hNodeId);
outputColumns.add(hNodeId);
// Save the old SemanticType object for undo
SemanticTypes types = worksheet.getSemanticTypes();
oldSemanticType = types.getSemanticTypeForHNodeId(hNodeId);
types.unassignColumnSemanticType(hNodeId);
// Save the original alignment for undo
Alignment alignment = AlignmentManager.Instance().getAlignment(workspace.getId(), worksheetId);
oldAlignment = alignment.getAlignmentClone();
oldGraph = (DirectedWeightedMultigraph<Node, DefaultLink>)alignment.getGraph().clone();