public String transform(String input) {
return "<html><center>Vertex<p>"+input;
}}}));
vv.getRenderContext().setVertexShapeTransformer(vlasr);
vv.getRenderContext().setVertexLabelRenderer(new DefaultVertexLabelRenderer(Color.red));
vv.getRenderContext().setEdgeDrawPaintTransformer(new ConstantTransformer(Color.yellow));
vv.getRenderContext().setEdgeStrokeTransformer(new ConstantTransformer(new BasicStroke(2.5f)));
// customize the renderer
vv.getRenderer().setVertexRenderer(new GradientVertexRenderer<String,StringBuffer>(Color.gray, Color.white, true));
vv.getRenderer().setVertexLabelRenderer(vlasr);