code: public void addFigure(Figure figure) {
  		figures.add(figure);
  		figureMap.put(figure.getData().getAttribute(NonGeometricData.ID), figure);
  		
  		String fillRef = figure.getData().getAsReference(NonGeometricData.FILL);
  		Gradient gradient = getGradient(fillRef);
  		if (gradient != null) {
  			if (gradient.isRadial()) {
  				for (int i=0;i<InkscapeLoader.RADIAL_TRIANGULATION_LEVEL;i++) {
  					figure.getShape().increaseTriangulation();
  				}
  			}
  		}
  	}
docs: Add a figure to the diagram
  
  @param figure The figure to add