code: function(pos, width, height) {
          var nconfig = this.node;
          var square, orn;
          if(nconfig.align == "center") {
              square = {
                  x: pos.x - width / 2,
                  y: pos.y - height / 2
              };
          } else if (nconfig.align == "left") {
              orn = this.config.orientation;
              if(orn == "bottom" || orn == "top") {
                  square = {
                      x: pos.x - width / 2,
                      y: pos.y
                  };
              } else {
                  square = {
                      x: pos.x,
                      y: pos.y - height / 2
                  };
              }
          } else if(nconfig.align == "right") {
              orn = this.config.orientation;
              if(orn == "bottom" || orn == "top") {
                  square = {
                      x: pos.x - width / 2,
                      y: pos.y - height
                  };
              } else {
                  square = {
                      x: pos.x - width,
                      y: pos.y - height / 2
                  };
              }
          } else throw "align: not implemented";
          
          return square;
      }
docs: /*
  Method: getAlignedPos
  
  Returns a *x, y* object with the position of the top/left corner of a <ST> node.
  
  Parameters:
  
  pos - (object) A <Graph.Node> position.
  width - (number) The width of the node.
  height - (number) The height of the node.