* Update the selection.
*/
public void updateSelection() {
DependencyGraph graph = getCommand().getGraphLoader().getGraph();
graph.unselectAll();
for (Node node : getNodesToSelect()) {
graph.setSelected(node, true);
}
for (Edge edge : getEdgesToSelect()) {
graph.setSelected(edge, true);