Viewer.ThreadingModel.GRAPH_IN_ANOTHER_THREAD);
GraphRenderer renderer = Viewer.newGraphRenderer();
viewer.addView(Viewer.DEFAULT_VIEW_ID, renderer);
if (autoLayout) {
Layout layout = Layouts.newLayoutAlgorithm();
viewer.enableAutoLayout(layout);
}
return viewer;
}
public void read(FileSource input, String filename) throws IOException,