*/
@Override
protected IFigure createFigure() {
if (getModel() == null)
return null;
BasicElement model = (BasicElement)getModel();
BasicElement parent = (BasicElement) getParent().getModel();
model.setParent(parent);
if(model.getId().startsWith("gen"))
model.setId(parent.getId() + "." + model.toString() + getParent().getChildren().size());
// ((BasicElement) getModel()).setParent((BasicElement) getParent()
// .getModel());
IFigure figure;
figure = new BlankTerminalFigure(model);
figure.setOpaque(false); // transparent figure