private mxGraphComponent createGraphComponent(mxGraph graph) {
		mxGraphComponent component = new mxGraphComponent(graph);
		component.setAutoExtend(true);
		component.setAntiAlias(true);
		component.setTextAntiAlias(true);
		component.setToolTips(true);
//		component.setImportEnabled(false);
		component.setFoldingEnabled(true);
		component.setConnectable(false);
		component.setDragEnabled(false);
//		component.setKeepSelectionVisibleOnZoom(true);
//		component.getViewport().setBackground(Color.white);
		//TODO setup
		return component;
	}
private mxGraphComponent createGraphComponent(mxGraph graph) {
		mxGraphComponent component = new mxGraphComponent(graph);
		component.setAutoExtend(true);
		component.setAntiAlias(true);
		component.setTextAntiAlias(true);
		component.setToolTips(true);
		component.setFoldingEnabled(true);
		component.setConnectable(false);
		component.setDragEnabled(false);
	
		return component;
	}
private mxgraphcomponent creategraphcomponent(mxgraph graph) { mxgraphcomponent component = new mxgraphcomponent(graph); component.setautoextend(true); component.setantialias(true); component.settextantialias(true); component.settooltips(true); component.setfoldingenabled(true); component.setconnectable(false); component.setdragenabled(false); return component; }