code: function(){
  		var bd = this.board, borders = bd.border;
  		/* 外枠のカウントをあらかじめ足しておく */
  		for(var c=0;c<bd.cross.length;c++){
  			var cross = bd.cross[c], bx = cross.bx, by = cross.by;
  			var ischassis = (bd.hasborder===1 ? (bx===0||bx===bd.cols*2||by===0||by===bd.rows*2) : false);
  			cross.lcnt = (ischassis?2:0);
  		}
  		for(var id=0;id<borders.length;id++){
  			if(!this.isedgevalidbylinkobj(borders[id])){
  				this.incdecBorderCount(borders[id], true);
  			}
  		}
  	}
docs: --------------------------------------------------------------------------- roomgraph.resetBorderCount()  初期化時に、lcnt情報を初期化する roomgraph.incdecBorderCount() 線が引かれたり消された時に、lcnt変数を生成し直す ---------------------------------------------------------------------------