public void layoutCompleted(LayoutCompleteEvent le) {
		LayoutEngine layoutEngine  = m_layoutEngine; // (LayoutEngine) le.getSource();
		FastVector nPosX = new FastVector(m_BayesNet.getNrOfNodes());
		FastVector nPosY = new FastVector(m_BayesNet.getNrOfNodes());
		for (int iNode = 0; iNode < layoutEngine.getNodes().size(); iNode++) {
			GraphNode gNode = (GraphNode) layoutEngine.getNodes().elementAt(iNode);
			if (gNode.nodeType == GraphNode.NORMAL) {
				nPosX.addElement(gNode.x);
				nPosY.addElement(gNode.y);
			}
		}
		m_BayesNet.layoutGraph(nPosX, nPosY);
		m_jStatusBar.setText("Graph layed out");
		a_undo.setEnabled(true);
		a_redo.setEnabled(false);
		setAppropriateSize();
		m_GraphPanel.invalidate();
		m_jScrollPane.revalidate();
		m_GraphPanel.repaint();
	}