/**
* Return the rendered visual representation of this node.
*/
public Figure render(Object n) {
StateBubble e = new StateBubble(0, 0, _size, _size);
e.setFillPaint(_fillPaint);
e.setStrokePaint(_strokePaint);
// Set the state appearance
//Object s = n.getProperty("stateType");
int type = StateBubble.NORMAL_STATE;
//if (s != null) {
// type = ((Integer) s).intValue();
//}
e.setStateType(type);
// Set the label
Object p = "node"; //n.getProperty("label");
String label = (p == null) ? "Unnamed" : (String) p;
LabelWrapper w = new LabelWrapper(e, label);