code: function(geometry, style) {
          var nodeType = null;
          switch (geometry.CLASS_NAME) {
              case "OpenLayers.Geometry.Point":
                  if (style.externalGraphic) {
                      nodeType = "image";
                  } else if (this.isComplexSymbol(style.graphicName)) {
                      nodeType = "svg";
                  } else {
                      nodeType = "circle";
                  }
                  break;
              case "OpenLayers.Geometry.Rectangle":
                  nodeType = "rect";
                  break;
              case "OpenLayers.Geometry.LineString":
                  nodeType = "polyline";
                  break;
              case "OpenLayers.Geometry.LinearRing":
                  nodeType = "polygon";
                  break;
              case "OpenLayers.Geometry.Polygon":
              case "OpenLayers.Geometry.Curve":
                  nodeType = "path";
                  break;
              default:
                  break;
          }
          return nodeType;
      }
docs: Method: getNodeType
  
  Parameters:
  geometry - {<OpenLayers.Geometry>}
  style - {Object}
  
  Returns:
  {String} The corresponding node type for the specified geometry