socket.setId(String.valueOf(0));
socket.setStroke(Paint.valueOf("black"));
final Label connectionLabel = new Label("S");
connectionLabel.setStyle("-fx-background-color:rgb(255, 255, 255); -fx-border-color:rgba(0, 0, 0, 0.5); ");
connectionLabel.relocate(socket.getCenterX() + 5, socket.getCenterY() - 10);
connectionLabel.setVisible(false);
/*
* Mouse event handlers on sockets
*