//		component.setKeepSelectionVisibleOnZoom(true);
//		component.getViewport().setBackground(Color.white);
//TODO setup
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;
	}
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.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.setImportEnabled(false);
component.setFoldingEnabled(true);
component.setConnectable(false);
component.setDragEnabled(false);
// component.setKeepSelectionVisibleOnZoom(true);
// component.getViewport().setBackground(Color.white);
//TODO setup
return component;
}