Added mouse listener for vertexes in graph panel.