code: function( options ){
  
              var self = this;
  
              // call parent init method
              parent.init.call(this, options);
  
              this.options.defaults( defaults );
              this.options.onChange(function( opts ){
                  self.setVertices( opts.vertices || [] );
              });
              this.options( options );
  
              self.setVertices( this.options.vertices || [] );
  
          }
docs: extended