layout.execute(adapter.getDefaultParent());
new JGraphXAdapter<>(graph0); mxIGraphLayout layout = new mxCircleLayout(graphAdapter); layout.execute(graphAdapter.getDefaultParent()); dialog.add(new mxGraphComponent(graphAdapter)); dialog.pack();
layout.execute(jgxAdapter.getDefaultParent());