{
String[] values = new String[7];
values[0] = createName(component);
values[1] = Integer.toString(component.getNumberOfVertices());
values[2] = Integer.toString(component.getLongestWalk());
GraphAttributes attributes = (GraphAttributes) component.getAttributes();
values[3] = Integer.toString(attributes.getGirth());
values[4] = Integer.toString(attributes.getRadius());
values[5] = Integer.toString(attributes.getDiameter());
values[6] = Integer.toString(attributes.getBestFragmentSize());
getStrongComponentElementTemplate().format(values, result, null);
renderClasses(component, result);
renderVertices(attributes.getCenterVertices(), result,
getCenterNodesElementName());
renderVertices(attributes.getBestFragmenters(), result,
getBestFragmentersElementName());
result.append(" </").append(getStrongComponentElementName())
.append(">\n");
}
return new String(result);