*/
public void setAlignmentColumn(int nodeIndex, int column)
{
+ int currentCol = getNodeAlignmentColumn(nodeIndex);
+ nodeLookup.remove(currentCol);
nodes.get(nodeIndex).setAlignmentColumn(column);
+ nodeLookup.put(column, nodeIndex);
}
/**
+ * Clears all data in the node lookup map
+ */
+ public void emptyNodeLookup()
+ {
+ nodeLookup = new HashMap<>();
+ }
+
+
+ /**
* Sets the reference annotation at a given node.
*
* @param nodeIndex