*/
		int getGraphNode(MouseEvent me) {
			m_nPosX = m_nPosY  = 0;

			Rectangle r = new Rectangle(0, 0, (int) (m_nPaddedNodeWidth * m_fScale), (int) (m_nNodeHeight * m_fScale));
			m_nPosX += me.getX();
			m_nPosY += me.getY();

			for (int iNode = 0; iNode < m_BayesNet.getNrOfNodes(); iNode++) {				
				r.x = (int) (m_BayesNet.getPositionX(iNode) * m_fScale);
				r.y = (int) (m_BayesNet.getPositionY(iNode) * m_fScale);
				if (r.contains(m_nPosX, m_nPosY)) {
					return iNode;
				}
			}
			return -1;
		}