if (node != null) {
callback.getVisualizationState().pickNode(node);
callback.updateVisualizationAfterPick();
e.consume();
} else {
<BUG>GUILink link = (GUILink) canvas.getEdge(e);
if (link != null)</BUG>
{
if (!link.isIntraNodeLink())
{

if (node != null) {
callback.getVisualizationState().pickNode(node);
callback.updateVisualizationAfterPick();
e.consume();
} else {
GUILink link = canvas.getEdge(e);
if (link != null)
{
if (!link.isIntraNodeLink())
{
