UNPKG

@zklogic/draw.io

Version:

Draw.IO - Graph Editor integration in Angular-cli

1 lines 41.4 kB
function mxLeanBoatShipment(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanSafetyStock(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanDataBox(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanCustomerSupplier(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanDedicatedProcess(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanSharedProcess(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanWorkcell(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanInventoryBox(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanPushArrow(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanSupermarket(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanMaterialPull(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanFifoLane(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanTruckShipment(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanProductionControl(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanFifoSequence(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanProductionKanban(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanWithdrawalKanban(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanSignalKanban(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanSequencedPullBall(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanRailShipment(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanWarehouse(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanTimeline(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanCrossDock(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanOrders(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanBatchedKanban(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanControlCenter(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}function mxLeanElectronicInfoShape(){mxArrow.call(this)}function mxLeanManualInfoShape(){mxArrow.call(this)}function mxShapeLeanTimeline(n,e,t,o){mxShape.call(this),this.bounds=n,this.fill=e,this.stroke=t,this.strokewidth=null!=o?o:1}mxUtils.extend(mxLeanBoatShipment,mxShape),mxLeanBoatShipment.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),n.begin(),n.moveTo(.15*o,.77*i),n.lineTo(.5*o,0),n.lineTo(.85*o,.77*i),n.close(),n.moveTo(.2*o,i),n.lineTo(0,.8*i),n.lineTo(o,.8*i),n.lineTo(.8*o,i),n.close(),n.fillAndStroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.boat_shipment",mxLeanBoatShipment),mxLeanBoatShipment.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.5,1),!1),new mxConnectionConstraint(new mxPoint(0,.8),!1),new mxConnectionConstraint(new mxPoint(1,.8),!1),new mxConnectionConstraint(new mxPoint(.2,1),!1),new mxConnectionConstraint(new mxPoint(.8,1),!1),new mxConnectionConstraint(new mxPoint(.26,.5),!1),new mxConnectionConstraint(new mxPoint(.74,.5),!1)],mxUtils.extend(mxLeanSafetyStock,mxShape),mxLeanSafetyStock.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),this.background(n,o,i),n.setShadow(!1),this.foreground(n,o,i)},mxLeanSafetyStock.prototype.background=function(n,e,t){n.rect(0,0,e,t),n.fillAndStroke()},mxLeanSafetyStock.prototype.foreground=function(n,e,t){n.begin(),n.moveTo(0,.34*t),n.lineTo(e,.34*t),n.moveTo(0,.66*t),n.lineTo(e,.66*t),n.fillAndStroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.buffer_or_safety_stock",mxLeanSafetyStock),mxLeanSafetyStock.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)],mxUtils.extend(mxLeanDataBox,mxShape),mxLeanDataBox.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),this.background(n,o,i),n.setShadow(!1),this.foreground(n,o,i)},mxLeanDataBox.prototype.background=function(n,e,t){n.begin(),n.moveTo(0,t),n.lineTo(0,0),n.lineTo(e,0),n.lineTo(e,t),n.fillAndStroke()},mxLeanDataBox.prototype.foreground=function(n,e,t){n.begin(),n.moveTo(0,.2*t),n.lineTo(e,.2*t),n.moveTo(0,.4*t),n.lineTo(e,.4*t),n.moveTo(0,.6*t),n.lineTo(e,.6*t),n.moveTo(0,.8*t),n.lineTo(e,.8*t),n.stroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.data_box",mxLeanDataBox),mxLeanDataBox.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)],mxUtils.extend(mxLeanCustomerSupplier,mxShape),mxLeanCustomerSupplier.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),this.background(n,o,i),n.setShadow(!1)},mxLeanCustomerSupplier.prototype.background=function(n,e,t){n.begin(),n.moveTo(0,t),n.lineTo(0,.3*t),n.lineTo(.33*e,.02*t),n.lineTo(.33*e,.3*t),n.lineTo(.67*e,.02*t),n.lineTo(.67*e,.3*t),n.lineTo(e,.02*t),n.lineTo(e,t),n.close(),n.fillAndStroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.outside_sources",mxLeanCustomerSupplier),mxLeanCustomerSupplier.prototype.constraints=[new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.33,0),!0),new mxConnectionConstraint(new mxPoint(.67,0),!0),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)],mxUtils.extend(mxLeanDedicatedProcess,mxShape),mxLeanDedicatedProcess.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t);var a=parseFloat(mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"8"));this.background(n,o,i),n.setShadow(!1),this.foreground(n,o,i,a)},mxLeanDedicatedProcess.prototype.background=function(n,e,t){n.rect(0,0,e,t),n.fillAndStroke()},mxLeanDedicatedProcess.prototype.foreground=function(n,e,t,o){var i=Math.min(1.5*o,t);n.begin(),n.moveTo(0,i),n.lineTo(e,i),n.stroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.manufacturing_process",mxLeanDedicatedProcess),mxLeanDedicatedProcess.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)],mxUtils.extend(mxLeanSharedProcess,mxShape),mxLeanSharedProcess.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t);var a=parseFloat(mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"8"));this.background(n,o,i),n.setShadow(!1),this.foreground(n,o,i,a)},mxLeanSharedProcess.prototype.background=function(n,e,t){n.rect(0,0,e,t),n.fillAndStroke()},mxLeanSharedProcess.prototype.foreground=function(n,e,t,o){var i=Math.min(1.5*o,t);n.begin(),n.moveTo(0,i),n.lineTo(e,i),n.stroke();var a=0;n.begin();var m=parseFloat(mxUtils.getValue(this.style,mxConstants.STYLE_STROKEWIDTH,"2"));for(n.setStrokeWidth(.5*m);a<t+e;)if((a+=10)>i){var x=Math.max(0,a-t),s=Math.min(a,t),r=Math.min(a-i,e),l=Math.max(a-e,i);x<e&&(n.moveTo(x,s),n.lineTo(r,l))}n.stroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.manufacturing_process_shared",mxLeanSharedProcess),mxLeanSharedProcess.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)],mxUtils.extend(mxLeanWorkcell,mxShape),mxLeanWorkcell.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),n.begin(),n.moveTo(0,0),n.lineTo(o,0),n.lineTo(o,i),n.lineTo(.65*o,i),n.lineTo(.65*o,.4*i),n.lineTo(.35*o,.4*i),n.lineTo(.35*o,i),n.lineTo(0,i),n.close(),n.fillAndStroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.work_cell",mxLeanWorkcell),mxLeanWorkcell.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)],mxUtils.extend(mxLeanInventoryBox,mxShape),mxLeanInventoryBox.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),n.begin(),n.moveTo(0,i),n.lineTo(.5*o,0),n.lineTo(o,i),n.close(),n.fillAndStroke(),n.setShadow(!1),n.begin(),n.moveTo(.4*o,.45*i),n.lineTo(.6*o,.45*i),n.moveTo(.5*o,.45*i),n.lineTo(.5*o,.85*i),n.moveTo(.4*o,.85*i),n.lineTo(.6*o,.85*i),n.stroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.inventory_box",mxLeanInventoryBox),mxLeanInventoryBox.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.375,.25),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.125,.75),!1),new mxConnectionConstraint(new mxPoint(.625,.25),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(.875,.75),!1),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)],mxUtils.extend(mxLeanPushArrow,mxShape),mxLeanPushArrow.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),this.background(n,o,i),n.setShadow(!1),this.foreground(n,o,i)},mxLeanPushArrow.prototype.background=function(n,e,t){n.begin(),n.moveTo(0,.17*t),n.lineTo(.75*e,.17*t),n.lineTo(.75*e,0),n.lineTo(e,.5*t),n.lineTo(.75*e,t),n.lineTo(.75*e,.83*t),n.lineTo(0,.83*t),n.close(),n.fillAndStroke()},mxLeanPushArrow.prototype.foreground=function(n,e,t,o){var i=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");n.setFillColor(i),n.rect(0,.17*t,.12*e,.66*t),n.fill(),n.rect(.24*e,.17*t,.12*e,.66*t),n.fill(),n.rect(.48*e,.17*t,.12*e,.66*t),n.fill(),n.begin(),n.moveTo(.72*e,.17*t),n.lineTo(.75*e,.17*t),n.lineTo(.75*e,0),n.lineTo(e,.5*t),n.lineTo(.75*e,t),n.lineTo(.75*e,.83*t),n.lineTo(.72*e,.83*t),n.close(),n.fill()},mxCellRenderer.registerShape("mxgraph.lean_mapping.push_arrow",mxLeanPushArrow),mxLeanPushArrow.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.17),!1),new mxConnectionConstraint(new mxPoint(.5,.17),!1),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.17),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.83),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(.25,.83),!1),new mxConnectionConstraint(new mxPoint(.5,.83),!1),new mxConnectionConstraint(new mxPoint(.75,1),!0)],mxUtils.extend(mxLeanSupermarket,mxShape),mxLeanSupermarket.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),n.begin(),n.moveTo(0,0),n.lineTo(o,0),n.lineTo(o,i),n.lineTo(0,i),n.moveTo(0,.33*i),n.lineTo(o,.33*i),n.moveTo(0,.67*i),n.lineTo(o,.67*i),n.fillAndStroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.supermarket",mxLeanSupermarket),mxLeanSupermarket.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)],mxUtils.extend(mxLeanMaterialPull,mxShape),mxLeanMaterialPull.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),n.begin(),n.moveTo(.732*o,.0736*i),n.arcTo(.4827*o,.4959*i,0,1,0,.9553*o,.6191*i),n.stroke(),n.begin(),n.moveTo(.9071*o,.6191*i),n.lineTo(.9794*o,.4951*i),n.lineTo(o,.6438*i),n.close(),n.fillAndStroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.physical_pull",mxLeanMaterialPull),mxLeanMaterialPull.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(.98,.5),!0),new mxConnectionConstraint(new mxPoint(.144,.144),!1),new mxConnectionConstraint(new mxPoint(.144,.845),!1),new mxConnectionConstraint(new mxPoint(.845,.845),!1)],mxUtils.extend(mxLeanFifoLane,mxShape),mxLeanFifoLane.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t);var a=parseFloat(mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"8"));this.background(n,o,i,a),n.setShadow(!1)},mxLeanFifoLane.prototype.background=function(n,e,t,o){var i=Math.min(1.5*o,t);n.begin(),n.moveTo(0,i),n.lineTo(e,i),n.moveTo(0,t),n.lineTo(e,t),n.stroke(),n.rect(.02*e,i+4,.26*e,t-i-8),n.fillAndStroke(),n.ellipse(.35*e,i+4,.26*e,t-i-8),n.fillAndStroke(),n.begin(),n.moveTo(.69*e,i+4),n.lineTo(.98*e,i+4),n.lineTo(.835*e,t-4),n.close(),n.fillAndStroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.fifo_lane",mxLeanFifoLane),mxLeanFifoLane.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)],mxUtils.extend(mxLeanTruckShipment,mxShape),mxLeanTruckShipment.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),this.background(n,o,i),n.setShadow(!1)},mxLeanTruckShipment.prototype.background=function(n,e,t){n.rect(0,0,.6*e,.8*t),n.fillAndStroke(),n.rect(.6*e,.35*t,.4*e,.45*t),n.fillAndStroke();var o=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");n.setFillColor(o),n.ellipse(.15*e,.8*t,.2*e,.2*t),n.fillAndStroke(),n.ellipse(.65*e,.8*t,.2*e,.2*t),n.fillAndStroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.truck_shipment",mxLeanTruckShipment),mxLeanTruckShipment.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.6,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,.8),!1),new mxConnectionConstraint(new mxPoint(.75,1),!0)],mxUtils.extend(mxLeanProductionControl,mxShape),mxLeanProductionControl.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),n.rect(0,0,o,i),n.fillAndStroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.schedule",mxLeanProductionControl),mxLeanProductionControl.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)],mxUtils.extend(mxLeanFifoSequence,mxShape),mxLeanFifoSequence.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),n.begin(),n.moveTo(0,0),n.lineTo(o,0),n.moveTo(0,i),n.lineTo(o,i),n.moveTo(.05*o,.5*i),n.lineTo(.15*o,.5*i),n.moveTo(.75*o,.5*i),n.lineTo(.88*o,.5*i),n.stroke();var a=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");n.setFillColor(a),n.begin(),n.moveTo(.88*o,.39*i),n.lineTo(.98*o,.5*i),n.lineTo(.88*o,.61*i),n.fillAndStroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.fifo_sequence_flow",mxLeanFifoSequence),mxLeanFifoSequence.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)],mxUtils.extend(mxLeanProductionKanban,mxShape),mxLeanProductionKanban.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),n.setDashed(!0),n.begin(),n.moveTo(4,i-10),n.lineTo(4,25),n.lineTo(o,25),n.stroke(),n.setDashed(!1),n.begin(),n.moveTo(o-75,0),n.lineTo(o-30,0),n.lineTo(o-15,15),n.lineTo(o-15,50),n.lineTo(o-75,50),n.close(),n.fillAndStroke();var a=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");n.setFillColor(a),n.begin(),n.moveTo(0,i-10),n.lineTo(4,i),n.lineTo(8,i-10),n.close(),n.fillAndStroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.production_kanban",mxLeanProductionKanban),mxLeanProductionKanban.prototype.getConstraints=function(n,e,t){var o=[];return o.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,4,t)),o.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,e,25)),o},mxUtils.extend(mxLeanWithdrawalKanban,mxShape),mxLeanWithdrawalKanban.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),n.setDashed(!0),n.begin(),n.moveTo(4,i-10),n.lineTo(4,25),n.lineTo(o,25),n.stroke(),n.setDashed(!1),n.begin(),n.moveTo(o-75,0),n.lineTo(o-30,0),n.lineTo(o-15,15),n.lineTo(o-15,50),n.lineTo(o-75,50),n.close(),n.fillAndStroke(),n.begin(),n.moveTo(o-75,45),n.lineTo(o-70,50),n.moveTo(o-75,35),n.lineTo(o-60,50),n.moveTo(o-75,25),n.lineTo(o-50,50),n.moveTo(o-75,15),n.lineTo(o-40,50),n.moveTo(o-75,5),n.lineTo(o-30,50),n.moveTo(o-70,0),n.lineTo(o-20,50),n.moveTo(o-60,0),n.lineTo(o-15,45),n.moveTo(o-50,0),n.lineTo(o-15,35),n.moveTo(o-40,0),n.lineTo(o-15,25),n.stroke();var a=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");n.setFillColor(a),n.begin(),n.moveTo(0,i-10),n.lineTo(4,i),n.lineTo(8,i-10),n.close(),n.fillAndStroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.withdrawal_kanban",mxLeanWithdrawalKanban),mxLeanWithdrawalKanban.prototype.getConstraints=function(n,e,t){var o=[];return o.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,4,t)),o.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,e,25)),o},mxUtils.extend(mxLeanSignalKanban,mxShape),mxLeanSignalKanban.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),n.setDashed(!0),n.begin(),n.moveTo(4,i-10),n.lineTo(4,15),n.lineTo(o,15),n.stroke(),n.setDashed(!1),n.begin(),n.moveTo(o-65,0),n.lineTo(o-25,0),n.lineTo(o-45,45),n.close(),n.fillAndStroke();var a=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");n.setFillColor(a),n.begin(),n.moveTo(0,i-10),n.lineTo(4,i),n.lineTo(8,i-10),n.close(),n.fillAndStroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.signal_kanban",mxLeanSignalKanban),mxLeanSignalKanban.prototype.getConstraints=function(n,e,t){var o=[];return o.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,4,t)),o.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,e,15)),o},mxUtils.extend(mxLeanSequencedPullBall,mxShape),mxLeanSequencedPullBall.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),n.ellipse(0,0,o,i),n.fillAndStroke();var a=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");n.setFillColor(a),n.setShadow(!1),n.ellipse(.15*o,.15*i,.7*o,.7*i),n.fillAndStroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.sequenced_pull_ball",mxLeanSequencedPullBall),mxLeanSequencedPullBall.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.144,.144),!1),new mxConnectionConstraint(new mxPoint(.856,.144),!1),new mxConnectionConstraint(new mxPoint(.856,.856),!1),new mxConnectionConstraint(new mxPoint(.144,.856),!1),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0)],mxUtils.extend(mxLeanRailShipment,mxShape),mxLeanRailShipment.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),n.rect(.1*o,0,.35*o,.8*i),n.fillAndStroke(),n.rect(.55*o,0,.35*o,.8*i),n.fillAndStroke(),n.begin(),n.moveTo(0,i),n.lineTo(o,i),n.moveTo(.45*o,.7*i),n.lineTo(.55*o,.7*i),n.stroke(),n.ellipse(.15*o,.8*i,.06*o,.2*i),n.fillAndStroke(),n.ellipse(.34*o,.8*i,.06*o,.2*i),n.fillAndStroke(),n.ellipse(.6*o,.8*i,.06*o,.2*i),n.fillAndStroke(),n.ellipse(.79*o,.8*i,.06*o,.2*i),n.fillAndStroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.rail_shipment",mxLeanRailShipment),mxLeanRailShipment.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(.1,.25),!1),new mxConnectionConstraint(new mxPoint(.1,.5),!1),new mxConnectionConstraint(new mxPoint(.1,.75),!1),new mxConnectionConstraint(new mxPoint(.9,.25),!1),new mxConnectionConstraint(new mxPoint(.9,.5),!1),new mxConnectionConstraint(new mxPoint(.9,.75),!1),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)],mxUtils.extend(mxLeanWarehouse,mxShape),mxLeanWarehouse.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),n.rect(0,0,o,i),n.fillAndStroke(),n.setShadow(!1),n.begin(),n.moveTo(0,.4*i),n.lineTo(o,.4*i),n.moveTo(.15*o,i),n.lineTo(.15*o,.55*i),n.lineTo(.3*o,.55*i),n.lineTo(.3*o,i),n.stroke(),n.ellipse(.27*o,.75*i,.02*o,.02*o),n.stroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.warehouse",mxLeanWarehouse),mxLeanWarehouse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)],mxUtils.extend(mxLeanTimeline,mxShape),mxLeanTimeline.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t);for(var a=mxUtils.getValue(this.style,"mainText","20,Time 1,50,Time 2,30,Time 3,40,Time 4,30,Time 5,50,Time 6,20,Time 7").toString().split(","),m=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"12"),x=new Array,s=0,r=0;r<a.length;r+=2){var l=parseFloat(a[r]);x.push(l),s+=l}var C=o/s,w=new Array;for(r=1;r<a.length;r+=2)w.push(a[r]);n.begin();var c=0;for(n.moveTo(0,i),r=0;r<w.length;r++)c+=l=x[r]*C,r%2==0?(n.lineTo(c,i),n.lineTo(c,1.5*m),n.text(c-.5*l,i-.75*m,0,0,w[r],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)):(n.lineTo(c,1.5*m),n.lineTo(c,i),n.text(c-.5*l,.75*m,0,0,w[r],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0));n.stroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.timeline",mxLeanTimeline),mxUtils.extend(mxLeanCrossDock,mxShape),mxLeanCrossDock.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),n.rect(0,0,o,i),n.fillAndStroke(),n.setShadow(!1),n.begin(),n.moveTo(0,.25*i),n.lineTo(o,.25*i),n.moveTo(.1*o,.4*i),n.lineTo(.35*o,.4*i),n.arcTo(.15*o,.15*i,0,0,1,.5*o,.5*i),n.arcTo(.15*o,.15*i,0,0,0,.65*o,.6*i),n.lineTo(.9*o,.6*i),n.stroke(),n.moveTo(.1*o,.4*i),n.lineTo(.35*o,.4*i),n.arcTo(.15*o,.25*i,0,0,1,.5*o,.55*i),n.arcTo(.15*o,.25*i,0,0,0,.65*o,.7*i),n.lineTo(.9*o,.7*i),n.stroke(),n.moveTo(.1*o,.4*i),n.lineTo(.35*o,.4*i),n.arcTo(.15*o,.3*i,0,0,1,.5*o,.6*i),n.arcTo(.15*o,.3*i,0,0,0,.65*o,.8*i),n.lineTo(.9*o,.8*i),n.stroke(),n.moveTo(.1*o,.8*i),n.lineTo(.35*o,.8*i),n.arcTo(.15*o,.3*i,0,0,0,.5*o,.6*i),n.arcTo(.15*o,.3*i,0,0,1,.65*o,.4*i),n.lineTo(.9*o,.4*i),n.stroke(),n.moveTo(.1*o,.8*i),n.lineTo(.35*o,.8*i),n.arcTo(.15*o,.1*i,0,0,0,.5*o,.75*i),n.arcTo(.15*o,.1*i,0,0,1,.65*o,.7*i),n.lineTo(.9*o,.7*i),n.stroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.crossDock",mxLeanCrossDock),mxLeanCrossDock.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)],mxUtils.extend(mxLeanOrders,mxShape),mxLeanOrders.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),n.rect(0,.56*i,o,.44*i),n.fillAndStroke();var a=parseFloat(mxUtils.getValue(this.style,mxConstants.STYLE_STROKEWIDTH,"2"));n.setStrokeWidth(.5*a),n.begin(),n.moveTo(.04*o,.5418*i),n.lineTo(.94*o,.5418*i),n.moveTo(.0522*o,.5088*i),n.lineTo(.9522*o,.5088*i),n.moveTo(.05*o,.4738*i),n.lineTo(.95*o,.4738*i),n.moveTo(.0456*o,.4427*i),n.lineTo(.9456*o,.4427*i),n.moveTo(.0422*o,.4135*i),n.lineTo(.9422*o,.4135*i),n.moveTo(.0533*o,.3804*i),n.lineTo(.9533*o,.3804*i),n.moveTo(.0556*o,.3454*i),n.lineTo(.9556*o,.3454*i),n.moveTo(.05*o,.3143*i),n.lineTo(.95*o,.3143*i),n.moveTo(.0489*o,.2832*i),n.lineTo(.0489*o,.2832*i),n.moveTo(.0544*o,.254*i),n.lineTo(.9544*o,.254*i),n.moveTo(.0489*o,.221*i),n.lineTo(.9489*o,.221*i),n.moveTo(.0556*o,.1918*i),n.lineTo(.9556*o,.1918*i),n.moveTo(.0522*o,.1587*i),n.lineTo(.9522*o,.1587*i),n.moveTo(.0544*o,.1276*i),n.lineTo(.9544*o,.1276*i),n.moveTo(.0544*o,.0965*i),n.lineTo(.9544*o,.0965*i),n.moveTo(.0556*o,.0654*i),n.lineTo(.9556*o,.0654*i),n.moveTo(.0533*o,.0304*i),n.lineTo(.9533*o,.0304*i),n.moveTo(.0556*o,0),n.lineTo(.9556*o,0),n.stroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.orders",mxLeanOrders),mxLeanOrders.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.05,0),!0),new mxConnectionConstraint(new mxPoint(.95,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(.05,.25),!1),new mxConnectionConstraint(new mxPoint(.05,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.95,.25),!1),new mxConnectionConstraint(new mxPoint(.95,.5),!1),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)],mxUtils.extend(mxLeanBatchedKanban,mxShape),mxLeanBatchedKanban.prototype.paintVertexShape=function(n,e,t,o,i){o=Math.max(110,o),n.translate(e,t),n.begin(),n.moveTo(4,.5*i),n.lineTo(o,.5*i),n.stroke(),n.begin(),n.moveTo(.5*o-20,.5*i-35),n.lineTo(.5*o+25,.5*i-35),n.lineTo(.5*o+40,.5*i-20),n.lineTo(.5*o+40,.5*i+15),n.lineTo(.5*o-20,.5*i+15),n.close(),n.fillAndStroke(),n.begin(),n.moveTo(.5*o-30,.5*i-25),n.lineTo(.5*o+15,.5*i-25),n.lineTo(.5*o+30,.5*i-10),n.lineTo(.5*o+30,.5*i+25),n.lineTo(.5*o-30,.5*i+25),n.close(),n.fillAndStroke(),n.begin(),n.moveTo(.5*o-40,.5*i-15),n.lineTo(.5*o+5,.5*i-15),n.lineTo(.5*o+20,.5*i),n.lineTo(.5*o+20,.5*i+35),n.lineTo(.5*o-40,.5*i+35),n.close(),n.fillAndStroke();var a=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");n.setFillColor(a),n.begin(),n.moveTo(o-10,.5*i-4),n.lineTo(o,.5*i),n.lineTo(o-10,.5*i+4),n.close(),n.fillAndStroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.batched_kanban",mxLeanBatchedKanban),mxLeanBatchedKanban.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0)],mxUtils.extend(mxLeanControlCenter,mxShape),mxLeanControlCenter.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t),n.rect(.15*o,0,.7*o,.8*i),n.fillAndStroke(),n.rect(0,.8*i,o,.2*i),n.fillAndStroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.control_center",mxLeanControlCenter),mxLeanControlCenter.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.15,0),!0),new mxConnectionConstraint(new mxPoint(.85,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.15,.25),!1),new mxConnectionConstraint(new mxPoint(.15,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.85,.25),!1),new mxConnectionConstraint(new mxPoint(.85,.5),!1),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)],mxUtils.extend(mxLeanElectronicInfoShape,mxArrow),mxLeanElectronicInfoShape.prototype.paintEdgeShape=function(n,e){var t=e[0],o=e[e.length-1],i=o.x-t.x,a=o.y-t.y;t.x=t.x+.05*i,t.y=t.y+.05*a,o.x=o.x-.05*i,o.y=o.y-.05*a,i=o.x-t.x,a=o.y-t.y;var m,x=i/(m=Math.sqrt(i*i+a*a)),s=a/m,r=t.x+.5*i,l=t.y+.5*a,C=r-x*m*.1-s/3*m*.1,w=l-s*m*.1+x/3*m*.1,c=r+x*m*.1+s/3*m*.1,h=l+s*m*.1-x/3*m*.1;n.begin(),n.moveTo(t.x,t.y),n.lineTo(c,h),n.lineTo(C,w),n.lineTo(o.x,o.y),n.stroke(),i=o.x-C,a=o.y-w,x=i/(m=Math.sqrt(i*i+a*a)),s=a/m,n.setFillColor(mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000")),n.begin(),n.moveTo(o.x-10*x-5*s,o.y-10*s+5*x),n.lineTo(o.x,o.y),n.lineTo(o.x-10*x+5*s,o.y-10*s-5*x),n.fillAndStroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.electronic_info_flow_edge",mxLeanElectronicInfoShape),mxUtils.extend(mxLeanManualInfoShape,mxArrow),mxLeanManualInfoShape.prototype.paintEdgeShape=function(n,e){var t=e[0],o=e[e.length-1],i=o.x-t.x,a=o.y-t.y;t.x=t.x+.05*i,t.y=t.y+.05*a,o.x=o.x-.05*i,o.y=o.y-.05*a,i=o.x-t.x,a=o.y-t.y;var m=Math.sqrt(i*i+a*a),x=i/m,s=a/m;n.begin(),n.moveTo(t.x,t.y),n.lineTo(o.x,o.y),n.stroke(),n.setFillColor(mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000")),n.begin(),n.moveTo(o.x-10*x-5*s,o.y-10*s+5*x),n.lineTo(o.x,o.y),n.lineTo(o.x-10*x+5*s,o.y-10*s-5*x),n.fillAndStroke()},mxCellRenderer.registerShape("mxgraph.lean_mapping.manual_info_flow_edge",mxLeanManualInfoShape),mxUtils.extend(mxShapeLeanTimeline,mxShape),mxShapeLeanTimeline.prototype.cst={SHAPE_TIMELINE:"mxgraph.lean_mapping.timeline2"},mxShapeLeanTimeline.prototype.paintVertexShape=function(n,e,t,o,i){n.translate(e,t);var a=mxUtils.getValue(this.style,"dy1","0"),m=mxUtils.getValue(this.style,"dx2","0"),x=mxUtils.getValue(this.style,"dy2","0"),s=mxUtils.getValue(this.style,"dx3","0"),r=mxUtils.getValue(this.style,"dy3","0"),l=mxUtils.getValue(this.style,"dx4","0"),C=mxUtils.getValue(this.style,"dy4","0"),w=mxUtils.getValue(this.style,"dx5","0"),c=mxUtils.getValue(this.style,"dy5","0"),h=mxUtils.getValue(this.style,"dy6","0"),p=!0;n.begin(),a<=.5?(n.moveTo(0,0),p=!0):(n.moveTo(0,i),p=!1),x<=.5&&p?(n.lineTo(m,0),p=!0):x>.5&&!p?(n.lineTo(m,i),p=!1):x<=.5&&!p?(n.lineTo(m,i),n.lineTo(m,0),p=!0):(n.lineTo(m,0),n.lineTo(m,i),p=!1),r<=.5&&p?(n.lineTo(s,0),p=!0):r>.5&&!p?(n.lineTo(s,i),p=!1):r<=.5&&!p?(n.lineTo(s,i),n.lineTo(s,0),p=!0):(n.lineTo(s,0),n.lineTo(s,i),p=!1),C<=.5&&p?(n.lineTo(l,0),p=!0):C>.5&&!p?(n.lineTo(l,i),p=!1):C<=.5&&!p?(n.lineTo(l,i),n.lineTo(l,0),p=!0):(n.lineTo(l,0),n.lineTo(l,i),p=!1),c<=.5&&p?(n.lineTo(w,0),p=!0):c>.5&&!p?(n.lineTo(w,i),p=!1):c<=.5&&!p?(n.lineTo(w,i),n.lineTo(w,0),p=!0):(n.lineTo(w,0),n.lineTo(w,i),p=!1),h<=.5&&p?(n.lineTo(o,0),p=!0):h>.5&&!p?(n.lineTo(o,i),p=!1):h<=.5&&!p?(n.lineTo(o,i),n.lineTo(o,0),p=!0):(n.lineTo(o,0),n.lineTo(o,i),p=!1),n.stroke()},mxCellRenderer.registerShape(mxShapeLeanTimeline.prototype.cst.SHAPE_TIMELINE,mxShapeLeanTimeline),Graph.handleFactory[mxShapeLeanTimeline.prototype.cst.SHAPE_TIMELINE]=function(n){var e=[Graph.createHandle(n,["dy1"],(function(n){var e=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"dy1",0))));return new mxPoint(n.x,n.y+e*n.height)}),(function(n,e){this.state.style.dy1=Math.round(1e3*Math.max(0,Math.min(1,(e.y-n.y)/n.height)))/1e3}))],t=Graph.createHandle(n,["dx2","dy2"],(function(n){var e=Math.max(0,Math.min(parseFloat(mxUtils.getValue(this.state.style,"dx3",0)),parseFloat(mxUtils.getValue(this.state.style,"dx2",0)))),t=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"dy2",0))));return new mxPoint(n.x+e,n.y+t*n.height)}),(function(n,e){this.state.style.dx2=Math.round(1e3*Math.max(0,Math.min(parseFloat(mxUtils.getValue(this.state.style,"dx3",0)),e.x-n.x)))/1e3,this.state.style.dy2=Math.round(1e3*Math.max(0,Math.min(1,(e.y-n.y)/n.height)))/1e3}));e.push(t);var o=Graph.createHandle(n,["dx3","dy3"],(function(n){var e=Math.max(parseFloat(mxUtils.getValue(this.state.style,"dx2",0)),Math.min(parseFloat(mxUtils.getValue(this.state.style,"dx4",0)),parseFloat(mxUtils.getValue(this.state.style,"dx3",0)))),t=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"dy3",0))));return new mxPoint(n.x+e,n.y+t*n.height)}),(function(n,e){this.state.style.dx3=Math.round(1e3*Math.max(parseFloat(mxUtils.getValue(this.state.style,"dx2",0)),Math.min(parseFloat(mxUtils.getValue(this.state.style,"dx4",0)),e.x-n.x)))/1e3,this.state.style.dy3=Math.round(1e3*Math.max(0,Math.min(1,(e.y-n.y)/n.height)))/1e3}));e.push(o);var i=Graph.createHandle(n,["dx4","dy4"],(function(n){var e=Math.max(parseFloat(mxUtils.getValue(this.state.style,"dx3",0)),Math.min(parseFloat(mxUtils.getValue(this.state.style,"dx5",0)),parseFloat(mxUtils.getValue(this.state.style,"dx4",0)))),t=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"dy4",0))));return new mxPoint(n.x+e,n.y+t*n.height)}),(function(n,e){this.state.style.dx4=Math.round(1e3*Math.max(parseFloat(mxUtils.getValue(this.state.style,"dx3",0)),Math.min(parseFloat(mxUtils.getValue(this.state.style,"dx5",0)),e.x-n.x)))/1e3,this.state.style.dy4=Math.round(1e3*Math.max(0,Math.min(1,(e.y-n.y)/n.height)))/1e3}));e.push(i);var a=Graph.createHandle(n,["dx5","dy5"],(function(n){var e=Math.max(parseFloat(mxUtils.getValue(this.state.style,"dx4",0)),Math.min(n.width,parseFloat(mxUtils.getValue(this.state.style,"dx5",0)))),t=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"dy5",0))));return new mxPoint(n.x+e,n.y+t*n.height)}),(function(n,e){this.state.style.dx5=Math.round(1e3*Math.max(parseFloat(mxUtils.getValue(this.state.style,"dx4",0)),Math.min(n.width,e.x-n.x)))/1e3,this.state.style.dy5=Math.round(1e3*Math.max(0,Math.min(1,(e.y-n.y)/n.height)))/1e3}));e.push(a);var m=Graph.createHandle(n,["dy6"],(function(n){var e=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"dy6",0))));return new mxPoint(n.x+n.width,n.y+e*n.height)}),(function(n,e){this.state.style.dy6=Math.round(1e3*Math.max(0,Math.min(1,(e.y-n.y)/n.height)))/1e3}));return e.push(m),e};