code: function(node,x,y,size,context) {
      var rotate = Math.PI*45/180; // 45 deg rotation of a diamond shape
      context.moveTo(x+size*Math.sin(rotate), y-size*Math.cos(rotate)); // first point on outer radius, dwangle 'rotate'
      for(var i=1; i<4; i++) {
        context.lineTo(x+Math.sin(rotate+2*Math.PI*i/4)*size, y-Math.cos(rotate+2*Math.PI*i/4)*size);
      }
    }
docs: We now proced to use the generics to define our standard shape/border
  drawers: square, diamond, equilateral (polygon), and star
  ----------