UNPKG

@zklogic/draw.io

Version:

Draw.IO - Graph Editor integration in Angular-cli

1 lines 46.5 kB
Sidebar.prototype.addPidPalette=function(e,t){this.setCurrentSearchEntryLibrary("pid","pidInstruments"),this.addPidInstrumentsPalette(),this.setCurrentSearchEntryLibrary("pid","pidMisc"),this.addPidMiscPalette(),this.setCurrentSearchEntryLibrary("pid","pidValves"),this.addPidValvesPalette(),this.setCurrentSearchEntryLibrary("pid","pidCompressors"),this.addPidCompressorsPalette(),this.setCurrentSearchEntryLibrary("pid","pidEngines"),this.addPidEnginesPalette(),this.setCurrentSearchEntryLibrary("pid","pidFilters"),this.addPidFiltersPalette(),this.setCurrentSearchEntryLibrary("pid","pidFlow Sensors"),this.addPidFlowSensorsPalette(),this.setCurrentSearchEntryLibrary("pid","pidPiping"),this.addPidPipingPalette();for(var l=["Instruments","Misc","Valves","Compressors","Engines","Filters","Flow Sensors","Piping"],n=0;n<e.length;n++)mxUtils.indexOf(l,e[n])<0&&(this.setCurrentSearchEntryLibrary("pid","pid"+e[n]),this.addStencilPalette("pid"+e[n],"Proc. Eng. / "+e[n],t+"/pid/"+e[n].toLowerCase().replace(" ","_")+".xml",";html=1;pointerEvents=1;align=center;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;dashed=0;",null,null,null,null,null,"pid"));this.setCurrentSearchEntryLibrary()},Sidebar.prototype.addPidInstrumentsPalette=function(){var e="html=1;outlineConnect=0;align=center;dashed=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid2",t="html=1;outlineConnect=0;align=center;dashed=0;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid2",l="mxgraph.pid2inst",n="pid process instrumentation engineering instrument engineering ";this.addPaletteFunctions("pidInstruments","Proc. Eng. / Instruments",!1,[this.createVertexTemplateEntry(e+"inst.discInst;mounting=room",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Discrete Instrument (control room)",null,null,this.getTagsForStencil(l,"discInst",n+"discrete control room").join(" ")),this.createVertexTemplateEntry(e+"inst.discInst;mounting=field",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Discrete Instrument (field)",null,null,this.getTagsForStencil(l,"discInst",n+"discrete field").join(" ")),this.createVertexTemplateEntry(e+"inst.discInst;mounting=inaccessible",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Discrete Instrument (inaccessible)",null,null,this.getTagsForStencil(l,"discInst",n+"discrete inaccessible").join(" ")),this.createVertexTemplateEntry(e+"inst.discInst;mounting=local",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Discrete Instrument (local panel)",null,null,this.getTagsForStencil(l,"discInst",n+"discrete local panel").join(" ")),this.createVertexTemplateEntry(e+"inst.sharedCont;mounting=room",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Shared Control/Display in DCS (control room)",null,null,this.getTagsForStencil(l,"sharedCont",n+"shared control display room").join(" ")),this.createVertexTemplateEntry(e+"inst.sharedCont;mounting=field",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Shared Control/Display in DCS (field)",null,null,this.getTagsForStencil(l,"sharedCont",n+"shared control display dcs field").join(" ")),this.createVertexTemplateEntry(e+"inst.sharedCont;mounting=inaccessible",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Shared Control/Display in DCS (inaccessible)",null,null,this.getTagsForStencil(l,"sharedCont",n+"shared control display dcs inaccessible").join(" ")),this.createVertexTemplateEntry(e+"inst.sharedCont;mounting=local",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Shared Control/Display in DCS (local panel)",null,null,this.getTagsForStencil(l,"sharedCont",n+"shared control display dcs local panel").join(" ")),this.createVertexTemplateEntry(e+"inst.compFunc;mounting=room",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Computer Function (control room)",null,null,this.getTagsForStencil(l,"compFunc",n+"computer function control room").join(" ")),this.createVertexTemplateEntry(e+"inst.compFunc;mounting=field",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Computer Function (field)",null,null,this.getTagsForStencil(l,"compFunc",n+"computer function field").join(" ")),this.createVertexTemplateEntry(e+"inst.compFunc;mounting=inaccessible",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Computer Function (inaccessible)",null,null,this.getTagsForStencil(l,"compFunc",n+"computer function inaccessible").join(" ")),this.createVertexTemplateEntry(e+"inst.compFunc;mounting=local",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Computer Function (local panel)",null,null,this.getTagsForStencil(l,"compFunc",n+"computer function local panel").join(" ")),this.createVertexTemplateEntry(e+"inst.progLogCont;mounting=room",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Programmable Logic Control (control room)",null,null,this.getTagsForStencil(l,"progLogCont",n+"programmable logic control plc room").join(" ")),this.createVertexTemplateEntry(e+"inst.progLogCont;mounting=field",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Programmable Logic Control (field)",null,null,this.getTagsForStencil(l,"progLogCont",n+"programmable logic control plc field").join(" ")),this.createVertexTemplateEntry(e+"inst.progLogCont;mounting=inaccessible",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Programmable Logic Control (inaccessible)",null,null,this.getTagsForStencil(l,"progLogCont",n+"programmable logic control plc inaccessible").join(" ")),this.createVertexTemplateEntry(e+"inst.progLogCont;mounting=local",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:width;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Programmable Logic Control (local panel)",null,null,this.getTagsForStencil(l,"progLogCont",n+"programmable logic control plc local panel").join(" ")),this.createVertexTemplateEntry(e+"inst.logic;mounting=room",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Logic (control room)",null,null,this.getTagsForStencil(l,"logic",n+"control room").join(" ")),this.createVertexTemplateEntry(e+"inst.logic;mounting=field",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Logic (field)",null,null,this.getTagsForStencil(l,"logic",n+"field").join(" ")),this.createVertexTemplateEntry(e+"inst.logic;mounting=inaccessible",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Logic (inaccessible)",null,null,this.getTagsForStencil(l,"logic",n+"inaccessible").join(" ")),this.createVertexTemplateEntry(e+"inst.logic;mounting=local",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Logic (local panel)",null,null,this.getTagsForStencil(l,"logic",n+"local panel").join(" ")),this.createVertexTemplateEntry(t+"inst.indicator;mounting=room;overflow=fill;indType=inst",50,100,'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr><td align="center" height="25">TI</td></tr><tr><td align="center" height="25">##</td></tr><tr><td align="center" valign="bottom"></td></tr></table>',"Indicator (Instrument)",null,null,this.getTagsForStencil(l,"indicator",n+"indicator").join(" ")),this.createVertexTemplateEntry(t+"inst.indicator;mounting=room;overflow=fill;indType=ctrl",50,100,'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr><td align="center" height="25">TI</td></tr><tr><td align="center" height="25">##</td></tr><tr><td align="center" valign="bottom"></td></tr></table>',"Indicator (Control)",null,null,this.getTagsForStencil(l,"indicator",n+"indicator control").join(" ")),this.createVertexTemplateEntry(t+"inst.indicator;mounting=room;overflow=fill;indType=func",50,100,'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr><td align="center" height="25">TI</td></tr><tr><td align="center" height="25">##</td></tr><tr><td align="center" valign="bottom"></td></tr></table>',"Indicator (Function)",null,null,this.getTagsForStencil(l,"indicator",n+"indicator function").join(" ")),this.createVertexTemplateEntry(t+"inst.indicator;mounting=room;overflow=fill;indType=plc",50,100,'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr><td align="center" height="25">TI</td></tr><tr><td align="center" height="25">##</td></tr><tr><td align="center" valign="bottom"></td></tr></table>',"Indicator (PLC)",null,null,this.getTagsForStencil(l,"indicator",n+"indicator plc programmable logic control").join(" "))])},Sidebar.prototype.addPidValvesPalette=function(){var e=mxConstants.STYLE_SHAPE,t=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;pointerEvents=1;dashed=0;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid2valves.valve;valveType=",l=(e=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;pointerEvents=1;dashed=0;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid2valves.","mxgraph.pid2valves"),n="pid process instrumentation engineering ";this.addPaletteFunctions("pidValves","Proc. Eng. / Valves",!1,[this.createVertexTemplateEntry(t+"gate",100,60,"","Gate Valve",null,null,this.getTagsForStencil(l,"valve",n+"gate").join(" ")),this.createVertexTemplateEntry(t+"gate;defState=closed",100,60,"","Normally Closed Gate Valve",null,null,this.getTagsForStencil(l,"valve",n+"normally closed nc gate").join(" ")),this.createVertexTemplateEntry(t+"ball",100,60,"","Ball Valve",null,null,this.getTagsForStencil(l,"valve",n+"ball").join(" ")),this.createVertexTemplateEntry(t+"ball;defState=closed",100,60,"","Normally Closed Ball Valve",null,null,this.getTagsForStencil(l,"valve",n+"normally closed nc ball").join(" ")),this.createVertexTemplateEntry(t+"globe",100,60,"","Globe Valve",null,null,this.getTagsForStencil(l,"valve",n+"globe").join(" ")),this.createVertexTemplateEntry(t+"butterfly",100,60,"","Butterfly Valve",null,null,this.getTagsForStencil(l,"valve",n+"butterfly").join(" ")),this.createVertexTemplateEntry(t+"check;",100,60,"","Check Valve",null,null,this.getTagsForStencil(l,"valve",n+"check").join(" ")),this.createVertexTemplateEntry(t+"plug",100,60,"","Plug Valve",null,null,this.getTagsForStencil(l,"valve",n+"plug").join(" ")),this.createVertexTemplateEntry(t+"needle",100,60,"","Needle Valve",null,null,this.getTagsForStencil(l,"valve",n+"needle").join(" ")),this.createVertexTemplateEntry(t+"selfDrain",100,60,"","Self Draining Valve",null,null,this.getTagsForStencil(l,"valve",n+"self draining").join(" ")),this.createVertexTemplateEntry(t+"gate;actuator=man",100,100,"","Gate Valve (Manual)",null,null,this.getTagsForStencil(l,"valve",n+"gate manual").join(" ")),this.createVertexTemplateEntry(t+"gate;actuator=diaph",100,100,"","Gate Valve (Diaphragm)",null,null,this.getTagsForStencil(l,"valve",n+"gate diaphragm").join(" ")),this.createVertexTemplateEntry(t+"gate;actuator=balDiaph",100,100,"","Gate Valve (Balanced Diaphragm)",null,null,this.getTagsForStencil(l,"valve",n+"gate balanced diaphragm").join(" ")),this.addEntry(n+"valve gate powered",(function(){var e=new mxCell("",new mxGeometry(0,0,100,100),t+"gate;actuator=powered");e.vertex=!0;var l=new mxCell("",new mxGeometry(32.5,0,35,35),"part=1;strokeColor=none;fillColor=none;fontStyle=1;fontSize=14;");return l.vertex=!0,e.insert(l),sb.createVertexTemplateFromCells([e],100,100,"Gate Valve (Powered)")})),this.createVertexTemplateEntry(t+"gate;actuator=digital",100,100,"","Gate Valve (Digital)",null,null,this.getTagsForStencil(l,"valve",n+"gate digital").join(" ")),this.createVertexTemplateEntry(t+"gate;actuator=elHyd",100,100,"","Gate Valve (Electro-Hydraulic)",null,null,this.getTagsForStencil(l,"valve",n+"gate electro hydraulic").join(" ")),this.createVertexTemplateEntry(t+"gate;actuator=key",100,100,"","Gate Valve (Key)",null,null,this.getTagsForStencil(l,"valve",n+"gate key").join(" ")),this.createVertexTemplateEntry(t+"gate;actuator=motor",100,100,"","Gate Valve (Motor)",null,null,this.getTagsForStencil(l,"valve",n+"gate motor").join(" ")),this.createVertexTemplateEntry(t+"gate;actuator=pilot",100,100,"","Gate Valve (Pilot)",null,null,this.getTagsForStencil(l,"valve",n+"gate pilot").join(" ")),this.createVertexTemplateEntry(t+"gate;actuator=solenoid",100,100,"","Gate Valve (Solenoid)",null,null,this.getTagsForStencil(l,"valve",n+"gate solenoid").join(" ")),this.createVertexTemplateEntry(t+"gate;actuator=solenoidManRes",100,100,"","Gate Valve (Solenoid With Manual Reset)",null,null,this.getTagsForStencil(l,"valve",n+"gate solenoid manual reset").join(" ")),this.createVertexTemplateEntry(t+"gate;actuator=spring",100,100,"","Gate Valve (Spring)",null,null,this.getTagsForStencil(l,"valve",n+"gate spring").join(" ")),this.createVertexTemplateEntry(t+"gate;actuator=weight",100,100,"","Gate Valve (Weight)",null,null,this.getTagsForStencil(l,"valve",n+"gate weight").join(" ")),this.createVertexTemplateEntry(t+"gate;actuator=singActing",100,100,"","Gate Valve (Single Acting Cylinder)",null,null,this.getTagsForStencil(l,"valve",n+"gate single acting cylinder").join(" ")),this.createVertexTemplateEntry(t+"gate;actuator=dblActing",100,100,"","Gate Valve (Double Acting Cylinder)",null,null,this.getTagsForStencil(l,"valve",n+"gate double acting cylinder").join(" ")),this.createVertexTemplateEntry(t+"gate;actuator=angBlow",100,100,"","Angle Blowdown Valve",null,null,this.getTagsForStencil(l,"valve",n+"angle blowdown").join(" ")),this.createVertexTemplateEntry(e+"blockBleedValve;actuator=none",100,130,"","Integrated Block and Bleed Valve",null,null,this.getTagsForStencil(l,"blockBleedValve",n+"integrated block bleed").join(" ")),this.createVertexTemplateEntry(e+"blockBleedValve;actuator=man",100,170,"","Integrated Block and Bleed Valve (Manual)",null,null,this.getTagsForStencil(l,"blockBleedValve",n+"integrated block bleed manual").join(" ")),this.createVertexTemplateEntry(t+"angle;actuator=none",100,80,"","Angle Valve",null,null,this.getTagsForStencil(l,"valve",n+"angle").join(" ")),this.createVertexTemplateEntry(t+"angle;actuator=man",100,120,"","Angle Valve (Manual)",null,null,this.getTagsForStencil(l,"valve",n+"angle manual").join(" ")),this.createVertexTemplateEntry(t+"angleGlobe;actuator=none",100,80,"","Angle Globe Valve",null,null,this.getTagsForStencil(l,"valve",n+"angle globe").join(" ")),this.createVertexTemplateEntry(t+"angleGlobe;actuator=man",100,120,"","Angle Globe Valve (Manual)",null,null,this.getTagsForStencil(l,"valve",n+"angle globe manual").join(" ")),this.createVertexTemplateEntry(t+"threeWay;actuator=none",100,80,"","3 Way Valve",null,null,this.getTagsForStencil(l,"valve",n+"three way").join(" ")),this.createVertexTemplateEntry(t+"threeWay;actuator=man",100,120,"","3 Way Valve (Manual)",null,null,this.getTagsForStencil(l,"valve",n+"three way manual").join(" ")),this.createVertexTemplateEntry(e+"autoRecircValve",100,60,"","Auto Recirculation Valve",null,null,this.getTagsForStencil(l,"blockBleedValve",n+"auto recirculation").join(" "))])},Sidebar.prototype.addPidCompressorsPalette=function(){var e=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;outlineConnect=0;align=center;dashed=0;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.compressors.",t="mxgraph.pid.compressors",l="pid process instrumentation engineering ";this.addPaletteFunctions("pidCompressors","Proc. Eng. / Compressors",!1,[this.createVertexTemplateEntry(e+"ac_air_compressor",100,65,"","AC Air Compressor",null,null,this.getTagsForStencil(t,"ac_air_compressor",l+"").join(" ")),this.createVertexTemplateEntry(e+"centrifugal_compressor",70,70,"","Centrifugal Compressor",null,null,this.getTagsForStencil(t,"centrifugal_compressor",l+"").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"=mxgraph.pid.compressors.centrifugal_compressor_-_turbine_driven;dashed=0;fontSize=8;html=1;overflow=fill;",100,70,'<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr style="height:25%;"><td></td></tr><tr style="height:75%;"><td align="left" style="padding-left:11%;width:100%">T</td></tr></table>',"Centrifugal Compressor - Turbine Driven",null,null,this.getTagsForStencil(t,"centrifugal_compressor_-_turbine_driven",l+"").join(" ")),this.createVertexTemplateEntry(e+"compressor",100,100,"","Compressor",null,null,this.getTagsForStencil(t,"compressor",l+"").join(" ")),this.createVertexTemplateEntry(e+"compressor_and_silencers;pointerEvents=1",90,80,"","Compressor and Silencers",null,null,this.getTagsForStencil(t,"compressor_and_silencers",l+"silencer").join(" ")),this.createVertexTemplateEntry(e+"liquid_ring_compressor",90,90,"","Liquid Ring Compressor",null,null,this.getTagsForStencil(t,"liquid_ring_compressor",l+"").join(" ")),this.createVertexTemplateEntry(e+"reciprocating_compressor",100,40,"","Reciprocating Compressor",null,null,this.getTagsForStencil(t,"reciprocating_compressor",l+"").join(" ")),this.createVertexTemplateEntry(e+"reciprocating_compressor_2",50,65,"","Reciprocating Compressor 2",null,null,this.getTagsForStencil(t,"reciprocating_compressor_2",l+"").join(" ")),this.createVertexTemplateEntry(e+"rotary_compressor",42,91,"","Rotary Compressor",null,null,this.getTagsForStencil(t,"rotary_compressor",l+"").join(" "))])},Sidebar.prototype.addPidEnginesPalette=function(){var e="dashed=0;outlineConnect=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.engines.",t=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;dashed=0;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.engines.",l="mxgraph.pid.engines",n="pid process instrumentation engine motor ";this.addPaletteFunctions("pidEngines","Proc. Eng. / Engines",!1,[this.createVertexTemplateEntry(e+"electric_motor;fontSize=45;",100,100,"M","Electric Motor",null,null,this.getTagsForStencil(l,"electric_motor",n).join(" ")),this.createVertexTemplateEntry(e+"electric_motor_(ac);fontSize=45;",100,100,"M","Electric Motor (AC)",null,null,this.getTagsForStencil(l,"electric_motor_(ac)",n).join(" ")),this.createVertexTemplateEntry(e+"electric_motor_(dc);fontSize=45;",100,100,"M","Electric Motor (DC)",null,null,this.getTagsForStencil(l,"electric_motor_(dc)",n).join(" ")),this.createVertexTemplateEntry(e+"gear;fontSize=45;",100,100,"G","Gear",null,null,this.getTagsForStencil(l,"gear",n).join(" ")),this.createVertexTemplateEntry(e+"generator;fontSize=45;",100,100,"G","Generator",null,null,this.getTagsForStencil(l,"generator",n).join(" ")),this.createVertexTemplateEntry(e+"generator_(ac);fontSize=45;",100,100,"G","Generator (AC)",null,null,this.getTagsForStencil(l,"generator_(ac)",n).join(" ")),this.createVertexTemplateEntry(e+"generator_(dc);fontSize=45;",100,100,"G","Generator (DC)",null,null,this.getTagsForStencil(l,"generator_(dc)",n).join(" ")),this.createVertexTemplateEntry(t+"turbine",70,100,"","Turbine",null,null,this.getTagsForStencil(l,"turbine",n).join(" "))])},Sidebar.prototype.addPidFiltersPalette=function(){var e="html=1;dashed=0;outlineConnect=0;align=center;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.filters.",t=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;dashed=0;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.filters.",l="mxgraph.pid.filters",n="pid process instrumentation filter ";this.addPaletteFunctions("pidFilters","Proc. Eng. / Filters",!1,[this.createVertexTemplateEntry(t+"filter;",50,50,"","Filter",null,null,this.getTagsForStencil(l,"filter",n).join(" ")),this.createVertexTemplateEntry(t+"gas_filter;",50,100,"","Gas Filter",null,null,this.getTagsForStencil(l,"gas_filter",n).join(" ")),this.createVertexTemplateEntry(t+"gas_filter_(bag,_candle,_cartridge);",50,100,"","Gas Filter (Bag, Candle, Cartridge)",null,null,this.getTagsForStencil(l,"gas_filter_(bag,_candle,_cartridge)",n).join(" ")),this.createVertexTemplateEntry(t+"gas_filter_(belt,_roll);",50,100,"","Gas Filter (Belt, Roll)",null,null,this.getTagsForStencil(l,"gas_filter_(belt,_roll)",n).join(" ")),this.createVertexTemplateEntry(t+"gas_filter_(fixed_bed);",50,100,"","Gas Filter (Fixed Bed)",null,null,this.getTagsForStencil(l,"gas_filter_(fixed_bed)",n).join(" ")),this.createVertexTemplateEntry(e+"gas_filter_(hepa);",50,100,"HEPA","Gas Filter (HEPA)",null,null,this.getTagsForStencil(l,"gas_filter_(hepa)",n).join(" ")),this.createVertexTemplateEntry(t+"liquid_filter;",50,100,"","Liquid Filter",null,null,this.getTagsForStencil(l,"liquid_filter",n).join(" ")),this.createVertexTemplateEntry(t+"liquid_Filter_(bag,_candle,_cartridge);",50,100,"","Liquid Filter (Bag, Candle, Cartridge)",null,null,this.getTagsForStencil(l,"liquid_Filter_(bag,_candle,_cartridge)",n).join(" ")),this.createVertexTemplateEntry(t+"liquid_filter_(belt,_roll);",50,100,"","Liquid Filter (Belt, Roll)",null,null,this.getTagsForStencil(l,"liquid_filter_(belt,_roll)",n).join(" ")),this.createVertexTemplateEntry(e+"liquid_filter_(biological);",50,100,"BIO","Liquid Filter (Biological)",null,null,this.getTagsForStencil(l,"liquid_filter_(biological)",n).join(" ")),this.createVertexTemplateEntry(t+"liquid_filter_(fixed_bed);",50,100,"","Liquid Filter (Fixed Bed)",null,null,this.getTagsForStencil(l,"liquid_filter_(fixed_bed)",n).join(" ")),this.createVertexTemplateEntry(e+"liquid_filter_(ion_exchanger);",50,100,"ION","Liquid Filter (Ion Exchanger)",null,null,this.getTagsForStencil(l,"liquid_filter_(ion_exchanger)",n).join(" ")),this.createVertexTemplateEntry(t+"liquid_filter_(rotary,_drum_or_disc);",50,100,"","Liquid Filter (Rotary, Drum or Disc)",null,null,this.getTagsForStencil(l,"liquid_filter_(rotary,_drum_or_disc)",n).join(" ")),this.createVertexTemplateEntry(t+"liquid_filter_(rotary,_drum_or_disc,_scraper);",55,100,"","Liquid Filter (Rotary, Drum or Disc, Scraper)",null,null,this.getTagsForStencil(l,"liquid_filter_(rotary,_drum_or_disc,_scraper)",n).join(" ")),this.createVertexTemplateEntry(t+"press_filter;",100,50,"","Press Filter",null,null,this.getTagsForStencil(l,"press_filter",n).join(" ")),this.createVertexTemplateEntry(t+"suction_filter;",50,100,"","Suction Filter",null,null,this.getTagsForStencil(l,"suction_filter",n).join(" "))])},Sidebar.prototype.addPidFlowSensorsPalette=function(){var e=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;outlineConnect=0;dashed=0;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.flow_sensors.",t="mxgraph.pid.flow_sensors",l="process instrumentation sensor ";this.addPaletteFunctions("pidFlow Sensors","Proc. Eng. / Flow Sensors",!1,[this.createVertexTemplateEntry(e+"averging_pitot_tube;",50,50,"","Averging Pitot Tube",null,null,this.getTagsForStencil(t,"averging_pitot_tube",l).join(" ")),this.createVertexTemplateEntry(e+"coriolis;",50,50,"","Coriolis",null,null,this.getTagsForStencil(t,"coriolis",l).join(" ")),this.createVertexTemplateEntry(e+"flow_nozzle;",50,25,"","Flow Nozzle",null,null,this.getTagsForStencil(t,"flow_nozzle",l).join(" ")),this.createVertexTemplateEntry(e+"flume;pointerEvents=1;",50,50,"","Flume",null,null,this.getTagsForStencil(t,"flume",l).join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"=mxgraph.pid.flow_sensors.magnetic;dashed=0;align=center;html=1;fontSize=25;",50,50,"M","Magnetic",null,null,this.getTagsForStencil(t,"magnetic",l).join(" ")),this.createVertexTemplateEntry(e+"pitot_tube;",50,50,"","Pitot Tube",null,null,this.getTagsForStencil(t,"pitot_tube",l).join(" ")),this.createVertexTemplateEntry(e+"positive_displacement;",50,30,"","Positive Displacement",null,null,this.getTagsForStencil(t,"positive_displacement",l).join(" ")),this.createVertexTemplateEntry(e+"rotameter;",75,50,"","Rotameter",null,null,this.getTagsForStencil(t,"rotameter",l).join(" ")),this.createVertexTemplateEntry(e+"target;",50,50,"","Target",null,null,this.getTagsForStencil(t,"target",l).join(" ")),this.createVertexTemplateEntry(e+"turbine;",50,50,"","Turbine",null,null,this.getTagsForStencil(t,"turbine",l).join(" ")),this.createVertexTemplateEntry(e+"ultrasonic;",50,50,"","Ultrasonic",null,null,this.getTagsForStencil(t,"ultrasonic",l).join(" ")),this.createVertexTemplateEntry(e+"v-cone;",50,50,"","V-cone",null,null,this.getTagsForStencil(t,"v-cone",l).join(" ")),this.createVertexTemplateEntry(e+"venturi;",50,40,"","Venturi",null,null,this.getTagsForStencil(t,"venturi",l).join(" ")),this.createVertexTemplateEntry(e+"vortex;",50,50,"","Vortex",null,null,this.getTagsForStencil(t,"vortex",l).join(" ")),this.createVertexTemplateEntry(e+"wedge;",50,50,"","Wedge",null,null,this.getTagsForStencil(t,"wedge",l).join(" ")),this.createVertexTemplateEntry(e+"weir;",50,50,"","Weir",null,null,this.getTagsForStencil(t,"weir",l).join(" "))])},Sidebar.prototype.addPidPipingPalette=function(){var e="html=1;dashed=0;outlineConnect=0;align=center;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.piping.",t=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;dashed=0;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.piping.",l="mxgraph.pid.piping",n="process instrumentation piping ";this.addPaletteFunctions("pidPiping","Proc. Eng. / Piping",!1,[this.createVertexTemplateEntry(t+"basket_strainer;",50,45,"","Basket Strainer",null,null,this.getTagsForStencil(l,"basket_strainer",n).join(" ")),this.createVertexTemplateEntry(t+"blank;",20,60,"","Blank",null,null,this.getTagsForStencil(l,"blank",n).join(" ")),this.createVertexTemplateEntry(t+"breather;",50,30,"","Breather",null,null,this.getTagsForStencil(l,"breather",n).join(" ")),this.createVertexTemplateEntry(t+"cap;",10,20,"","Cap",null,null,this.getTagsForStencil(l,"cap",n).join(" ")),this.createVertexTemplateEntry(t+"closed_figure_8_blind;",20,80,"","Closed Figure 8 Blind",null,null,this.getTagsForStencil(l,"closed_figure_8_blind",n).join(" ")),this.createVertexTemplateEntry(t+"concentric_reducer;",20,20,"","Concentric Reducer",null,null,this.getTagsForStencil(l,"concentric_reducer",n).join(" ")),this.createVertexTemplateEntry(t+"cone_strainer;",30,30,"","Cone Strainer",null,null,this.getTagsForStencil(l,"cone_strainer",n).join(" ")),this.createVertexTemplateEntry(t+"damper;",50,20,"","Damper",null,null,this.getTagsForStencil(l,"damper",n).join(" ")),this.createVertexTemplateEntry(e+"desuper_heater;",50,50,"DS","Desuper Heater",null,null,this.getTagsForStencil(l,"desuper_heater",n).join(" ")),this.createVertexTemplateEntry(e+"detonation_arrestor;",50,20,"D","Detonation Arrestor",null,null,this.getTagsForStencil(l,"detonation_arrestor",n).join(" ")),this.createVertexTemplateEntry(t+"diverter_valve;pointerEvents=1;",50,35,"","Diverter Valve",null,null,this.getTagsForStencil(l,"diverter_valve",n).join(" ")),this.createVertexTemplateEntry(t+"double_flange;pointerEvents=1;",5,20,"","Double Flange",null,null,this.getTagsForStencil(l,"double_flange",n).join(" ")),this.createVertexTemplateEntry(t+"duplex_strainer;",50,40,"","Duplex Strainer",null,null,this.getTagsForStencil(l,"duplex_strainer",n).join(" ")),this.createVertexTemplateEntry(t+"eccentric_reducer;",20,15,"","Eccentric Reducer",null,null,this.getTagsForStencil(l,"eccentric_reducer",n).join(" ")),this.createVertexTemplateEntry(t+"excess_flow_valve;",50,25,"","Excess Flow Valve",null,null,this.getTagsForStencil(l,"excess_flow_valve",n).join(" ")),this.createVertexTemplateEntry(t+"exhaust_head;",50,40,"","Exhaust Head",null,null,this.getTagsForStencil(l,"exhaust_head",n).join(" ")),this.createVertexTemplateEntry(t+"expansion_joint;",50,20,"","Expansion Joint",null,null,this.getTagsForStencil(l,"expansion_joint",n).join(" ")),this.createVertexTemplateEntry(e+"flame_arrestor;",50,20,"F","Flame Arrestor",null,null,this.getTagsForStencil(l,"flame_arrestor",n).join(" ")),this.createVertexTemplateEntry(t+"flange;pointerEvents=1;",5,20,"","Flange",null,null,this.getTagsForStencil(l,"flange",n).join(" ")),this.createVertexTemplateEntry(t+"flange_in;pointerEvents=1;",10,20,"","Flange In",null,null,this.getTagsForStencil(l,"flange_in",n).join(" ")),this.createVertexTemplateEntry(t+"flexible_hose;pointerEvents=1;",50,25,"","Flexible Hose",null,null,this.getTagsForStencil(l,"flexible_hose",n).join(" ")),this.createVertexTemplateEntry(t+"hose_connection;pointerEvents=1;",20,20,"","Hose Connection",null,null,this.getTagsForStencil(l,"hose_connection",n).join(" ")),this.createVertexTemplateEntry(t+"in-line_mixer;",50,10,"","In-Line Mixer",null,null,this.getTagsForStencil(l,"in-line_mixer",n).join(" ")),this.createVertexTemplateEntry(e+"in-line_silencer;",50,20,"S","In-Line Silencer",null,null,this.getTagsForStencil(l,"in-line_silencer",n).join(" ")),this.createVertexTemplateEntry(t+"open_figure_8_blind;",20,80,"","Open Figure 8 Blind",null,null,this.getTagsForStencil(l,"open_figure_8_blind",n).join(" ")),this.createVertexTemplateEntry(t+"orifice_(quick_change);",10,50,"","Orifice (Quick Change)",null,null,this.getTagsForStencil(l,"orifice_(quick_change)",n).join(" ")),this.createVertexTemplateEntry(t+"plug;",10,10,"","Plug",null,null,this.getTagsForStencil(l,"plug",n).join(" ")),this.createVertexTemplateEntry(t+"pulsation_dampener;",50,150,"","Pulsation Dampener",null,null,this.getTagsForStencil(l,"pulsation_dampener",n).join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_VERTICAL_ALIGN+"=bottom;pointerEvents=1;dashed=0;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.piping.removable_spool;html=1;overflow=fill;",50,30,'<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td valign="bottom" align="center">RS</td></tr></table>',"Removable Spool",null,null,this.getTagsForStencil(l,"removable_spool",n).join(" ")),this.createVertexTemplateEntry(t+"rotary_valve;pointerEvents=1;",50,20,"","Rotary Valve",null,null,this.getTagsForStencil(l,"rotary_valve",n).join(" ")),this.createVertexTemplateEntry(t+"spacer;",20,60,"","Spacer",null,null,this.getTagsForStencil(l,"spacer",n).join(" ")),this.createVertexTemplateEntry(e+"steam_trap;",50,50,"T","Steam Trap",null,null,this.getTagsForStencil(l,"steam_trap",n).join(" ")),this.createVertexTemplateEntry(t+"t-type_strainer;",20,35,"","T-Type Strainer",null,null,this.getTagsForStencil(l,"t-type_strainer",n).join(" ")),this.createVertexTemplateEntry(t+"temporary_strainer;",30,30,"","Temporary Strainer",null,null,this.getTagsForStencil(l,"temporary_strainer",n).join(" ")),this.createVertexTemplateEntry(e+"vent_silencer;",20,80,"S","Vent Silencer",null,null,this.getTagsForStencil(l,"vent_silencer",n).join(" ")),this.createVertexTemplateEntry(t+"welded_connection;",50,20,"","Welded Connection",null,null,this.getTagsForStencil(l,"welded_connection",n).join(" ")),this.createVertexTemplateEntry(t+"y-type_strainer;pointerEvents=1;",50,35,"","Y-Type Strainer",null,null,this.getTagsForStencil(l,"y-type_strainer",n).join(" "))])},Sidebar.prototype.addPidMiscPalette=function(){var e=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;outlineConnect=0;align=center;dashed=0;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid2",t=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;outlineConnect=0;align=center;dashed=0;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.misc.",l="mxgraph.pid.misc",n="process instrumentation ";this.addPaletteFunctions("pidMisc","Proc. Eng. / Misc",!1,[this.createVertexTemplateEntry(e+"misc.fan;fanType=common",50,50,"","Fan",null,null,this.getTagsForStencil(l,"fan",n).join(" ")),this.createVertexTemplateEntry(e+"misc.column;columnType=common",50,120,"","Column",null,null,this.getTagsForStencil(l,"column",n).join(" ")),this.createVertexTemplateEntry(e+"misc.column;columnType=tray",50,120,"","Column (Tray)",null,null,this.getTagsForStencil(l,"column",n+"tray").join(" ")),this.createVertexTemplateEntry(e+"misc.column;columnType=fixed",50,180,"","Column (Fixed Bed)",null,null,this.getTagsForStencil(l,"column",n+"fixed bed").join(" ")),this.createVertexTemplateEntry(e+"misc.column;columnType=fluid",50,120,"","Column (Fluidized Bed)",null,null,this.getTagsForStencil(l,"column",n+"fluidized bed").join(" ")),this.createVertexTemplateEntry(e+"misc.column;columnType=baffle",50,120,"","Column (Staggered Baffle Trays)",null,null,this.getTagsForStencil(l,"column",n+"staggered baffle tray").join(" ")),this.createVertexTemplateEntry(e+"misc.column;columnType=bubble",50,120,"","Column (Bubble Cap Trays)",null,null,this.getTagsForStencil(l,"column",n+"bubble cap tray").join(" ")),this.createVertexTemplateEntry(e+"misc.column;columnType=valve",50,120,"","Column (Valve Trays)",null,null,this.getTagsForStencil(l,"column",n+"valve tray").join(" ")),this.createVertexTemplateEntry(e+"misc.column;columnType=nozzle",50,180,"","Column (Fixed Bed, Spray Nozzle)",null,null,this.getTagsForStencil(l,"column",n+"fixed bed spray nozzle").join(" ")),this.createVertexTemplateEntry(e+"misc.conveyor",200,50,"","Conveyor",null,null,this.getTagsForStencil(l,"conveyor",n).join(" ")),this.createVertexTemplateEntry(t+"aerator_with_sparger;",35,100,"","Aerator With Sparger",null,null,this.getTagsForStencil(l,"aerator_with_sparger",n).join(" ")),this.createVertexTemplateEntry(t+"air_cooler;",70,20,"","Air Cooler",null,null,this.getTagsForStencil(l,"air_cooler",n).join(" ")),this.createVertexTemplateEntry(t+"air_filter;",40,65,"","Air Filter",null,null,this.getTagsForStencil(l,"air_filter",n).join(" ")),this.createVertexTemplateEntry(t+"air_separator;",65.5,106,"","Air Separator",null,null,this.getTagsForStencil(l,"air_separator",n).join(" ")),this.createVertexTemplateEntry(t+"back_draft_damper;",62,32,"","Back Draft Damper",null,null,this.getTagsForStencil(l,"back_draft_damper",n).join(" ")),this.createVertexTemplateEntry(t+"bag_filling_machine;",80,100,"","Bag Filling Machine",null,null,this.getTagsForStencil(l,"bag_filling_machine",n).join(" ")),this.createVertexTemplateEntry(t+"belt_skimmer;",70,98,"","Belt Skimmer",null,null,this.getTagsForStencil(l,"belt_skimmer",n).join(" ")),this.createVertexTemplateEntry(t+"bin;",100,65,"","Bin",null,null,this.getTagsForStencil(l,"bin",n).join(" ")),this.createVertexTemplateEntry(t+"boiler_(dome);",100,120,"","Boiler (Dome)",null,null,this.getTagsForStencil(l,"boiler_(dome)",n).join(" ")),this.createVertexTemplateEntry(t+"boiler_(dome,_hot_liquid);",100,120,"","Boiler (Dome, Hot Liquid)",null,null,this.getTagsForStencil(l,"boiler_(dome,_hot_liquid)",n).join(" ")),this.createVertexTemplateEntry(t+"box_truck;",120,80,"","Box Truck",null,null,this.getTagsForStencil(l,"box_truck",n).join(" ")),this.createVertexTemplateEntry(t+"bucket_elevator;",65,200,"","Bucket Elevator",null,null,this.getTagsForStencil(l,"bucket_elevator",n).join(" ")),this.createVertexTemplateEntry(t+"chiller;",155,115,"","Chiller",null,null,this.getTagsForStencil(l,"chiller",n).join(" ")),this.createVertexTemplateEntry(t+"combustion_chamber;",130,100,"","Combustion Chamber",null,null,this.getTagsForStencil(l,"combustion_chamber",n).join(" ")),this.createVertexTemplateEntry(t+"conveyor;",200,60,"","Conveyor",null,null,this.getTagsForStencil(l,"conveyor",n).join(" ")),this.createVertexTemplateEntry(t+"conveyor_(belt);",200,50,"","Conveyor (Belt)",null,null,this.getTagsForStencil(l,"conveyor_(belt)",n).join(" ")),this.createVertexTemplateEntry(t+"conveyor_(belt,_closed);",240,80,"","Conveyor (Belt, Closed)",null,null,this.getTagsForStencil(l,"conveyor_(belt,_closed)",n).join(" ")),this.createVertexTemplateEntry(t+"conveyor_(belt,_closed,_reversible);",240,80,"","Conveyor (Belt, Closed, Reversible)",null,null,this.getTagsForStencil(l,"conveyor_(belt,_closed,_reversible)",n).join(" ")),this.createVertexTemplateEntry(t+"conveyor_(chain,_closed);",240,80,"","Conveyor (Chain, Closed)",null,null,this.getTagsForStencil(l,"conveyor_(chain,_closed)",n).join(" ")),this.createVertexTemplateEntry(t+"conveyor_(screw,_closed);",220,80,"","Conveyor (Screw, Closed)",null,null,this.getTagsForStencil(l,"conveyor_(screw,_closed)",n).join(" ")),this.createVertexTemplateEntry(t+"conveyor_(vibrating,_closed);",240,80,"","Conveyor (Vibrating, Closed)",null,null,this.getTagsForStencil(l,"conveyor_(vibrating,_closed)",n).join(" ")),this.createVertexTemplateEntry(t+"cooler;",85,90,"","Cooler",null,null,this.getTagsForStencil(l,"cooler",n).join(" ")),this.createVertexTemplateEntry(t+"cooling_tower",100,120,"","Cooling Tower",null,null,this.getTagsForStencil(l,"cooling_tower",n).join(" ")),this.createVertexTemplateEntry(t+"cooling_tower_(dry,_forced_draught);",100,120,"","Cooling Tower (Dry, Forced Draught)",null,null,this.getTagsForStencil(l,"cooling_tower_(dry,_forced_draught)",n).join(" ")),this.createVertexTemplateEntry(t+"cooling_tower_(dry,_induced_draught);",100,120,"","Cooling Tower (Dry, Induced Draught)",null,null,this.getTagsForStencil(l,"cooling_tower_(dry,_induced_draught)",n).join(" ")),this.createVertexTemplateEntry(t+"cooling_tower_(dry,_natural_draught);",100,120,"","Cooling Tower (Dry, Natural Draught)",null,null,this.getTagsForStencil(l,"cooling_tower_(dry,_natural_draught)",n).join(" ")),this.createVertexTemplateEntry(t+"cooling_tower_(wet,_forced_draught);",100,120,"","Cooling Tower (Wet, Forced Draught)",null,null,this.getTagsForStencil(l,"cooling_tower_(wet,_forced_draught)",n).join(" ")),this.createVertexTemplateEntry(t+"cooling_tower_(wet,_induced_draught);",100,120,"","Cooling Tower (Wet, Induced Draught)",null,null,this.getTagsForStencil(l,"cooling_tower_(wet,_induced_draught)",n).join(" ")),this.createVertexTemplateEntry(t+"cooling_tower_(wet,_natural_draught);",100,120,"","Cooling Tower (Wet, Natural Draught)",null,null,this.getTagsForStencil(l,"cooling_tower_(wet,_natural_draught)",n).join(" ")),this.createVertexTemplateEntry(t+"cooling_tower_(wet-dry,_natural_draught);",100,120,"","Cooling Tower (Wet-Dry, Natural Draught)",null,null,this.getTagsForStencil(l,"cooling_tower_(wet-dry,_natural_draught)",n).join(" ")),this.createVertexTemplateEntry(t+"covered_gas_vent;pointerEvents=1;",80,100,"","Covered Gas Vent",null,null,this.getTagsForStencil(l,"covered_gas_vent",n).join(" ")),this.createVertexTemplateEntry(t+"crane;",100,100,"","Crane",null,null,this.getTagsForStencil(l,"crane",n).join(" ")),this.createVertexTemplateEntry(t+"curved_gas_vent;pointerEvents=1;",30,70,"","Curved Gas Vent",null,null,this.getTagsForStencil(l,"curved_gas_vent",n).join(" ")),this.createVertexTemplateEntry(t+"cyclone;",100,80,"","Cyclone",null,null,this.getTagsForStencil(l,"cyclone",n).join(" ")),this.createVertexTemplateEntry(t+"dryer;",80,100,"","Dryer",null,null,this.getTagsForStencil(l,"dryer",n).join(" ")),this.createVertexTemplateEntry(t+"elevator_(bucket);",160,250,"","Elevator (Bucket)",null,null,this.getTagsForStencil(l,"elevator_(bucket)",n).join(" ")),this.createVertexTemplateEntry(t+"elevator_(bucket,_z-form);",430,250,"","Elevator (Bucket, Z-Form)",null,null,this.getTagsForStencil(l,"elevator_(bucket,_z-form)",n).join(" ")),this.createVertexTemplateEntry(t+"fan;",100,100,"","Fan",null,null,this.getTagsForStencil(l,"fan",n).join(" ")),this.createVertexTemplateEntry(t+"fan_2;",58,8,"","Fan 2",null,null,this.getTagsForStencil(l,"fan_2",n).join(" ")),this.createVertexTemplateEntry(t+"filter;",100,100,"","Filter",null,null,this.getTagsForStencil(l,"filter",n).join(" ")),this.createVertexTemplateEntry(t+"filter_2;",100,100,"","Filter 2",null,null,this.getTagsForStencil(l,"filter_2",n).join(" ")),this.createVertexTemplateEntry(t+"firing_system,_burner;",100,100,"","Firing System, Burner",null,null,this.getTagsForStencil(l,"firing_system,_burner",n).join(" ")),this.createVertexTemplateEntry(t+"flame_arrestor;",100,40,"","Flame Arrestor",null,null,this.getTagsForStencil(l,"flame_arrestor",n).join(" ")),this.createVertexTemplateEntry(t+"flexible_pipe;pointerEvents=1;",60,16,"","Flexible Pipe",null,null,this.getTagsForStencil(l,"flexible_pipe",n).join(" ")),this.createVertexTemplateEntry(t+"forced_flow_air_cooler;",70,30,"","Forced Flow Air Cooler",null,null,this.getTagsForStencil(l,"forced_flow_air_cooler",n).join(" ")),this.createVertexTemplateEntry(t+"forklift_(manual);",140,100,"","Forklift (Manual)",null,null,this.getTagsForStencil(l,"forklift_(manual)",n).join(" ")),this.createVertexTemplateEntry(t+"forklift_(truck);",140,100,"","Forklift (Truck)",null,null,this.getTagsForStencil(l,"forklift_(truck)",n).join(" ")),this.createVertexTemplateEntry(t+"funnel;pointerEvents=1;",40,80,"","Funnel",null,null,this.getTagsForStencil(l,"funnel",n).join(" ")),this.createVertexTemplateEntry(t+"gas_flare;",60,100,"","Gas Flare",null,null,this.getTagsForStencil(l,"gas_flare",n).join(" ")),this.createVertexTemplateEntry(t+"induced_flow_air_cooler;",93,30,"","Induced Flow Air Cooler",null,null,this.getTagsForStencil(l,"induced_flow_air_cooler",n).join(" ")),this.createVertexTemplateEntry(t+"industrial_truck;pointerEvents=1;",120,20,"","Industrial Truck",null,null,this.getTagsForStencil(l,"industrial_truck",n).join(" ")),this.createVertexTemplateEntry(t+"lift;",100,100,"","Lift",null,null,this.getTagsForStencil(l,"lift",n).join(" ")),this.createVertexTemplateEntry(t+"loading_arm;pointerEvents=1;",120,80,"","Loading Arm",null,null,this.getTagsForStencil(l,"loading_arm",n).join(" ")),this.createVertexTemplateEntry(t+"mixer;",80,100,"","Mixer",null,null,this.getTagsForStencil(l,"mixer",n).join(" ")),this.createVertexTemplateEntry(t+"palletizer;",80,100,"","Palletizer",null,null,this.getTagsForStencil(l,"palletizer",n).join(" ")),this.createVertexTemplateEntry(t+"protective_palette_covering;",80,100,"","Protective Palette Covering",null,null,this.getTagsForStencil(l,"protective_palette_covering",n).join(" ")),this.createVertexTemplateEntry(t+"roller_conveyor;",160,20,"","Roller Conveyor",null,null,this.getTagsForStencil(l,"roller_conveyor",n).join(" ")),this.createVertexTemplateEntry(t+"rolling_bin;",100,65,"","Rolling Bin",null,null,this.getTagsForStencil(l,"rolling_bin",n).join(" ")),this.createVertexTemplateEntry(t+"rotary_screen;",100,65,"","Rotary Screen",null,null,this.getTagsForStencil(l,"rotary_screen",n).join(" ")),this.createVertexTemplateEntry(t+"screening_device,_sieve,_strainer;",80,120,"","Screening Device, Sieve, Strainer",null,null,this.getTagsForStencil(l,"screening_device,_sieve,_strainer",n).join(" ")),this.createVertexTemplateEntry(t+"screening_device,_sieve,_strainer_(basket_reel);",80,180,"","Screening Device, Sieve, Strainer (Basket Reel)",null,null,this.getTagsForStencil(l,"screening_device,_sieve,_strainer_(basket_reel)",n).join(" ")),this.createVertexTemplateEntry(t+"screening_device,_sieve,_strainer_(coarse_and_fine_screens);",80,120,"","Screening Device, Sieve, Strainer (Coarse and Fine Screens)",null,null,this.getTagsForStencil(l,"screening_device,_sieve,_strainer_(coarse_and_fine_screens)",n).join(" ")),this.createVertexTemplateEntry(t+"screening_device,_sieve,_strainer_(coarse_rake);",80,120,"","Screening Device, Sieve, Strainer (Coarse Rake)",null,null,this.getTagsForStencil(l,"screening_device,_sieve,_strainer_(coarse_rake)",n).join(" ")),this.createVertexTemplateEntry(t+"screening_device,_sieve,_strainer_(fine_rake);",80,120,"","Screening Device, Sieve, Strainer (Fine Rake)",null,null,this.getTagsForStencil(l,"screening_device,_sieve,_strainer_(fine_rake)",n).join(" ")),this.createVertexTemplateEntry(t+"screening_device,_sieve,_strainer_(rotating_drum)",80,120,"","Screening Device, Sieve, Strainer (Rotating Drum)",null,null,this.getTagsForStencil(l,"screening_device,_sieve,_strainer_(rotating_drum)",n).join(" ")),this.createVertexTemplateEntry(t+"screening_device,_sieve,_strainer_(vibrating);",80,120,"","Screening Device, Sieve, Strainer (Vibrating)",null,null,this.getTagsForStencil(l,"screening_device,_sieve,_strainer_(vibrating)",n).join(" ")),this.createVertexTemplateEntry(t+"ship",105,60,"","Ship",null,null,this.getTagsForStencil(l,"ship",n).join(" ")),this.createVertexTemplateEntry(t+"silencer;",100,30,"","Silencer",null,null,this.getTagsForStencil(l,"silencer",n).join(" ")),this.createVertexTemplateEntry(t+"spraying_device;pointerEvents=1;",60,20,"","Spraying Device",null,null,this.getTagsForStencil(l,"spraying_device",n).join(" ")),this.createVertexTemplateEntry(t+"spray_cooler;",100,120,"","Spray Cooler",null,null,this.getTagsForStencil(l,"spray_cooler",n).join(" ")),this.createVertexTemplateEntry(t+"stack,_chimney;",60,100,"","Stack, Chimney",null,null,this.getTagsForStencil(l,"stack,_chimney",n).join(" ")),this.createVertexTemplateEntry(t+"steam_trap;",53,53,"","Steam Trap",null,null,this.getTagsForStencil(l,"steam_trap",n).join(" ")),this.createVertexTemplateEntry(t+"tank_car,_tank_wagon;",127,80,"","Tank Car, Tank Wagon",null,null,this.getTagsForStencil(l,"tank_car,_tank_wagon",n).join(" ")),this.createVertexTemplateEntry(t+"viewing_glass;",80,50,"","Viewing Glass",null,null,this.getTagsForStencil(l,"viewing_glass",n).join(" "))])};