new DefaultVisualizationModel(layout, preferredSize);
vv = new VisualizationViewer(visualizationModel, preferredSize);
vv.getRenderContext().setVertexShapeTransformer(new ClusterVertexShapeFunction());
final PredicatedParallelEdgeIndexFunction eif = PredicatedParallelEdgeIndexFunction.getInstance();
final Set exclusions = new HashSet();
eif.setPredicate(new Predicate() {
public boolean evaluate(Object e) {
return exclusions.contains(e);
}});