// getGraphElementsVisibilityController().updateGraphElementsVisibility();
final DependencyGraph graph = (DependencyGraph) fGraphView.getGraph2D();
if (doLayout) {
final LayoutModule layoutModule = graph.getLayoutModule();
layoutModule.addModuleListener(new ModuleListener() {
public void moduleEventHappened(ModuleEvent event) {
if (event.getEventType() == ModuleEvent.TYPE_MODULE_MAIN_RUN_FINISHED) {
if (postLayout != null) {
postLayout.updateSelection();
}