12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093 |
- /**
- * Handles paste from Lucidchart
- *
- * TODO: Move to dynamic loading minimized plugin.
- */
- (function()
- {
- // Global import transformation
- var scale = 0.6;
- var dx = 0;
- var dy = 0;
-
- var arcSize = 6;
- var edgeStyle = 'html=1;';
- var vertexStyle = 'html=1;whiteSpace=wrap;';
- var labelStyle = 'text;html=1;resizable=0;labelBackgroundColor=#ffffff;';
-
- var c = "fillColor=#036897;strokeColor=#ffffff";
- var s = "shape=mxgraph.";
- var ss = "strokeColor=none;shape=mxgraph.";
- var cs = 'mxCompositeShape';
- // stencils with hardcoded rounding
- var hardRound = [
- 'GSDFDProcessBlock',
- 'RoundedRectangleContainerBlock',
- 'UI2ButtonBlock',
- 'UMLStateBlock'
- ];
-
- // stencils with hardcoded default rounding (having absolute rounding of arcSize=8 without declaring anything)
- var hardDefRound = [
- 'ProcessBlock',
- 'UMLActivationBlock'
- ];
- // stencils with hardcoded stroke color
- var hardStroke = [
- 'VennPlainColor1',
- 'VennPlainColor2',
- 'VennPlainColor3',
- 'VennPlainColor4',
- 'VennPlainColor5',
- 'VennPlainColor6',
- 'VennPlainColor7',
- 'VennPlainColor8',
- 'VennGradientColor1',
- 'VennGradientColor2',
- 'VennGradientColor3',
- 'VennGradientColor4',
- 'VennGradientColor5',
- 'VennGradientColor6',
- 'VennGradientColor7',
- 'VennGradientColor8',
- 'UMLEndBlock',
- 'DefaultTextBlockNew',
- 'iOSButton'
- ];
-
- //stencils with hardCoded fill color
- var hardFill = [
- 'AWSAndroidBlock3',
- 'AWSiOSBlock3',
- 'AWSJavaBlock3',
- 'AWSJavaScript',
- 'AWSNetBlock3',
- 'AWSNodeJSBlock3',
- 'AWSPHPBlock3',
- 'AWSPythonBlock3',
- 'AWSRubyBlock3',
- 'AWSXamarin',
- 'AWSCLIBlock3',
- 'AWSEclipseToolkitBlock3',
- 'AWSVisualStudioToolkitBlock3',
- 'AWSWindowsPowershellToolkitBlock3',
- 'DefaultTextBlock',
- 'RectangleContainerBlock',
- 'UMLStartBlock',
- 'UMLEndBlock',
- 'DefaultTextBlockNew',
- 'UMLHForkJoinBlock',
- 'iOSButton'
- ];
- // stencils with hardcoded opacity
- var hardOpacity = [
- 'VennPlainColor1',
- 'VennPlainColor2',
- 'VennPlainColor3',
- 'VennPlainColor4',
- 'VennPlainColor5',
- 'VennPlainColor6',
- 'VennPlainColor7',
- 'VennPlainColor8',
- 'VennGradientColor1',
- 'VennGradientColor2',
- 'VennGradientColor3',
- 'VennGradientColor4',
- 'VennGradientColor5',
- 'VennGradientColor6',
- 'VennGradientColor7',
- 'VennGradientColor8'
- ];
- //stencils to rotate counter clockwise 90 degrees
- var rccw = [
- 'AEUSBBlock',
- 'AGSCutandpasteBlock',
- 'iOSDeviceiPadLandscape',
- 'iOSDeviceiPadProLandscape'
- ];
-
- var edgeStyleMap = {
- 'None': 'none',
- 'Arrow': 'block;endFill=1',
- 'Hollow Arrow': 'block;endFill=0',
- 'Open Arrow': 'open;',
- 'CFN ERD Zero Or More Arrow': 'ERzeroToMany;startSize=10',
- 'CFN ERD One Or More Arrow': 'ERoneToMany;startSize=10',
- 'CFN ERD Many Arrow': 'ERmany;startSize=10',
- 'CFN ERD Exactly One Arrow': 'ERmandOne;startSize=10',
- 'CFN ERD Zero Or One Arrow': 'ERzeroToOne;startSize=10',
- 'CFN ERD One Arrow': 'ERone;startSize=16',
- 'Generalization': 'block;endFill=0;startSize=12',
- 'Big Open Arrow': 'open;startSize=10',
- 'Asynch1': 'openAsync;flipH=1;startSize=10',
- 'Asynch2': 'openAsync;startSize=10',
- 'Aggregation': 'diamond;endFill=0;startSize=16',
- 'Composition': 'diamond;endFill=1;startSize=16',
- 'BlockEnd': 'none;endFill=1;startSize=16'
- };
- var styleMap = {
- //Standard
- 'DefaultTextBlockNew': 'text;strokeColor=none;fillColor=none',
- 'DefaultTextBlock': 'text;strokeColor=none;fillColor=none',
- 'DefaultSquareBlock': '',
- 'DefaultNoteBlock': 'shape=note;size=15',
- 'DefaultNoteBlockV2': 'shape=note;size=15',
- 'HotspotBlock': 'strokeColor=none;opacity=50',
- 'ImageSearchBlock2': 'shape=image',
- //Flowchart
- 'ProcessBlock': '',
- 'DecisionBlock': 'rhombus',
- 'TerminatorBlock': 'rounded=1;arcSize=50',
- 'PredefinedProcessBlock': 'shape=process',
- 'DocumentBlock': 'shape=document',
- 'MultiDocumentBlock': s + 'flowchart.multi-document',
- 'ManualInputBlock': 'shape=manualInput;size=15',
- 'PreparationBlock': 'shape=hexagon',
- 'DataBlock': 'shape=parallelogram',
- 'DataBlockNew': 'shape=parallelogram',
- 'DatabaseBlock': 'shape=cylinder',
- 'DirectAccessStorageBlock': s + 'flowchart.direct_data',
- 'InternalStorageBlock': 'shape=internalStorage;dx=10;dy=10',
- 'PaperTapeBlock': 'shape=tape;size=0.2',
- 'ManualOperationBlockNew': 'shape=trapezoid;flipV=1',
- 'DelayBlock': 'shape=delay',
- 'StoredDataBlock': 'shape=dataStorage',
- 'MergeBlock': 'triangle;direction=south',
- 'ConnectorBlock': 'ellipse',
- 'OrBlock': s + 'flowchart.summing_function',
- 'SummingJunctionBlock': s + 'flowchart.or',
- 'DisplayBlock': 'shape=display',
- 'OffPageLinkBlock': 'shape=offPageConnector',
- 'BraceNoteBlock': cs,
- 'NoteBlock': s + 'flowchart.annotation_1',
- //Containers
- 'AdvancedSwimLaneBlock': cs,
- 'AdvancedSwimLaneBlockRotated': cs, //TODO
- // 'AdvancedSwimLaneBlockRotated': 'swimlane;horizontal=0', //TODO
- 'RectangleContainerBlock': 'fillColor=none;container=1',
- 'DiamondContainerBlock': 'shape=rhombus;fillColor=none;container=1',
- 'RoundedRectangleContainerBlock': 'fillColor=none;container=1;rounded=1;absoluteArcSize=1;arcSize=24',
- 'CircleContainerBlock': 'shape=ellipse;fillColor=none;container=1',
- 'PillContainerBlock': 'arcSize=50;fillColor=none;container=1',
- // 'BraceBlock' NA
- // 'BracketBlock' NA
- // 'BraceBlockRotated' NA
- // 'BracketBlockRotated' NA
- //Geometric shapes
- 'IsoscelesTriangleBlock': 'triangle;direction=north',
- 'RightTriangleBlock': s + 'basic.orthogonal_triangle',
- 'PentagonBlock': s + 'basic.pentagon',
- 'HexagonBlock': 'shape=hexagon',
- 'OctagonBlock': s + 'basic.octagon',
- 'CrossBlock': 'shape=cross;size=0.6',
- 'CloudBlock': 'ellipse;shape=cloud',
- 'HeartBlock': s + 'basic.heart',
- 'RightArrowBlock': 'shape=singleArrow;arrowWidth=0.5;arrowSize=0.3',
- 'DoubleArrowBlock': 'shape=doubleArrow;arrowWidth=0.5;arrowSize=0.3',
- 'CalloutBlock': s + 'basic.rectangular_callout',
- 'ShapeCircleBlock': 'ellipse',
- 'ShapePolyStarBlock': s + 'basic.star',
- 'ShapeDiamondBlock': 'rhombus',
- //Misc
- 'UI2HotspotBlock' : 'opacity=50;strokeColor=none',
- //Android Devices
- 'AndroidDevice' : cs,
- //Android Dialogs
- 'AndroidAlertDialog' : cs,
- 'AndroidDateDialog' : cs,
- 'AndroidTimeDialog' : cs,
- //Android Blocks
- 'AndroidListItems' : cs,
- 'AndroidTabs' : cs,
- 'AndroidProgressBar' : cs,
- 'AndroidImageBlock' : cs,
- 'AndroidTextBlock' : cs,
- 'AndroidActionBar' : cs,
- // 'AndroidBrowserBar' NA
- //Android Inputs
- 'AndroidButton' : cs,
- 'AndroidTextBox' : cs,
- 'AndroidRadioButton' : cs,
- 'AndroidCheckBox' : cs,
- 'AndroidToggle' : cs,
- 'AndroidSlider' : cs,
- //Android Icons (not working properly, needs specific code)
- 'AndroidIconCheck': s + 'ios7.misc.check',
- // 'AndroidIconBack' NA
- 'AndroidIconCancel' : s + 'atlassian.x',
- 'AndroidIconCollapse': s + 'ios7.misc.up',
- 'AndroidIconExpand': s + 'ios7.misc.down',
- // 'AndroidIconForward' NA
- 'AndroidIconNext': s + 'ios7.misc.right',
- 'AndroidIconPrevious': s + 'ios7.misc.left',
- 'AndroidIconRefresh' : + 'ios7.icons.repeat',
- 'AndroidIconInformation': s + 'ios7.icons.info',
- // 'AndroidIconHelp' NA
- 'AndroidIconSearch': s + 'ios7.icons.looking_glass',
- 'AndroidIconSettings': s + 'ios7.icons.volume;direction=south',
- // 'AndroidIconDislike' NA
- // 'AndroidIconLike' NA
- // 'AndroidIconDelete' NA
- // 'AndroidIconCopy' NA
- // 'AndroidIconCut' NA
- // 'AndroidIconPaste' NA
- 'AndroidIconTrash': s + 'ios7.icons.trashcan',
- 'AndroidIconEmail': s + 'mockup.misc.mail2',
- 'AndroidIconNew': s + 'ios7.misc.flagged',
- // 'AndroidIconImage' NA
- // 'AndroidIconUndo' NA
- // 'AndroidIconSharing' NA
- // 'AndroidIconDownload' NA
- // 'AndroidIconError' NA
- // 'AndroidIconWarning' NA
- //iOS mockups
- 'iOSDeviceiPhoneSE': s + 'ios7.misc.iphone',
- 'iOSDeviceiPhone6s': s + 'ios7.misc.iphone',
- 'iOSDeviceiPhone6sPlus': s + 'ios7.misc.iphone',
- 'iOSDeviceiPadPortrait': s + 'ios7.misc.ipad7inch',
- 'iOSDeviceiPadLandscape': s + 'ios7.misc.ipad7inch',
- 'iOSDeviceiPadProPortrait': s + 'ios7.misc.ipad7inch',
- 'iOSDeviceiPadProLandscape': s + 'ios7.misc.ipad10inch',
- //iOS UI components
- 'iOSButton': 'fillColor=none;strokeColor=none;',
- 'iOSSegmentedControl' : cs, //TODO
- 'iOSStepper': s + 'ios7.misc.adjust',
- 'iOSToggle': s + 'ios7ui.onOffButton;buttonState=on;strokeColor2=#aaaaaa;fillColor2=#ffffff',
- 'iOSSlider': cs,
- 'iOSProgressBar': cs,
- 'iOSPageControls': cs,
- 'iOSStatusBar' : cs,
- 'iOSSearchBar' : cs,
- 'iOSNavBar' : cs,
- 'iOSTabs' : cs,
- 'iOSUniversalKeyboard': s + 'ios.iKeybLett',
- 'iOSDatePicker' : cs,
- 'iOSTimePicker' : cs,
- 'iOSCountdownPicker' : cs,
- 'iOSBasicCell' : cs,
- 'iOSSubtitleCell' : cs,
- 'iOSRightDetailCell' : cs,
- 'iOSLeftDetailCell' : cs,
- 'iOSTableGroupedSectionBreak' : cs,
- 'iOSTablePlainHeaderFooter' : cs,
- //Mind Map
- 'MindMapBlock' : '',
- 'MindMapStadiumBlock' : 'arcSize=50',
- 'MindMapCloud' : 'shape=cloud',
- 'MindMapCircle' : 'shape=ellipse',
- 'MindMapIsoscelesTriangleBlock' : 'shape=triangle;direction=north',
- 'MindMapDiamondBlock' : 'shape=rhombus',
- 'MindMapPentagonBlock' : s + 'basic.pentagon',
- 'MindMapHexagonBlock' : 'shape=hexagon',
- 'MindMapOctagonBlock' : s + 'basic.octagon',
- 'MindMapCrossBlock' : s + 'basic.cross2;dx=20',
- //Entity Relationship
- 'ERDEntityBlock' : cs, //TODO
- 'ERDEntityBlock2' : cs, //TODO
- 'ERDEntityBlock3' : cs, //TODO
- 'ERDEntityBlock4' : cs, //TODO
- //Site Maps
- 'SMPage' : cs,
- 'SMHome' : cs,
- // 'SMGallery' NA
- // 'SMShopping' NA
- // 'SMMap' NA
- // 'SMAthletics' NA
- // 'SMLogin' NA
- 'SMPrint' : cs,
- // 'SMScript' NA
- 'SMSearch' : cs,
- 'SMSettings' : cs,
- 'SMSitemap' : cs,
- 'SMSuccess' : cs,
- 'SMVideo' : cs,
- 'SMAudio' : cs,
- // 'SMBlog' NA
- 'SMCalendar' : cs,
- 'SMChart' : cs,
- 'SMCloud' : cs,
- 'SMDocument' : cs,
- // 'SMDownload' NA
- // 'SMError' NA
- 'SMForm' : cs,
- 'SMGame' : cs,
- // 'SMJobs' NA
- // 'SMLucid' NA
- // 'SMNewspress' NA
- // 'SMPhoto' NA
- // 'SMPortfolio' NA
- // 'SMPricing' NA
- // 'SMProfile' NA
- // 'SMSlideshow' NA
- 'SMUpload' : cs,
- //UML Class Diagram
- 'UMLClassBlock': '',
- 'UMLActiveClassBlock': 'shape=process',
- // 'UMLMultiplicityBlock' NA
- 'UMLPackageBlock': 'shape=folder;tabPosition=left',
- // 'UMLConstraintBlock' NA
- 'UMLNoteBlock': 'shape=note;size=15',
- 'UMLTextBlock': 'shape=text;strokeColor=none;fillColor=none',
- //UML Use Case
- 'UMLActorBlock': 'shape=umlActor;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;whiteSpace=nowrap',
- 'UMLUseCaseBlock': 'shape=ellipse',
- 'UMLCircleContainerBlock': 'shape=ellipse;container=1',
- 'UMLRectangleContainerBlock': 'container=1',
- //UML State/Activity
- 'UMLOptionLoopBlock' : s + 'sysml.package2;xSize=90;overflow=fill',
- 'UMLAlternativeBlock2' : s + 'sysml.package2;xSize=90;overflow=fill',
- 'UMLStartBlock' : 'shape=ellipse;fillColor=#000000',
- 'UMLStateBlock' : 'rounded=1;arcSize=20',
- 'UMLDecisionBlock' : 'shape=rhombus;',
- 'UMLHForkJoinBlock' : 'fillColor=#000000',
- 'UMLVForkJoinBlock' : 'fillColor=#000000',
- 'UMLFlowFinalBlock' : s + 'flowchart.or',
- 'UMLHistoryStateBlock' : 'shape=ellipse',
- 'UMLEndBlock' : s + 'bpmn.shape;outline=end;symbol=terminate;strokeColor=#000000;fillColor=#ffffff',
- 'UMLObjectBlock' : '',
- 'UMLSendSignalBlock' : s + 'sysml.sendSigAct',
- 'UMLReceiveSignalBlock' : s + 'sysml.accEvent;flipH=1',
- 'UMLAcceptTimeEventActionBlock' : s + 'sysml.timeEvent',
- // 'UMLInterruptingEdgeBlock' NA
- 'UMLOffPageLinkBlock' : s + 'sysml.sendSigAct;direction=south',
- // 'UMLExpansionNodeBlock' NA
- 'UMLMultiLanePoolBlock' : cs, //TODO
- 'UMLMultiLanePoolRotatedBlock' : cs, //TODO
- 'UMLMultidimensionalSwimlane' : cs, //TODO
- //UML Sequence
- 'UMLActivationBlock' : '',
- 'UMLDeletionBlock' : s + 'sysml.x;strokeWidth=4',
- // 'UMLAlternativeBlock' NA
- 'UMLSeqEntityBlock' : s + 'electrical.radio.microphone_1;direction=north',
- // 'UMLBoundaryBlock' NA
- // 'UMLControlBlock'NA
- //UML Component
- 'UMLComponentBlock' : 'shape=component;align=left;spacingLeft=36',
- 'UMLNodeBlock' : 'shape=cube;size=12;flipH=1',
- 'UMLComponentInterfaceBlock' : 'shape=ellipse',
- 'UMLComponentBoxBlock' : cs, //TODO
- // 'UMLAssemblyConnectorBlock' NA
- 'UMLProvidedInterfaceBlock' : 'shape=lollipop;direction=south',
- 'UMLRequiredInterfaceBlock' : 'shape=requires;direction=north',
- //UML Deployment
- //UML Entity Relationship
- 'UMLEntityBlock' : '',
- 'UMLWeakEntityBlock' : 'shape=ext;double=1',
- 'UMLAttributeBlock' : 'shape=ellipse',
- 'UMLMultivaluedAttributeBlock' : 'shape=doubleEllipse',
- 'UMLRelationshipBlock' : 'shape=rhombus',
- 'UMLWeakRelationshipBlock' : 'shape=rhombus;double=1',
- //BPMN 2.0
- 'BPMNActivity' : cs, //TODO
- // 'BPMNActivity' : cs, //TODO
- // 'BPMNEvent' : cs, //TODO
- // 'BPMNChoreography' : cs, //TODO
- // 'BPMNConversation' : cs, //TODO
- 'BPMNGateway' : cs, //TODO
- 'BPMNData' : cs, //TODO
- 'BPMNDataStore' : cs, //TODO
- 'BPMNAdvancedPoolBlock' : cs, //TODO
- 'BPMNAdvancedPoolBlockRotated' : cs, //TODO
- 'BPMNBlackPool' : cs, //TODO
- //Data Flow
- // 'DFDExternalEntityBlock' NA
- 'DFDExternalEntityBlock2' : '',
- 'YDMDFDProcessBlock' : 'shape=ellipse',
- 'YDMDFDDataStoreBlock' : 'shape=partialRectangle;right=0;left=0',
- 'GSDFDProcessBlock' : 'shape=swimlane;rounded=1;arcSize=10',
- 'GSDFDProcessBlock2' : '',
- // 'GSDFDDataStoreBlock' NA
- 'GSDFDDataStoreBlock2' : 'shape=partialRectangle;right=0',
-
- //Org Chart
- 'OrgBlock' : '',
- //Tables
- 'DefaultTableBlock' : cs, //TODO
- //Processes
- 'VSMCustomerSupplierBlock' : s + 'lean_mapping.outside_sources',
- 'VSMDedicatedProcessBlock' : s + 'lean_mapping.manufacturing_process',
- 'VSMSharedProcessBlock' : s + 'lean_mapping.manufacturing_process_shared',
- 'VSMWorkcellBlock' : s + 'lean_mapping.work_cell',
- 'VSMDatacellBlock' : cs, //TODO
- //Materials
- 'VSMInventoryBlock' : s + 'lean_mapping.inventory_box',
- 'VSMSupermarketBlock' : cs, //TODO
- 'VSMPhysicalPullBlock' : s + 'lean_mapping.physical_pull;direction=south',
- 'VSMFIFOLaneBlock' : s + 'lean_mapping.fifo_sequence_flow;fontStyle=0;fontSize=20',
- 'VSMSafetyBufferStockBlock' : cs, //TODO
- //Shipments
- 'VSMExternalShipmentAirplaneBlock' : s + 'lean_mapping.airplane_7',
- 'VSMExternalShipmentForkliftBlock' : s + 'lean_mapping.move_by_forklift',
- 'VSMExternalShipmentTruckBlock' : s + 'lean_mapping.truck_shipment',
- 'VSMExternalShipmentBoatBlock' : s + 'lean_mapping.boat_shipment',
- //Information
- 'VSMProductionControlBlock' : s + 'lean_mapping.manufacturing_process',
- 'VSMOtherInformationBlock' : '',
- // 'VSMHeijyunkaBoxBlock' NA
- 'VSMSequencedPullBallBlock' : s + 'lean_mapping.sequenced_pull_ball',
- 'VSMMRPERPBlock' : s + 'lean_mapping.mrp_erp;whiteSpace=wrap',
- 'VSMLoadLevelingBlock' : s + 'lean_mapping.load_leveling',
- 'VSMGoSeeBlock' : s + 'lean_mapping.go_see_production_scheduling;flipH=1',
- 'VSMGoSeeProductionBlock' : 'shape=ellipse',
- 'VSMVerbalInfoBlock' : s + 'lean_mapping.verbal',
- //Value Stream Mapping
- 'VSMKaizenBurstBlock' : s + 'lean_mapping.kaizen_lightening_burst',
- 'VSMOperatorBlock' : s + 'lean_mapping.operator;flipV=1',
- 'VSMTimelineBlock' : cs, //TODO
- 'VSMQualityProblemBlock' : s + 'lean_mapping.quality_problem',
- //Kanban
- 'VSMProductionKanbanSingleBlock' : s + 'lean_mapping.production_kanban',
- // 'VSMProductionKanbanBatchBlock' NA
- 'VSMWithdrawalKanbanBlock' : s + 'lean_mapping.withdrawal_kanban',
- // 'VSMWithdrawalKanbanBatchBlock' NA
- 'VSMSignalKanbanBlock' : s + 'lean_mapping.signal_kanban',
- 'VSMKanbanPostBlock' : s + 'lean_mapping.kanban_post',
- //Arrows
- 'VSMShipmentArrow': 'shape=singleArrow;arrowWidth=0.5;arrowSize=0.13',
- 'VSMPushArrow' : s + 'lean_mapping.push_arrow',
- 'VSMElectronicInformationArrow' : s + 'lean_mapping.electronic_info_flow_edge;', //TODO
- //EC2
- 'AWSElasticComputeCloudBlock2' : ss + 'aws3.ec2',
- 'AWSInstanceBlock2' : ss + 'aws3.instance',
- 'AWSInstancesBlock2' : ss + 'aws3.instances',
- 'AWSAMIBlock2' : ss + 'aws3.ami',
- 'AWSDBonInstanceBlock2' : ss + 'aws3.db_on_instance',
- 'AWSInstanceCloudWatchBlock2' : ss + 'aws3.instance_with_cloudwatch',
- 'AWSElasticIPBlock2' : ss + 'aws3.elastic_ip',
- 'AWSHDFSClusterBlock2' : ss + 'aws3.hdfs_cluster',
- 'AWSAutoScalingBlock2' : ss + 'aws3.auto_scaling',
- 'AWSEC2OptimizedInstance2' : ss + 'aws3.optimized_instance',
- 'AWSAmazonEC2(Spotinstance)' : ss + 'aws3.spot_instance',
- 'AWSAmazonECR' : ss + 'aws3.ecr',
- 'AWSAmazonECS' : ss + 'aws3.ecs',
- 'AWSLambda2' : ss + 'aws3.lambda',
- 'AWSElasticLoadBalancing' : ss + 'aws3.elastic_load_balancing',
- //Networking
- 'AWSElasticLoadBlock2' : ss + 'aws3.classic_load_balancer',
- 'AWSDirectConnectBlock3' : ss + 'aws3.direct_connect',
- 'AWSElasticNetworkBlock2' : ss + 'aws3.elastic_network_interface',
- 'AWSRoute53Block2' : ss + 'aws3.route_53',
- 'AWSHostedZoneBlock2' : ss + 'aws3.hosted_zone;fontColor=#FFFFFF;fontStyle=1',
- 'AWSRouteTableBlock2' : ss + 'aws3.route_table',
- 'AWSVPCBlock2' : ss + 'aws3.vpc',
- 'AWSVPNConnectionBlock2' : ss + 'aws3.vpn_connection',
- 'AWSVPNGatewayBlock2' : ss + 'aws3.vpn_gateway',
- 'AWSCustomerGatewayBlock2' : ss + 'aws3.customer_gateway',
- 'AWSCustomerGatewayBlock3' : ss + 'aws3.customer_gateway',
- 'AWSInternetGatewayBlock2' : ss + 'aws3.internet_gateway',
- 'AWSRouterBlock2' : ss + 'aws3.router',
- 'AWSRouterBlock3' : ss + 'aws3.router',
- 'AWSAmazonVPC(endpoints)' : ss + 'aws3.endpoints',
- 'AWSAmazonVPC(flowlogs)' : ss + 'aws3.flow_logs',
- 'AWSAmazonVPC(VPCNATgateway)' : ss + 'aws3.vpc_nat_gateway',
- 'AWSVPCPeering3' : ss + 'aws3.vpc_peering',
-
- //S3
- 'AWSSimpleStorageBlock2' : ss + 'aws3.s3',
- 'AWSBucketBlock2' : ss + 'aws3.bucket;fontStyle=1;fontColor=#ffffff',
- 'AWSBuckethWithObjectsBlock2' : ss + 'aws3.bucket_with_objects',
- 'AWSObjectBlock2' : ss + 'aws3.object;fontStyle=1;fontColor=#ffffff',
- 'AWSImportExportBlock2' : ss + 'aws3.import_export',
- 'AWSStorageGatewayBlock2' : ss + 'aws3.storage_gateway',
- 'AWSElasticBlockStorageBlock2' : ss + 'aws3.volume;fontStyle=1;fontColor=#ffffff',
- 'AWSVolumeBlock3' : ss + 'aws3.volume;fontStyle=1;fontColor=#ffffff',
- 'AWSSnapshotBlock2' : ss + 'aws3.snapshot;fontStyle=1;fontColor=#ffffff',
- 'AWSGlacierArchiveBlock3' : ss + 'aws3.archive',
- 'AWSGlacierVaultBlock3' : ss + 'aws3.vault',
- 'AWSAmazonEFS' : ss + 'aws3.efs',
- 'AWSGlacierBlock2' : ss + 'aws3.glacier',
- 'AWSAWSImportExportSnowball' : ss + 'aws3.snowball',
- 'AWSStorageGatewayCachedVolumn2' : ss + 'aws3.cached_volume',
- 'AWSStorageGatewayNon-CachedVolumn2' : ss + 'aws3.non_cached_volume',
- 'AWSStorageGatewayVirtualTapeLibrary2' : ss + 'aws3.virtual_tape_library',
- //Content Delivery
- 'AWSCloudFrontBlock2' : ss + 'aws3.cloudfront',
- 'AWSDownloadDistBlock2' : ss + 'aws3.download_distribution',
- 'AWSStreamingBlock2' : ss + 'aws3.streaming_distribution',
- 'AWSEdgeLocationBlock2' : ss + 'aws3.edge_location',
- //Database
- 'AWSItemBlock2' : ss + 'aws3.item',
- 'AWSItemsBlock2' : ss + 'aws3.items',
- 'AWSAttributeBlock2' : ss + 'aws3.attribute',
- 'AWSAttributesBlock2' : ss + 'aws3.attributes',
- 'AWSRDBSBlock2' : ss + 'aws3.rds',
- 'AWSRDSInstanceBlock2' : ss + 'aws3.rds_db_instance',
- 'AWSRDSStandbyBlock2' : ss + 'aws3.rds_db_instance_standby_multi_az',
- 'AWSRDSInstanceReadBlock2' : ss + 'aws3.rds_db_instance_read_replica',
- 'AWSOracleDBBlock2' : ss + 'aws3.oracle_db_instance',
- 'AWSMySQLDBBlock2' : ss + 'aws3.mysql_db_instance',
- 'AWSDynamoDBBlock2' : ss + 'aws3.dynamo_db',
- 'AWSSimpleDatabaseBlock3' : ss + 'aws2.database.simpledb',
- 'AWSSimpleDatabaseDomainBlock3' : ss + 'aws2.database.simpledb_domain',
- 'AWSTableBlock2' : ss + 'aws3.table',
- 'AWSAmazonRedShiftBlock3' : ss + 'aws3.redshift',
- 'AWSElastiCacheNodeBlock2' : ss + 'aws3.cache_node',
- 'AWSElastiCacheBlock2' : ss + 'aws3.elasticache',
- 'AWSDynamoDBGlobalSecondaryIndexes2' : ss + 'aws3.global_secondary_index',
- 'AWSAmazonElastiCacheMemcache2' : ss + 'aws3.memcached',
- 'AWSAmazonElastiCacheRedis2' : ss + 'aws3.redis',
- 'AWSAmazonRDSMSSQLInstance2' : ss + 'aws3.ms_sql_instance_2',
- 'AWSMSSQLDBBlock3' : ss + 'aws3.ms_sql_instance',
- 'AWSAmazonRDSMySQLDBInstance2' : ss + 'aws3.mysql_db_instance_2',
- 'AWSAmazonRDSOracleDBInstance2' : ss + 'aws3.oracle_db_instance_2',
- 'AWSRDSReplicasetswithPIOP2' : ss + 'aws3.piop',
- 'AWSAmazonRDSPostgreSQL2' : ss + 'aws3.postgre_sql_instance',
- 'AWSRDSMasterSQL2' : ss + 'aws3.sql_master',
- 'AWSRDSSlaveSQL2' : ss + 'aws3.sql_slave',
- 'AWSAmazonRedshift(densecomputenode)' : ss + 'aws3.dense_compute_node',
- 'AWSAmazonRedshift(densestoragenode)' : ss + 'aws3.dense_storage_node',
- 'AWSAWSDatabaseMigrationService' : ss + 'aws3.database_migration_service',
- //Security Identity
- 'AWSACM' : ss + 'aws3.certificate_manager',
- 'AWSAmazonInspector' : ss + 'aws3.inspector',
- 'AWSAWSCloudHSM' : ss + 'aws3.cloudhsm',
- 'AWSDirectoryService2' : ss + 'aws3.directory_service',
- 'AWSAWSKMS' : ss + 'aws3.kms',
- 'AWSAWSWAF' : ss + 'aws3.waf',
- 'AWSACM(certificate-manager)' : ss + 'aws3.certificate_manager_2',
- //App Services
- 'AWSSESBlock2' : ss + 'aws3.ses',
- 'AWSEmailBlock2' : ss + 'aws3.email',
- 'AWSSNSBlock2' : ss + 'aws3.sns',
- 'AWSSQSBlock3' : ss + 'aws3.sqs',
- 'AWSQueueBlock2' : ss + 'aws3.queue',
- 'AWSMessageBlock2' : ss + 'aws3.message',
- 'AWSDeciderBlock2' : ss + 'aws3.decider',
- 'AWSSWFBlock2' : ss + 'aws3.swf',
- 'AWSWorkerBlock2' : ss + 'aws3.worker',
- 'AWSCloudSearchBlock2' : ss + 'aws3.cloudsearch',
- 'AWSCloudSearchMetadataBlock3' : ss + 'aws3.search_documents',
- 'AWSElasticTranscoder3' : ss + 'aws3.elastic_transcoder',
- 'AWSAmazonAPIGateway' : ss + 'aws3.api_gateway',
- 'AWSAppStream2' : ss + 'aws3.appstream',
- //Deployment
- 'AWSCloudFormationBlock2' : ss + 'aws3.cloudformation',
- 'AWSDataPipelineBlock3' : ss + 'aws3.data_pipeline',
- 'AWSDataPipelineBlock2' : ss + 'aws3.data_pipeline',
- 'AWSTemplageBlock2' : ss + 'aws3.template',
- 'AWSStackBlock2' : ss + 'aws3.stack_aws_cloudformation',
- 'AWSBeanStockBlock2' : ss + 'aws3.elastic_beanstalk',
- 'AWSApplicationBlock2' : ss + 'aws3.application',
- 'AWSBeanstalkDeploymentBlock3' : ss + 'aws3.deployment',
- 'AWSIAMBlock3' : ss + 'aws3.iam',
- 'AWSIAMSTSBlock3' : ss + 'aws3.sts',
- 'AWSIAMAddonBlock2' : ss + 'aws3.add_on',
- 'AWSCloudWatchBlock3' : ss + 'aws3.cloudwatch',
- 'AWSCloudWatchAlarmBlock2' : ss + 'aws3.alarm',
- 'AWSIAMSecurityTokenService2' : ss + 'aws3.sts_2',
- 'AWSIAMDataEncryptionKey2' : ss + 'aws3.data_encryption_key',
- 'AWSIAMEncryptedData2' : ss + 'aws3.encrypted_data',
- 'AWSAWSIAM(long-termsecuritycredential)' : ss + 'aws3.long_term_security_credential',
- 'AWSIAMMFAToken2' : ss + 'aws3.mfa_token',
- 'AWSIAMPermissions2' : ss + 'aws3.permissions_2',
- 'AWSIAMRoles2' : ss + 'aws3.role',
- 'AWSAWSIAM(temporarysecuritycredential)' : ss + 'aws3.long_term_security_credential',
- 'AWSCloudTrail2' : ss + 'aws3.cloudtrail',
- 'AWSConfig2' : ss + 'aws3.config',
- 'AWSOpsWorksBlock3' : ss + 'aws3.opsworks',
- 'AWSAWSServiceCatalog' : ss + 'aws3.service_catalog',
- 'AWSTrustedAdvisor2' : ss + 'aws3.trusted_advisor',
- 'AWSOpsWorksApps2' : ss + 'aws3.apps',
- 'AWSOpsWorksDeployments2' : ss + 'aws3.deployments',
- 'AWSOpsWorksInstances2' : ss + 'aws3.instances_2',
- 'AWSOpsWorksLayers2' : ss + 'aws3.layers',
- 'AWSOpsWorksMonitoring2' : ss + 'aws3.monitoring',
- 'AWSOpsWorksPermissions2' : ss + 'aws3.permissions',
- 'AWSOpsWorksResources2' : ss + 'aws3.resources',
- 'AWSOpsWorksStack2' : ss + 'aws3.stack_aws_opsworks',
- //On-Demand
- 'AWSMechanicalTurkBlock3' : ss + 'aws3.mechanical_turk',
- 'AWSHumanITBlock2' : ss + 'aws3.human_intelligence_tasks_hit',
- 'AWSAssignmentTaskBlock2' : ss + 'aws3.requester',
- 'AWSWorkersBlock2' : ss + 'aws3.users',
- 'AWSRequesterBlock2' : ss + 'aws3.assignment_task',
- //SDKs
- 'AWSAndroidBlock3': ss + 'aws3.android;fillColor=#96BF3D',
- 'AWSiOSBlock3' : ss + 'aws3.android;fillColor=#CFCFCF',
- 'AWSJavaBlock3' : ss + 'aws3.android;fillColor=#EE472A',
- 'AWSJavaScript' : ss + 'aws3.android;fillColor=#205E00',
- 'AWSNetBlock3' : ss + 'aws3.android;fillColor=#115193',
- 'AWSNodeJSBlock3' : ss + 'aws3.android;fillColor=#8CC64F',
- 'AWSPHPBlock3' : ss + 'aws3.android;fillColor=#5A69A4',
- 'AWSPythonBlock3' : ss + 'aws3.android;fillColor=#FFD44F',
- 'AWSRubyBlock3' : ss + 'aws3.android;fillColor=#AE1F23',
- 'AWSXamarin' : ss + 'aws3.android;fillColor=#4090D7',
- 'AWSCLIBlock3' : ss + 'aws3.cli;fillColor=#444444',
- 'AWSEclipseToolkitBlock3' : ss + 'aws3.toolkit_for_eclipse;fillColor=#342074',
- 'AWSVisualStudioToolkitBlock3' : ss + 'aws3.toolkit_for_visual_studio;fillColor=#53B1CB',
- 'AWSWindowsPowershellToolkitBlock3' : ss + 'aws3.toolkit_for_windows_powershell;fillColor=#737373',
- //Analytics
- 'AWSAmazonElasticsearchService' : ss + 'aws3.elasticsearch_service',
- 'AWSElasticMapReduceBlock2' : ss + 'aws3.emr',
- 'AWSClusterBlock2' : ss + 'aws3.emr_cluster',
- 'AWSEMREngine2' : ss + 'aws3.emr_engine',
- 'AWSEMRMapRM3Engine2' : ss + 'aws3.emr_engine_mapr_m3',
- 'AWSEMRMapRM5Engine2' : ss + 'aws3.emr_engine_mapr_m5',
- 'AWSEMRMapRM7Engine2' : ss + 'aws3.emr_engine_mapr_m7',
- 'AWSKinesis2' : ss + 'aws3.kinesis',
- 'AWSAmazonKinesis(AmazonKinesisAnalytics)' : ss + 'aws3.kinesis',
- 'AWSKinesisEnabledApp2' : ss + 'aws3.kinesis_enabled_app',
- 'AWSAmazonKinesis(AmazonKinesisFirehose)' : ss + 'aws3.kinesis_firehose',
- 'AWSAmazonKinesis(AmazonKinesisStreams)' : ss + 'aws3.kinesis_streams',
- 'AWSAmazonMachineLearning' : ss + 'aws3.machine_learning',
- 'AWSAmazonQuickSight' : ss + 'aws3.quicksight',
- //Mobile Services
- 'AWSCognito2' : ss + 'aws3.cognito',
- 'AWSMobileAnalytics2' : ss + 'aws3.mobile_analytics',
- 'AWSAWSDeviceFarm' : ss + 'aws3.device_farm',
- 'AWSAWSMobileHub' : ss + 'aws3.mobile_hub;gradientColor=#AD688A;gradientDirection=east',
- 'AWSTopicBlock2' : ss + 'aws3.topic_2;fontStyle=1;fontColor=#ffffff;verticalAlign=top;spacingTop=-5',
- 'AWSEmailNotificationBlock2' : ss + 'aws3.email_notification',
- 'AWSHTTPNotificationBlock2' : ss + 'aws3.http_notification',
- //Developer Tools
- 'AWSAWSCodeCommit' : ss + 'aws3.codecommit',
- 'AWSCodeDeploy2' : ss + 'aws3.codedeploy',
- 'AWSAWSCodePipeline' : ss + 'aws3.codepipeline',
- //Enterprise Application
- 'AWSWorkDocs2' : ss + 'aws3.workdocs',
- 'AWSAmazonWorkMail' : ss + 'aws3.workmail',
- 'AWSAmazonWorkSpaces2' : ss + 'aws3.workspaces',
- //Internet of Things
- 'AWSAWSIoT' : ss + 'aws3.aws_iot',
- 'AWSAWSIoT(action)' : ss + 'aws3.action',
- 'AWSAWSIoT(actuator)' : ss + 'aws3.actuator',
- 'AWSAWSIoT(certificate)' : ss + 'aws3.certificate',
- 'AWSAWSIoT(desiredstate)' : ss + 'aws3.desired_state',
- 'AWSAWSIoT(hardwareboard)' : ss + 'aws3.hardware_board',
- 'AWSAWSIoT(HTTP2protocol)' : ss + 'aws3.http_2_protocol',
- 'AWSAWSIoT(HTTPprotocol)' : ss + 'aws3.http_protocol',
- 'AWSAWSIoT(MQTTprotocol)' : ss + 'aws3.mqtt_protocol',
- 'AWSAWSIoT(policy)' : ss + 'aws3.policy',
- 'AWSAWSIoT(reportedstate)' : ss + 'aws3.reported_state',
- 'AWSAWSIoT(rule)' : ss + 'aws3.rule',
- 'AWSAWSIoT(sensor)' : ss + 'aws3.sensor',
- 'AWSAWSIoT(servo)' : ss + 'aws3.servo',
- 'AWSAWSIoT(shadow)' : ss + 'aws3.shadow',
- 'AWSAWSIoT(simulator)' : ss + 'aws3.simulator',
- 'AWSAWSIoT(thingbank)' : ss + 'aws3.bank',
- 'AWSAWSIoT(thingbicycle)' : ss + 'aws3.bicycle',
- 'AWSAWSIoT(thingcamera)' : ss + 'aws3.camera',
- 'AWSAWSIoT(thingcar)' : ss + 'aws3.car',
- 'AWSAWSIoT(thingcart)' : ss + 'aws3.cart',
- 'AWSAWSIoT(thingcoffeepot)' : ss + 'aws3.coffee_pot',
- 'AWSAWSIoT(thingdoorlock)' : ss + 'aws3.door_lock',
- 'AWSAWSIoT(thingfactory)' : ss + 'aws3.factory',
- 'AWSAWSIoT(thinggeneric)' : ss + 'aws3.generic',
- 'AWSAWSIoT(thinghouse)' : ss + 'aws3.house',
- 'AWSAWSIoT(thinglightbulb)' : ss + 'aws3.lightbulb',
- 'AWSAWSIoT(thingmedicalemergency)' : ss + 'aws3.medical_emergency',
- 'AWSAWSIoT(thingpoliceemergency)' : ss + 'aws3.police_emergency',
- 'AWSAWSIoT(thingthermostat)' : ss + 'aws3.thermostat',
- 'AWSAWSIoT(thingtravel)' : ss + 'aws3.travel',
- 'AWSAWSIoT(thingutility)' : ss + 'aws3.utility',
- 'AWSAWSIoT(thingwindfarm)' : ss + 'aws3.windfarm',
- 'AWSAWSIoT(topic)' : ss + 'aws3.topic',
-
- //AWS General
- 'AWSCloudBlock2' : ss + 'aws3.cloud',
- 'AWSVPCloudBlock3' : ss + 'aws3.virtual_private_cloud',
- 'AWSUserBlock2' : ss + 'aws3.user',
- 'AWSUsersBlock2' : ss + 'aws3.users',
- 'AWSClientBlock2' : ss + 'aws3.management_console',
- 'AWSMobileClientBlock2' : ss + 'aws3.mobile_client',
- 'AWSGenericDatabaseBlock3' : ss + 'aws3.generic_database',
- 'AWSDiskBlock3' : ss + 'aws3.disk',
- 'AWSTapeStorageBlock3' : ss + 'aws3.tape_storage',
- 'AWSMediaBlock2' : ss + 'aws3.multimedia',
- 'AWSDataCenterBlock2' : ss + 'aws3.corporate_data_center',
- 'AWSServerBlock2' : ss + 'aws3.traditional_server',
- 'AWSInternetBlock2' : ss + 'aws2.non-service_specific.internet',
- 'AWSForumsBlock3' : ss + 'aws3.forums',
- 'AWSManagementBlock2' : ss + 'aws3.management_console',
- 'AWSAmazonElasticCacheNode2' : ss + 'aws3.cache_node',
- 'AWSAmazonRedshiftDW1Cluster2' : ss + 'aws3.dense_compute_node',
- 'AWSAmazonRedshiftDW2Cluster2' : ss + 'aws3.dense_storage_node',
- 'AWSAmazonRedshiftSSDFamilyCluster2' : ss + 'aws3.dense_storage_node',
- 'AWSAmazonRoute53RouteTable2' : ss + 'aws3.route_table',
- // 'AWSExampleIAMBlock2' NA
- 'AWSSubnetBlock2' : ss + 'aws3.permissions',
- //AWS Containers
- 'AWSRoundedRectangleContainerBlock2' : cs, //TODO
- //Azure Cloud
- 'ACAccessControlBlock' : ss + 'azure.access_control',
- 'ACAPIAppsBlock' : ss + 'mscae.cloud.api_app',
- 'ACAPIManagementBlock' : ss + 'mscae.cloud.api_management',
- 'ACAppInsightsBlock' : ss + 'mscae.cloud.application_insights',
- 'ACAppServicesBlock' : ss + 'mscae.cloud.app_service',
- 'ACAutoscalingBlock' : ss + 'azure.autoscale',
- 'ACAzureActiveDirectoryBlock' : ss + 'azure.azure_active_directory',
- 'ACAzurealertBlock' : ss + 'azure.azure_alert',
- 'ACAzureAutomationBlock' : ss + 'azure.automation',
- 'ACAzureBatchBlock' : ss + 'mscae.cloud.azure_batch',
- 'ACAzureRedisBlock' : ss + 'azure.azure_cache',
- 'ACAzureFilesBlock' : ss + 'mscae.cloud.azure_files_service',
- 'ACAzureloadbalancerBlock' : ss + 'mscae.cloud.azure_automatic_load_balancer',
- 'ACAzureMarketplaceBlock' : ss + 'azure.azure_marketplace',
- 'ACAzureRightManagementRMSBlock' : ss + 'mscae.cloud.azure_rights_management_rms',
- 'ACAzureSDKBlock' : ss + 'azure.azure_sdk',
- 'ACAzureSearchBlock' : ss + 'mscae.cloud.azure_search',
- 'ACAzureSQLdatabaseBlock' : ss + 'azure.sql_database_sql_azure',
- 'ACAzuresubscriptionBlock' : ss + 'azure.azure_subscription',
- 'ACAzureWebsitesBlock' : ss + 'azure.azure_website',
- 'ACBackupServiceBlock' : ss + 'azure.backup_service',
- 'ACBitbucketcodesourceBlock' : ss + 'azure.bitbucket_code_source',
- 'ACBizTalkServicesBlock' : ss + 'azure.biztalk_services',
- 'ACCloudServiceBlock' : ss + 'azure.cloud_service',
- 'ACCodePlexBlock' : ss + 'azure.codeplex_code_source',
- // 'ACComputeBlock' NA
- 'ACContentDeliveryNetworkBlock' : ss + 'azure.content_delivery_network',
- 'ACDataFactoryBlock' : ss + 'mscae.cloud.data_factory',
- // 'ACDataservicesBlock' NA
- 'ACDocumentDBBlock' : ss + 'mscae.cloud.documentdb',
- 'ACDropboxcodesourceBlock' : ss + 'azure.dropbox_code_source',
- 'ACEventsHubBlock' : ss + 'mscae.cloud.event_hubs',
- 'ACExpressRouteBlock' : ss + 'azure.express_route',
- 'ACGitHubBlock' : ss + 'azure.github_code',
- 'ACGitrepositoryBlock' : ss + 'azure.git_repository',
- 'ACHDInsightBlock' : ss + 'mscae.cloud.hdinsight',
- 'ACHealthmonitoringBlock' : ss + 'azure.health_monitoring',
- 'ACHealthyBlock' : ss + 'azure.healthy',
- 'ACHybridConnectionBlock' : ss + 'mscae.cloud.hybrid_connections',
- 'ACBizTalkhybridconnectionBlock' : ss + 'mscae.cloud.hybrid_connection_manager',
- 'ACKeyVaultBlock' : ss + 'mscae.cloud.key_vault',
- 'ACLogicAppBlock' : ss + 'mscae.cloud.logic_app',
- 'ACMachineLearningBlock' : ss + 'mscae.cloud.machine_learning',
- 'ACMediaServicesBlock' : ss + 'azure.media_service',
- 'ACMicrosoftaccountBlock' : ss + 'mscae.cloud.microsoft_account',
- 'ACMicrosoftAzureBlock' : ss + 'mscae.cloud.microsoft_azure',
- 'ACMobileEngagementBlock' : ss + 'mscae.cloud.mobile_engagement',
- 'ACMobileServicesBlock' : ss + 'mscae.cloud.mobile_app',
- 'ACMultiFactorAuthBlock' : ss + 'azure.multi_factor_authentication',
- 'ACMySQLdatabaseBlock' : ss + 'azure.mysql_database',
- 'ACNotificationHubsBlock' : ss + 'azure.notification_hub',
- 'ACNotificationtopicBlock' : ss + 'azure.notification_topic',
- 'ACOperationalInsightsBlock' : ss + 'mscae.cloud.operational_insights',
- 'ACOSimageBlock' : ss + 'azure.operating_system_image',
- 'ACRemoteAppBlock' : ss + 'mscae.cloud.remoteapp',
- 'ACrpdRemotingfileBlock' : ss + 'azure.rdp_remoting_file',
- 'ACSchedulerBlock' : ss + 'azure.scheduler',
- 'ACServiceBusBlock' : ss + 'azure.service_bus',
- 'ACServiceBusQueueBlock' : ss + 'azure.service_bus_queues',
- 'ACServiceBusRelayBlock' : ss + 'azure.service_bus_relay',
- 'ACServiceBusTopicBlock' : ss + 'azure.service_bus_topics_and_subscriptions',
- 'ACServiceEndpointBlock' : ss + 'mscae.cloud.service_endpoint',
- 'ACServicepackageBlock' : ss + 'mscae.cloud.service_package',
- 'ACSiteRecoveryBlock' : ss + 'azure.hyper_v_recovery_manager',
- 'ACSQLdatabasegenericBlock' : ss + 'azure.sql_database',
- // 'ACSQLDatabasePremiumBlock' NA
- 'ACSQLdatasyncBlock' : ss + 'azure.sql_datasync',
- 'ACSQLreportingdeprecatedBlock' : ss + 'azure.sql_reporting',
- 'ACStartuptaskBlock' : ss + 'azure.startup_task',
- 'ACStorageAzureBlock' : ss + 'mscae.cloud.azure_storage',
- 'ACStorageblobBlock' : ss + 'azure.storage_blob',
- 'ACStoragequeueBlock' : ss + 'azure.storage_queue',
- 'ACStoragetableBlock' : ss + 'azure.storage_table',
- 'ACStorSimpleBlock' : ss + 'azure.storsimple',
- 'ACStreamAnalyticsBlock' : ss + 'mscae.cloud.stream_analytics',
- 'ACTrafficManagerBlock' : ss + 'azure.traffic_manager',
- 'ACAlienBlock' : ss + 'azure.unidentified_code_object',
- 'ACVHDBlock' : ss + 'azure.vhd',
- 'ACVHDdatadiskBlock' : ss + 'azure.vhd_data_disk',
- 'ACVirtualmachineBlock' : ss + 'azure.virtual_machine',
- 'ACVirtualmachinecontainerBlock' : ss + 'mscae.cloud.virtual_machine_container',
- 'ACVirtualnetworkBlock' : ss + 'azure.virtual_network',
- 'ACVisualStudioOnlineBlock' : ss + 'azure.visual_studio_online',
- 'ACVMsymbolonlyBlock' : ss + 'azure.virtual_machine_feature',
- 'ACWebJobsBlock' : ss + 'mscae.cloud.webjobs',
- 'ACWebroleBlock' : ss + 'azure.web_role',
- 'ACWebrolesBlock' : ss + 'azure.web_roles',
- 'ACWorkaccountBlock' : ss + 'mscae.cloud.work_account',
- 'ACWorkerroleBlock' : ss + 'azure.worker_role',
- 'ACWorkerrolesBlock' : ss + 'azure.worker_roles',
- 'ADNSBlock' : ss + 'mscae.cloud.azure_dns',
- // 'AGatewayBlock' NA
- 'ACLoadBalancerBlock' : ss + 'mscae.cloud.azure_load_balancer_feature',
- 'ACResourceGroupBlock' : ss + 'mscae.cloud.resource_group',
- 'ACVPNGatewayBlock' : ss + 'mscae.cloud.vpn_gateway',
- //Azure Enterprise
- 'AEActiveDirectoryFSPBlock' : ss + 'mscae.enterprise.d',
- 'AEADFSBlock' : ss + 'mscae.enterprise.ad_fs',
- 'AEAndroidPhoneBlock' : ss + 'mscae.enterprise.android_phone',
- 'AEappblankfortextBlock' : ss + 'mscae.enterprise.application_blank',
- 'AEAppGenericBlock' : ss + 'mscae.enterprise.app_generic',
- 'AEAppserverBlock' : ss + 'mscae.enterprise.application_server',
- 'AEBackuplocalBlock' : ss + 'mscae.enterprise.backup_local',
- 'AEBackuponlineBlock' : ss + 'mscae.enterprise.backup_online',
- 'AECalendarBlock' : ss + 'mscae.general.calendar',
- 'AECertificateBlock' : ss + 'azure.certificate',
- 'AEClientAppBlock' : ss + 'mscae.enterprise.client_application',
- 'AECloudBlock' : ss + 'mscae.enterprise.internet',
- 'AEClusterserverBlock' : ss + 'mscae.enterprise.cluster_server',
- 'AECodefileBlock' : ss + 'azure.code_file',
- 'AEConnectorsBlock' : ss + 'mscae.enterprise.connectors',
- 'AEDatabasegenericBlock' : ss + 'mscae.enterprise.database_generic',
- 'AEDatabaseserverBlock' : ss + 'mscae.enterprise.database_server',
- 'AEDatabasesyncBlock' : ss + 'mscae.enterprise.database_synchronization',
- 'AEDeviceBlock' : ss + 'mscae.enterprise.device',
- 'AEDirectaccessBlock' : ss + 'mscae.enterprise.direct_access_feature',
- 'AEDocumentBlock' : ss + 'mscae.enterprise.document',
- 'AEDomaincontrollerBlock' : ss + 'mscae.enterprise.domain_controller',
- 'AEEnterpriseBuildingBlock' : ss + 'azure.enterprise',
- 'AEFilegeneralBlock' : ss + 'azure.file',
- 'AEFilterBlock' : ss + 'mscae.enterprise.filter',
- 'AEFirewallBlock' : ss + 'mscae.enterprise.firewall',
- 'AEFolderBlock' : ss + 'mscae.enterprise.folder',
- 'AEGatewayBlock' : ss + 'mscae.enterprise.gateway',
- 'AEGenericcodeBlock' : ss + 'azure.code_file',
- 'AEGraphBlock' : ss + 'mscae.general.graph',
- 'AEHealthmonitoringBlock' : ss + 'azure.health_monitoring',
- 'AEHealthyBlock' : ss + 'azure.healthy',
- 'AEImportgenericBlock' : ss + 'mscae.enterprise.import_generic',
- 'AEInternetBlock' : ss + 'mscae.enterprise.internet',
- 'AEKeyboardBlock' : ss + 'mscae.enterprise.keyboard',
- 'AEKeypermissionsBlock' : ss + 'mscae.enterprise.key_permissions',
- 'AELaptopcomputerBlock' : ss + 'azure.laptop',
- 'AELoadbalancerBlock' : ss + 'azure.load_balancer_generic',
- 'AELoadTestingBlock' : ss + 'mscae.enterprise.load_testing',
- 'AELockprotectedBlock' : ss + 'mscae.enterprise.lock',
- 'AELockunprotectedBlock' : ss + 'mscae.enterprise.lock_unlocked',
- 'AEMaintenanceBlock' : ss + 'mscae.enterprise.maintenance',
- 'AEManagementconsoleBlock' : ss + 'mscae.enterprise.management_console',
- 'AEMessageBlock' : ss + 'azure.message',
- 'AEMonitorBlock' : ss + 'azure.computer',
- 'AEMonitorrunningappsBlock' : ss + 'mscae.enterprise.monitor_running_apps',
- 'AEMouseBlock' : ss + 'mscae.enterprise.mouse',
- 'AENetworkcardBlock' : ss + 'mscae.enterprise.network_card',
- 'AENotallowedBlock' : ss + 'mscae.general.not_allowed',
- 'AEPerformanceBlock' : ss + 'mscae.enterprise.performance',
- 'AEPerformancemonitorBlock' : ss + 'mscae.enterprise.performance_monitor',
- 'AEPhoneBlock' : ss + 'azure.mobile',
- 'AEPlugandplayBlock' : ss + 'mscae.enterprise.plug_and_play',
- 'AEPowershellscriptfileBlock' : ss + 'azure.powershell_file',
- 'AEProtocolstackBlock' : ss + 'mscae.enterprise.protocol_stack',
- 'AEQueuegeneralBlock' : ss + 'azure.queue_generic',
- 'AERMSconnectorBlock' : ss + 'mscae.enterprise.rms_connector',
- 'AERouterBlock' : ss + 'mscae.enterprise.router',
- 'AEScriptfileBlock' : ss + 'azure.script_file',
- 'AESecurevirtualmachineBlock' : ss + 'mscae.enterprise.secure_virtual_machine',
- 'AEServerbladeBlock' : ss + 'azure.server',
- 'AEServerdirectoryBlock' : ss + 'mscae.enterprise.server_directory',
- 'AEServerfarmBlock' : ss + 'mscae.enterprise.server_farm',
- 'AEServergenericBlock' : ss + 'mscae.enterprise.server_generic',
- 'AEServerrackBlock' : ss + 'azure.server_rack',
- 'AESettingsBlock' : ss + 'mscae.enterprise.settings',
- 'AESharedfolderBlock' : ss + 'mscae.enterprise.shared_folder',
- 'AESmartcardBlock' : ss + 'mscae.enterprise.smartcard',
- 'AEStorageBlock' : ss + 'mscae.enterprise.storage',
- 'AETableBlock' : ss + 'mscae.enterprise.table',
- 'AETabletBlock' : ss + 'azure.tablet',
- 'AEToolBlock' : ss + 'mscae.enterprise.tool',
- 'AETunnelBlock' : ss + 'mscae.general.tunnel',
- 'AEUnhealthyBlock' : ss + 'mscae.enterprise.unhealthy',
- 'AEUSBBlock' : ss + 'mscae.enterprise.usb',
- 'AEUserBlock' : ss + 'azure.user',
- 'AEVideoBlock' : ss + 'mscae.general.video',
- 'AEVirtualmachineBlock' : ss + 'azure.virtual_machine_feature',
- 'AEWebBlock' : ss + 'mscae.enterprise.web',
- 'AEWebserverBlock' : ss + 'mscae.enterprise.web_server',
- 'AEWindowsserverBlock' : ss + 'mscae.enterprise.windows_server',
- 'AEWirelessconnectionBlock' : ss + 'mscae.enterprise.wireless_connection',
- 'AEWorkstationclientBlock' : ss + 'mscae.enterprise.workstation_client',
- 'AEXMLwebserviceBlock' : ss + 'mscae.enterprise.xml_web_service',
- 'AGSAudioBlock' : ss + 'mscae.general.audio',
- 'AGSBugBlock' : ss + 'mscae.general.bug',
- 'AGSCablesettopTVboxBlock' : ss + 'mscae.general.cable_settop_tv_box',
- 'AGSCalendarBlock' : ss + 'mscae.general.calendar',
- 'AGSChartBlock' : ss + 'mscae.general.chart',
- 'AGSCheckmarkSuccessBlock' : ss + 'mscae.general.checkmark',
- 'AGSContinousCycleCircleBlock' : ss + 'mscae.general.continuous_cycle',
- 'AGSCrossoutFailureBlock' : ss + 'mscae.general.crossout',
- 'AGSCutandpasteBlock' : ss + 'mscae.general.cut_and_paste',
- 'AGSFolderBlock' : ss + 'mscae.enterprise.folder',
- 'AGSGamecontrollerBlock' : ss + 'mscae.general.game_controller',
- 'AGSGearsBlock' : ss + 'mscae.general.gears',
- 'AGSGraphBlock' : ss + 'mscae.general.graph',
- 'AGSLikeBlock' : ss + 'mscae.general.like',
- 'AGSNotallowedBlock' : ss + 'mscae.general.not_allowed',
- 'AGSSliderbarhorizontalBlock' : ss + 'mscae.general.slider_bar_horizontal',
- 'AGSSliderbarvertBlock' : ss + 'mscae.general.slider_bar_vertical',
- 'AGSTasklistorBacklogBlock' : ss + 'mscae.general.task_list',
- 'AGSTasksBlock' : ss + 'mscae.general.tasks',
- 'AGSTunnelBlock' : ss + 'mscae.general.tunnel',
- 'AGSUserBlock' : ss + 'azure.user',
- 'AGSVideoBlock' : ss + 'mscae.general.video',
- // Azure VMS
- // 'AVMActiveDirectoryVMBlock' NA
- // 'AVMActiveDirectoryVMmultiBlock' NA
- // 'AVMAppServerVMBlock' NA
- // 'AVMAppServerVMmultiBlock' NA
- // 'AVMDatabaseServerVMBlock' NA
- // 'AVMDatabaseServerVMmultiBlock' NA
- // 'AVMDirectoryServerVMBlock' NA
- // 'AVMDirectoryServerVMmultiBlock' NA
- // 'AVMDomainServerVMBlock' NA
- // 'AVMDomainServerVMmultiBlock' NA
- // 'AVMFileServerVMBlock' NA
- // 'AVMFileServerVMmultiBlock' NA
- // 'AVMWebServerVMBlock' NA
- // 'AVMWebServerVMmultiBlock' NA
- // 'AVMWindowsServerVMBlock' NA
- // 'AVMWindowsServerVMmultiBlock' NA
- //Cisco Basic
- 'Cisco_cisco_androgenous_person' : s + 'cisco.people.androgenous_person;' + c,
- 'Cisco_cisco_atm_switch' : s + 'cisco.switches.atm_switch;' + c,
- 'Cisco_cisco_cloud' : s + 'cisco.storage.cloud;strokeColor=#036897;fillColor=#ffffff',
- 'Cisco_cisco_fileserver' : s + 'cisco.servers.fileserver;' + c,
- 'Cisco_cisco_firewall' : s + 'cisco.security.firewall;' + c,
- 'Cisco_cisco_generic_building' : s + 'cisco.buildings.generic_building;' + c,
- 'Cisco_cisco_laptop' : s + 'cisco.computers_and_peripherals.laptop;' + c,
- 'Cisco_cisco_lock' : s + 'cisco.security.lock;' + c,
- 'Cisco_cisco_microwebserver' : s + 'cisco.servers.microwebserver;' + c,
- 'Cisco_cisco_pc' : s + 'cisco.computers_and_peripherals.pc;' + c,
- 'Cisco_cisco_pda' : s + 'cisco.misc.pda;' + c,
- 'Cisco_cisco_phone' : s + 'cisco.modems_and_phones.hootphone;' + c,
- 'Cisco_cisco_printer' : s + 'cisco.computers_and_peripherals.printer;' + c,
- 'Cisco_cisco_relational_database' : s + 'cisco.storage.relational_database;' + c,
- 'Cisco_cisco_router' : s + 'cisco.routers.router;' + c,
- 'Cisco_cisco_standing_man' : s + 'cisco.people.standing_man;' + c,
- 'Cisco_cisco_standing_woman' : s + 'cisco.people.standing_woman;' + c,
- 'Cisco_cisco_ups' : s + 'cisco.misc.ups;' + c,
- 'Cisco_cisco_wireless_router' : s + 'cisco.routers.wireless_router;' + c,
- //Cisco Extended
- 'Cisco_cisco_100baset_hub' : s + 'cisco.hubs_and_gateways.100baset_hub;' + c,
- 'Cisco_cisco_10700' : s + 'cisco.routers.10700;' + c,
- 'Cisco_cisco_10GE_FCoE' : s + 'cisco.controllers_and_modules.10ge_fcoe;' + c,
- 'Cisco_cisco_15200' : s + 'cisco.misc.15200;' + c,
- 'Cisco_cisco_3174__desktop_' : s + 'cisco.controllers_and_modules.3174_(desktop)_cluster_controller;' + c,
- 'Cisco_cisco_3200_mobile_access_router' : s + 'cisco.routers.mobile_access_router;' + c,
- 'Cisco_cisco_3x74__floor_' : s + 'cisco.controllers_and_modules.3x74_(floor)_cluster_controller;' + c,
- 'Cisco_cisco_6700_series' : s + 'cisco.misc.6700_series;' + c,
- 'Cisco_cisco_7500ars__7513_' : s + 'cisco.misc.7500ars_(7513);' + c,
- // 'Cisco_cisco_access_gateway' NA
- 'Cisco_cisco_accesspoint' : s + 'cisco.misc.access_point;' + c,
- 'Cisco_cisco_ace' : s + 'cisco.misc.ace;' + c,
- 'Cisco_cisco_ACS' : s + 'cisco.misc.acs;' + c,
- 'Cisco_cisco_adm' : s + 'cisco.misc.adm;' + c,
- 'Cisco_cisco_antenna' : s + 'cisco.wireless.antenna;' + c,
- 'Cisco_cisco_asic_processor' : s + 'cisco.misc.asic_processor;' + c,
- 'Cisco_cisco_ASR_1000_Series' : s + 'cisco.misc.asr_1000_series;' + c,
- 'Cisco_cisco_ata' : s + 'cisco.misc.ata;' + c,
- 'Cisco_cisco_atm_3800' : s + 'cisco.misc.atm_3800;' + c,
- 'Cisco_cisco_atm_fast_gigabit_etherswitch' : s + 'cisco.switches.atm_fast_gigabit_etherswitch;' + c,
- 'Cisco_cisco_atm_router' : s + 'cisco.routers.atm_router;' + c,
- 'Cisco_cisco_atm_tag_switch_router' : s + 'cisco.routers.atm_tag_switch_router;' + c,
- 'Cisco_cisco_avs' : s + 'cisco.misc.avs;' + c,
- 'Cisco_cisco_AXP' : s + 'cisco.misc.axp;' + c,
- // 'Cisco_cisco_bbfw_media' NA
- // 'Cisco_cisco_bbfw' NA
- 'Cisco_cisco_bbsm' : s + 'cisco.misc.bbsm;' + c,
- 'Cisco_cisco_branch_office' : s + 'cisco.buildings.branch_office;' + c,
- 'Cisco_cisco_breakout_box' : s + 'cisco.misc.breakout_box;' + c,
- 'Cisco_cisco_bridge' : s + 'cisco.misc.bridge;' + c,
- 'Cisco_cisco_broadband_router' : s + 'cisco.routers.broadcast_router;' + c,
- 'Cisco_cisco_bts_10200' : s + 'cisco.misc.bts_10200;' + c,
- 'Cisco_cisco_cable_modem' : s + 'cisco.modems_and_phones.cable_modem;' + c,
- 'Cisco_cisco_callmanager' : s + 'cisco.misc.call_manager;' + c,
- 'Cisco_cisco_car' : s + 'cisco.misc.car;' + c,
- 'Cisco_cisco_carrier_routing_system' : s + 'cisco.misc.carrier_routing_system;' + c,
- 'Cisco_cisco_cddi_fddi' : s + 'cisco.misc.cddi_fddi;' + c,
- 'Cisco_cisco_cdm' : s + 'cisco.misc.cdm;' + c,
- 'Cisco_cisco_cellular_phone' : s + 'cisco.modems_and_phones.cell_phone;' + c,
- 'Cisco_cisco_centri_firewall' : s + 'cisco.security.centri_firewall;' + c,
- 'Cisco_cisco_cisco_1000' : s + 'cisco.misc.cisco_1000;' + c,
- 'Cisco_cisco_cisco_asa_5500' : s + 'cisco.misc.asa_5500;' + c,
- 'Cisco_cisco_cisco_ca' : s + 'cisco.misc.cisco_ca;' + c,
- 'Cisco_cisco_cisco_file_engine' : s + 'cisco.storage.cisco_file_engine;' + c,
- 'Cisco_cisco_cisco_hub' : s + 'cisco.hubs_and_gateways.cisco_hub;' + c,
- 'Cisco_cisco_ciscosecurity' : s + 'cisco.security.cisco_security;' + c,
- // 'Cisco_cisco_Cisco_telepresence_manager' NA
- 'Cisco_cisco_cisco_unified_presence_server' : s + 'cisco.servers.cisco_unified_presence_server;' + c,
- 'Cisco_cisco_cisco_unityexpress' : s + 'cisco.misc.cisco_unity_express;' + c,
- 'Cisco_cisco_ciscoworks' : s + 'cisco.misc.cisco_works;' + c,
- 'Cisco_cisco_class_4_5_switch' : s + 'cisco.switches.class_4_5_switch;' + c,
- 'Cisco_cisco_communications_server' : s + 'cisco.servers.communications_server;' + c,
- 'Cisco_cisco_contact_center' : s + 'cisco.misc.contact_center;' + c,
- 'Cisco_cisco_content_engine__cache_director_' : s + 'cisco.directors.content_engine_(cache_director);' + c,
- 'Cisco_cisco_content_service_router' : s + 'cisco.routers.content_service_router;' + c,
- 'Cisco_cisco_content_service_switch_1100' : s + 'cisco.switches.content_service_switch_1100;' + c,
- 'Cisco_cisco_content_switch_module' : s + 'cisco.controllers_and_modules.content_switch_module;' + c,
- 'Cisco_cisco_content_switch' : s + 'cisco.switches.content_switch;' + c,
- 'Cisco_cisco_content_transformation_engine__cte_' : s + 'cisco.misc.content_transformation_engine_(cte);' + c,
- 'Cisco_cisco_cs_mars' : s + 'cisco.misc.cs-mars;' + c,
- 'Cisco_cisco_csm_s' : s + 'cisco.misc.csm-s;' + c,
- 'Cisco_cisco_csu_dsu' : s + 'cisco.misc.csu_dsu;' + c,
- 'Cisco_cisco_CUBE' : s + 'cisco.misc.cube;' + c,
- 'Cisco_cisco_detector' : s + 'cisco.misc.detector;' + c,
- 'Cisco_cisco_director_class_fibre_channel_director' : s + 'cisco.directors.director-class_fibre_channel_director;' + c,
- 'Cisco_cisco_directory_server' : s + 'cisco.servers.directory_server;' + c,
- 'Cisco_cisco_diskette' : s + 'cisco.storage.diskette;' + c,
- 'Cisco_cisco_distributed_director' : s + 'cisco.directors.distributed_director;' + c,
- 'Cisco_cisco_dot_dot' : s + 'cisco.misc.dot-dot;' + c,
- 'Cisco_cisco_dpt' : s + 'cisco.misc.dpt;' + c,
- 'Cisco_cisco_dslam' : s + 'cisco.misc.dslam;' + c,
- 'Cisco_cisco_dual_mode_ap' : s + 'cisco.misc.dual_mode;' + c,
- 'Cisco_cisco_dwdm_filter' : s + 'cisco.misc.dwdm_filter;' + c,
- 'Cisco_cisco_end_office' : s + 'cisco.buildings.end_office;' + c,
- 'Cisco_cisco_fax' : s + 'cisco.modems_and_phones.fax;' + c,
- 'Cisco_cisco_fc_storage' : s + 'cisco.storage.fc_storage;' + c,
- 'Cisco_cisco_fddi_ring' : s + 'cisco.misc.fddi_ring;strokeColor=#036897;',
- 'Cisco_cisco_fibre_channel_disk_subsystem' : s + 'cisco.storage.fibre_channel_disk_subsystem;' + c,
- 'Cisco_cisco_fibre_channel_fabric_switch' : s + 'cisco.switches.fibre_channel_fabric_switch;' + c,
- 'Cisco_cisco_file_cabinet' : s + 'cisco.storage.file_cabinet;' + c,
- 'Cisco_cisco_file_server' : s + 'cisco.servers.file_server;' + c,
- 'Cisco_cisco_firewall_service_module__fwsm_' : s + 'cisco.controllers_and_modules.firewall_service_module_(fwsm);' + c,
- 'Cisco_cisco_front_end_processor' : s + 'cisco.misc.front_end_processor;' + c,
- 'Cisco_cisco_gatekeeper' : s + 'cisco.security.gatekeeper;strokeColor=#036897;',
- 'Cisco_cisco_general_applicance' : s + 'cisco.misc.general_appliance;' + c,
- 'Cisco_cisco_generic_gateway' : s + 'cisco.hubs_and_gateways.generic_gateway;' + c,
- 'Cisco_cisco_generic_processor' : s + 'cisco.misc.generic_processor;' + c,
- 'Cisco_cisco_generic_softswitch' : s + 'cisco.switches.generic_softswitch;' + c,
- 'Cisco_cisco_gigabit_switch_atm_tag_router' : s + 'cisco.routers.gigabit_switch_atm_tag_router;' + c,
- 'Cisco_cisco_government_building' : s + 'cisco.buildings.government_building;' + c,
- 'Cisco_cisco_Ground_terminal' : s + 'cisco.wireless.ground_terminal;' + c,
- 'Cisco_cisco_guard' : s + 'cisco.security.guard;' + c,
- 'Cisco_cisco_handheld' : s + 'cisco.misc.handheld;' + c,
- 'Cisco_cisco_hootphone' : s + 'cisco.modems_and_phones.hootphone;' + c,
- 'Cisco_cisco_host' : s + 'cisco.servers.host;' + c,
- 'Cisco_cisco_hp_mini' : s + 'cisco.misc.hp_mini;' + c,
- 'Cisco_cisco_h' : s + 'cisco.misc.h_323;' + c,
- 'Cisco_cisco_hub' : s + 'cisco.hubs_and_gateways.hub;' + c,
- 'Cisco_cisco_iad_router' : s + 'cisco.routers.iad_router;' + c,
- 'Cisco_cisco_ibm_mainframe' : s + 'cisco.computers_and_peripherals.ibm_mainframe;' + c,
- 'Cisco_cisco_ibm_mini_as400' : s + 'cisco.computers_and_peripherals.ibm_mini_as400;' + c,
- 'Cisco_cisco_ibm_tower' : s + 'cisco.computers_and_peripherals.ibm_tower;' + c,
- 'Cisco_cisco_icm' : s + 'cisco.misc.icm;' + c,
- 'Cisco_cisco_ics' : s + 'cisco.misc.ics;' + c,
- 'Cisco_cisco_intelliswitch_stack' : s + 'cisco.switches.intelliswitch_stack;' + c,
- 'Cisco_cisco_ios_firewall' : s + 'cisco.security.ios_firewall;' + c,
- 'Cisco_cisco_ios_slb' : s + 'cisco.misc.ios_slb;' + c,
- 'Cisco_cisco_ip_communicator' : s + 'cisco.misc.ip_communicator;' + c,
- 'Cisco_cisco_ip_dsl' : s + 'cisco.misc.ip_dsl;' + c,
- 'Cisco_cisco_ip_phone' : s + 'cisco.modems_and_phones.ip_phone;' + c,
- 'Cisco_cisco_ip' : s + 'cisco.misc.ip;' + c,
- 'Cisco_cisco_iptc' : s + 'cisco.misc.iptc;' + c,
- 'Cisco_cisco_ip_telephony_router' : s + 'cisco.routers.ip_telephony_router;' + c,
- 'Cisco_cisco_iptv_content_manager' : s + 'cisco.misc.iptv_content_manager;' + c,
- 'Cisco_cisco_iptv_server' : s + 'cisco.servers.iptv_server;' + c,
- 'Cisco_cisco_iscsi_router' : s + 'cisco.routers.isci_router;' + c,
- 'Cisco_cisco_isdn_switch' : s + 'cisco.switches.isdn_switch;' + c,
- 'Cisco_cisco_itp' : s + 'cisco.misc.itp;' + c,
- 'Cisco_cisco_jbod' : s + 'cisco.misc.jbod;' + c,
- 'Cisco_cisco_key' : s + 'cisco.misc.key;' + c,
- 'Cisco_cisco_keys' : s + 'cisco.misc.keys;' + c,
- 'Cisco_cisco_lan_to_lan' : s + 'cisco.misc.lan_to_lan;' + c,
- 'Cisco_cisco_layer_2_remote_switch' : s + 'cisco.switches.layer_2_remote_switch;' + c,
- 'Cisco_cisco_layer_3_switch' : s + 'cisco.switches.layer_3_switch;' + c,
- 'Cisco_cisco_lightweight_ap' : s + 'cisco.misc.lightweight_ap;' + c,
- 'Cisco_cisco_localdirector' : s + 'cisco.directors.localdirector;' + c,
- 'Cisco_cisco_longreach_cpe' : s + 'cisco.misc.longreach_cpe;' + c,
- 'Cisco_cisco_macintosh' : s + 'cisco.computers_and_peripherals.macintosh;' + c,
- 'Cisco_cisco_mac_woman' : s + 'cisco.people.mac_woman;' + c,
- 'Cisco_cisco_man_woman' : s + 'cisco.people.man_woman;' + c,
- 'Cisco_cisco_mas_gateway' : s + 'cisco.hubs_and_gateways.mas_gateway;' + c,
- 'Cisco_cisco_mau' : s + 'cisco.misc.mau;' + c,
- 'Cisco_cisco_mcu' : s + 'cisco.misc.mcu;' + c,
- 'Cisco_cisco_mdu' : s + 'cisco.buildings.mdu;' + c,
- 'Cisco_cisco_me_1100' : s + 'cisco.misc.me1100;' + c,
- 'Cisco_cisco_Mediator' : s + 'cisco.misc.mediator;' + c,
- 'Cisco_cisco_meetingplace' : s + 'cisco.misc.meetingplace;' + c,
- 'Cisco_cisco_mesh_ap' : s + 'cisco.misc.mesh_ap;' + c,
- 'Cisco_cisco_metro_1500' : s + 'cisco.misc.metro_1500;' + c,
- 'Cisco_cisco_mgx_8000_multiservice_switch' : s + 'cisco.switches.mgx_8000_multiservice_switch;' + c,
- 'Cisco_cisco_microphone' : s + 'cisco.computers_and_peripherals.microphone;' + c,
- 'Cisco_cisco_mini_vax' : s + 'cisco.misc.mini_vax;' + c,
- 'Cisco_cisco_mobile_access_ip_phone' : s + 'cisco.modems_and_phones.mobile_access_ip_phone;' + c,
- 'Cisco_cisco_mobile_access_router' : s + 'cisco.routers.mobile_access_router;' + c,
- 'Cisco_cisco_modem' : s + 'cisco.modems_and_phones.modem;' + c,
- 'Cisco_cisco_moh_server' : s + 'cisco.servers.moh_server;' + c,
- 'Cisco_cisco_MSE' : s + 'cisco.misc.mse;' + c,
- 'Cisco_cisco_mulitswitch_device' : s + 'cisco.switches.multiswitch_device;' + c,
- 'Cisco_cisco_multi_fabric_server_switch' : s + 'cisco.switches.multi-fabric_server_switch;' + c,
- 'Cisco_cisco_multilayer_remote_switch' : s + 'cisco.switches.multilayer_remote_switch;' + c,
- 'Cisco_cisco_mux' : s + 'cisco.misc.mux;' + c,
- 'Cisco_cisco_MXE' : s + 'cisco.misc.mxe;' + c,
- 'Cisco_cisco_nac_appliance' : s + 'cisco.misc.nac_appliance;' + c,
- 'Cisco_cisco_NCE' : s + 'cisco.misc.nce;' + c,
- 'Cisco_cisco_NCE_router' : s + 'cisco.routers.nce_router;' + c,
- 'Cisco_cisco_netflow_router' : s + 'cisco.routers.netflow_router;' + c,
- 'Cisco_cisco_netranger' : s + 'cisco.misc.netranger;' + c,
- 'Cisco_cisco_netsonar' : s + 'cisco.misc.netsonar;' + c,
- 'Cisco_cisco_network_management' : s + 'cisco.misc.network_management;' + c,
- 'Cisco_cisco_Nexus_1000' : s + 'cisco.misc.nexus_1000;' + c,
- 'Cisco_cisco_Nexus_2000' : s + 'cisco.misc.nexus_2000_fabric_extender;' + c,
- 'Cisco_cisco_Nexus_5000' : s + 'cisco.misc.nexus_5000;' + c,
- 'Cisco_cisco_Nexus_7000' : s + 'cisco.misc.nexus_7000;' + c,
- 'Cisco_cisco_octel' : s + 'cisco.misc.octel;' + c,
- 'Cisco_cisco_ons15500' : s + 'cisco.misc.ons15500;' + c,
- 'Cisco_cisco_optical_amplifier' : s + 'cisco.misc.optical_amplifier;' + c,
- 'Cisco_cisco_optical_services_router' : s + 'cisco.routers.optical_services_router;' + c,
- 'Cisco_cisco_optical_transport' : s + 'cisco.misc.optical_transport;' + c,
- 'Cisco_cisco_pad' : s + 'cisco.misc.pad_2;' + c,
- 'Cisco_cisco_pad_x' : s + 'cisco.misc.pad_1;' + c,
- 'Cisco_cisco_page_icon' : s + 'cisco.misc.page_icon;strokeColor=#036897;',
- 'Cisco_cisco_pbx' : s + 'cisco.misc.pbx;' + c,
- 'Cisco_cisco_pbx_switch' : s + 'cisco.switches.pbx_switch;' + c,
- 'Cisco_cisco_pc_adapter_card' : s + 'cisco.computers_and_peripherals.pc_adapter_card;' + c,
- 'Cisco_cisco_pc_man' : s + 'cisco.people.pc_man;' + c,
- 'Cisco_cisco_pc_routercard' : s + 'cisco.computers_and_peripherals.pc_routercard;' + c,
- 'Cisco_cisco_pc_software' : s + 'cisco.misc.pc_software;' + c,
- 'Cisco_cisco_pc_video' : s + 'cisco.misc.pc_video;' + c,
- 'Cisco_cisco_phone_fax' : s + 'cisco.modems_and_phones.phone-fax;' + c,
- 'Cisco_cisco_pix_firewall' : s + 'cisco.security.pix_firewall;' + c,
- 'Cisco_cisco_pmc' : s + 'cisco.misc.pmc;' + c,
- 'Cisco_cisco_programmable_switch' : s + 'cisco.switches.programmable_switch;' + c,
- 'Cisco_cisco_protocol_translator' : s + 'cisco.misc.protocol_translator;' + c,
- 'Cisco_cisco_pxf' : s + 'cisco.misc.pxf;' + c,
- 'Cisco_cisco_radio_tower' : s + 'cisco.wireless.radio_tower;strokeColor=#036897',
- 'Cisco_cisco_ratemux' : s + 'cisco.misc.ratemux;' + c,
- 'Cisco_cisco_repeater' : s + 'cisco.misc.repeater;' + c,
- 'Cisco_cisco_RF_modem' : s + 'cisco.modems_and_phones.rf_modem;' + c,
- 'Cisco_cisco_router_firewall' : s + 'cisco.security.router_firewall;' + c,
- 'Cisco_cisco_routerin_building' : s + 'cisco.routers.router_in_building;' + c,
- 'Cisco_cisco_router_with_silicon_switch' : s + 'cisco.routers.router_with_silicon_switch;' + c,
- 'Cisco_cisco_route_switch_processor' : s + 'cisco.misc.route_switch_processor;' + c,
- 'Cisco_cisco_rpsrps' : s + 'cisco.misc.rpsrps;' + c,
- 'Cisco_cisco_running_man' : s + 'cisco.people.running_man;' + c,
- 'Cisco_cisco_sattelite_dish' : s + 'cisco.wireless.satellite_dish;' + c,
- 'Cisco_cisco_sattelite' : s + 'cisco.wireless.satellite;' + c,
- 'Cisco_cisco_scanner' : s + 'cisco.computers_and_peripherals.scanner;' + c,
- 'Cisco_cisco_server_switch' : s + 'cisco.switches.server_switch;' + c,
- 'Cisco_cisco_server_with_router' : s + 'cisco.servers.server_with_router;' + c,
- 'Cisco_cisco_service_control' : s + 'cisco.misc.service_control;' + c,
- 'Cisco_cisco_Service_Module' : s + 'cisco.controllers_and_modules.service_module;' + c,
- 'Cisco_cisco_Service_router' : s + 'cisco.routers.service_router;' + c,
- 'Cisco_cisco_Services' : s + 'cisco.misc.services;' + c,
- 'Cisco_cisco_Set_top_box' : s + 'cisco.misc.set_top_box;' + c,
- 'Cisco_cisco_simulitlayer_switch' : s + 'cisco.switches.simultilayer_switch;' + c,
- 'Cisco_cisco_sip_proxy_werver' : s + 'cisco.servers.sip_proxy_server;' + c,
- 'Cisco_cisco_sitting_woman' : s + 'cisco.people.sitting_woman;' + c,
- 'Cisco_cisco_small_business' : s + 'cisco.buildings.small_business;' + c,
- 'Cisco_cisco_small_hub' : s + 'cisco.hubs_and_gateways.small_hub;' + c,
- 'Cisco_cisco_softphone' : s + 'cisco.modems_and_phones.softphone;' + c,
- 'Cisco_cisco_softswitch_pgw_mgc' : s + 'cisco.switches.softswitch_pgw_mgc;' + c,
- 'Cisco_cisco_software_based_server' : s + 'cisco.servers.software_based_server;' + c,
- // 'Cisco_cisco_Space_router' NA
- 'Cisco_cisco_speaker' : s + 'cisco.computers_and_peripherals.speaker;' + c,
- 'Cisco_cisco_ssc' : s + 'cisco.misc.ssc;' + c,
- 'Cisco_cisco_ssl_terminator' : s + 'cisco.misc.ssl_terminator;' + c,
- 'Cisco_cisco_standard_host' : s + 'cisco.servers.standard_host;' + c,
- 'Cisco_cisco_stb' : s + 'cisco.misc.stb;' + c,
- 'Cisco_cisco_storage_router' : s + 'cisco.routers.storage_router;' + c,
- 'Cisco_cisco_storage_server' : s + 'cisco.servers.storage_server;' + c,
- 'Cisco_cisco_stp' : s + 'cisco.misc.stp;' + c,
- 'Cisco_cisco_streamer' : s + 'cisco.misc.streamer;' + c,
- 'Cisco_cisco_sun_workstation' : s + 'cisco.computers_and_peripherals.workstation;' + c,
- 'Cisco_cisco_supercomputer' : s + 'cisco.computers_and_peripherals.supercomputer;' + c,
- 'Cisco_cisco_svx' : s + 'cisco.misc.svx;' + c,
- 'Cisco_cisco_system_controller' : s + 'cisco.controllers_and_modules.system_controller;' + c,
- 'Cisco_cisco_tablet' : s + 'cisco.computers_and_peripherals.tablet;' + c,
- 'Cisco_cisco_tape_array' : s + 'cisco.storage.tape_array;' + c,
- 'Cisco_cisco_tdm_router' : s + 'cisco.routers.tdm_router;' + c,
- 'Cisco_cisco_telecommuter_house_pc' : s + 'cisco.buildings.telecommuter_house_pc;' + c,
- 'Cisco_cisco_telecommuter_house' : s + 'cisco.buildings.telecommuter_house;' + c,
- 'Cisco_cisco_telecommuter_icon' : s + 'cisco.misc.telecommuter_icon;' + c,
- // 'Cisco_cisco_Telepresence_1000' NA
- // 'Cisco_cisco_Telepresence_3000' NA
- 'Cisco_cisco_Telepresence_3200' : s + 'cisco.misc.telepresence;' + c,
- // 'Cisco_cisco_Telepresence_500' NA
- 'Cisco_cisco_terminal' : s + 'cisco.computers_and_peripherals.terminal;' + c,
- 'Cisco_cisco_token' : s + 'cisco.misc.token;strokeColor=#036897',
- 'Cisco_cisco_TP_MCU' : s + 'cisco.misc.tp_mcu;' + c,
- 'Cisco_cisco_transpath' : s + 'cisco.misc.transpath;' + c,
- 'Cisco_cisco_truck' : s + 'cisco.misc.truck;' + c,
- 'Cisco_cisco_turret' : s + 'cisco.misc.turret;' + c,
- 'Cisco_cisco_tv' : s + 'cisco.misc.tv;' + c,
- 'Cisco_cisco_ubr910' : s + 'cisco.misc.ubr910;' + c,
- 'Cisco_cisco_umg_series' : s + 'cisco.misc.umg_series;' + c,
- 'Cisco_cisco_unity_server' : s + 'cisco.servers.unity_server;' + c,
- 'Cisco_cisco_universal_gateway' : s + 'cisco.hubs_and_gateways.universal_gateway;' + c,
- 'Cisco_cisco_university' : s + 'cisco.buildings.university;' + c,
- 'Cisco_cisco_upc' : s + 'cisco.computers_and_peripherals.upc;' + c,
- 'Cisco_cisco_vault' : s + 'cisco.misc.vault;' + c,
- 'Cisco_cisco_video_camera' : s + 'cisco.computers_and_peripherals.video_camera;' + c,
- 'Cisco_cisco_vip' : s + 'cisco.misc.vip;' + c,
- 'Cisco_cisco_virtual_layer_switch' : s + 'cisco.switches.virtual_layer_switch;' + c,
- 'Cisco_cisco_virtual_switch_controller__vsc3000_' : s + 'cisco.controllers_and_modules.virtual_switch_controller_(vsc3000);' + c,
- 'Cisco_cisco_voice_atm_switch' : s + 'cisco.switches.voice_atm_switch;' + c,
- 'Cisco_cisco_voice_commserver' : s + 'cisco.servers.voice_commserver;' + c,
- 'Cisco_cisco_voice_router' : s + 'cisco.routers.voice_router;' + c,
- 'Cisco_cisco_voice_switch' : s + 'cisco.switches.voice_switch;' + c,
- 'Cisco_cisco_vpn_concentrator' : s + 'cisco.misc.vpn_concentrator;' + c,
- 'Cisco_cisco_vpn_gateway' : s + 'cisco.hubs_and_gateways.vpn_gateway;' + c,
- 'Cisco_cisco_VSS' : s + 'cisco.misc.vss;' + c,
- 'Cisco_cisco_wae' : s + 'cisco.misc.wae;' + c,
- 'Cisco_cisco_wavelength_router' : s + 'cisco.routers.wavelength_router;' + c,
- 'Cisco_cisco_web_browser' : s + 'cisco.computers_and_peripherals.web_browser;' + c,
- 'Cisco_cisco_web_cluster' : s + 'cisco.storage.web_cluster;' + c,
- 'Cisco_cisco_wi_fi_tag' : s + 'cisco.wireless.wi-fi_tag;' + c,
- 'Cisco_cisco_wireless_bridge' : s + 'cisco.wireless.wireless_bridge;' + c,
- 'Cisco_cisco_wireless_location_appliance' : s + 'cisco.wireless.wireless_location_appliance;' + c,
- 'Cisco_cisco_wireless' : s + 'cisco.wireless.wireless;' + c,
- 'Cisco_cisco_wireless_transport' : s + 'cisco.wireless.wireless_transport;' + c,
- 'Cisco_cisco_wism' : s + 'cisco.misc.wism;' + c,
- 'Cisco_cisco_wlan_controller' : s + 'cisco.wireless.wlan_controller;' + c,
- 'Cisco_cisco_workgroup_director' : s + 'cisco.directors.workgroup_director;' + c,
- 'Cisco_cisco_workgroup_switch' : s + 'cisco.switches.workgroup_switch;' + c,
- 'Cisco_cisco_workstation' : s + 'cisco.computers_and_peripherals.workstation;' + c,
- 'Cisco_cisco_www_server' : s + 'cisco.servers.www_server;' + c,
- //Computers and Monitors
- 'NET_PC' : s + 'networks.pc;fillColor=#29AAE1',
- 'NET_Virtual-PC' : s + 'networks.virtual_pc;fillColor=#29AAE1',
- 'NET_Terminal' : s + 'networks.terminal;fillColor=#29AAE1',
- 'NET_DataPipe' : s + 'networks.bus;fillColor=#29AAE1',
- 'NET_SlateDevice' : s + 'networks.tablet;fillColor=#29AAE1',
- 'NET_TabletDevice' : s + 'networks.tablet;fillColor=#29AAE1',
- 'NET_Laptop' : s + 'networks.laptop;fillColor=#29AAE1',
- 'NET_PDA' : s + 'networks.mobile;fillColor=#29AAE1',
- 'NET_CRTMonitor' : s + 'networks.monitor;fillColor=#29AAE1',
- 'NET_LCDMonitor' : s + 'networks.monitor;fillColor=#29AAE1',
- //Detailed Network Diagrams
- // 'NET_ABSwitch' NA
- // 'NET_Repeater' NA
- // 'NET_DiagnosticDevice' NA
- // 'NET_CardReader' NA
- // 'NET_PatchPanel' NA
- 'NET_RadioTower' : s + 'networks.radio_tower;fillColor=#29AAE1',
- // 'NET_BiometricReader' NA
- 'NET_ExternalHardDrive' : s + 'networks.external_storage;fillColor=#29AAE1',
- // 'NET_WebService' NA
- // 'NET_FiberOptic' NA
- 'NET_SatelliteDish' : s + 'networks.satellite_dish;fillColor=#29AAE1',
- 'NET_Satellite' : s + 'networks.satellite;fillColor=#29AAE1',
- // 'NET_VoIPPhone' NA
- // 'NET_PBX' NA
- // 'NET_MLPS' NA
- //Basic Network Shapes
- 'NET_WirelessAccessPoint' : s + 'networks.radio_tower;fillColor=#29AAE1',
- 'NET_RingNetwork' : cs, //TODO
- // 'NET_Ethernet' : cs, //TODO
- 'NET_Server' : s + 'networks.server;fillColor=#29AAE1',
- // 'NET_ExternalMediaDrive' NA
- 'NET_Mainframe' : s + 'networks.mainframe;fillColor=#29AAE1',
- 'NET_Router' : s + 'networks.wireless_hub;fillColor=#29AAE1',
- 'NET_Switch' : s + 'networks.switch;fillColor=#29AAE1',
- 'NET_Firewall' : s + 'networks.firewall;fillColor=#29AAE1',
- 'NET_User' : s + 'networks.user_male;fillColor=#29AAE1',
- 'NET_CommLink' : s + 'networks.comm_link_edge;fillColor=#29AAE1',
- 'NET_SuperComputer' : s + 'networks.supercomputer;fillColor=#29AAE1',
- 'NET_VirtualServer' : s + 'networks.virtual_server;fillColor=#29AAE1',
- 'NET_Printer' : s + 'networks.printer;fillColor=#29AAE1',
- // 'NET_Plotter' NA
- 'NET_Scanner' : s + 'networks.scanner;fillColor=#29AAE1',
- 'NET_Copier' : s + 'networks.copier;fillColor=#29AAE1',
- // 'NET_FaxMachine' NA
- 'NET_MultiFunctionMachine' : s + 'networks.copier;fillColor=#29AAE1',
- 'NET_Projector' : s + 'networks.video_projector;fillColor=#29AAE1',
- 'NET_ProjectorScreen' : s + 'networks.video_projector_screen;fillColor=#29AAE1',
- 'NET_Bridge' : s + 'networks.router;fillColor=#29AAE1',
- 'NET_Hub' : s + 'networks.hub;fillColor=#29AAE1',
- 'NET_Modem' : s + 'networks.modem;fillColor=#29AAE1',
- 'NET_Telephone' : s + 'signs.tech.telephone_5;fillColor=#29AAE1',
- 'NET_CellPhone' : s + 'networks.mobile;fillColor=#29AAE1',
- 'NET_SmartPhone' : s + 'networks.mobile;fillColor=#29AAE1',
- // 'NET_VideoPhone' NA
- 'NET_Camera' : s + 'signs.tech.camera_2;fillColor=#29AAE1',
- // 'NET_VideoCamera' NA
- //Server Racks
- 'RackServerRack' : s + 'rackGeneral.container;container=1;collapsible=0;childLayout=rack;marginLeft=9;marginRight=9;marginTop=21;marginBottom=22;textColor=#000000;numDisp=off',
- 'RackBlank' : s + 'rackGeneral.plate;strokeColor=#666666;labelPosition=left;align=right;spacingRight=15;fillColor=#e8e8e8',
- 'RackRaidArray' : s + 'rack.cisco.cisco_carrier_packet_transport_50;labelPosition=left;align=right;spacingRight=15',
- 'RackServer' : s + 'rack.oracle.sunfire_x4100;labelPosition=left;align=right;spacingRight=15',
- 'RackEthernetSwitch' : s + 'rack.cisco.cisco_nexus_3016_switch;labelPosition=left;align=right;spacingRight=15',
- 'RackPatchPanel' : s + 'rack.general.cat5e_rack_mount_patch_panel_24_ports;strokeColor=#666666;labelPosition=left;align=right;spacingRight=15',
- 'RackRouter' : s + 'rack.cisco.cisco_asr_1001_router;labelPosition=left;align=right;spacingRight=15',
- 'RackMonitor' : s + 'rack.ibm.ibm_1u_flat_panel_console_kit;labelPosition=left;align=right;spacingRight=15',
- 'RackKeyboard' : s + 'rack.cisco.cisco_1905_serial_integrated_services_router;labelPosition=left;align=right;spacingRight=15',
- 'RackPowerStrip' : s + 'rack.dell.power_strip;labelPosition=left;align=right;spacingRight=15',
- 'RackPowerSupply' : s + 'rack.cisco.cisco_web_security_appliance_s170;labelPosition=left;align=right;spacingRight=15',
- 'RackBridge' : s + 'rack.cisco.cisco_nexus_5548p_switch;labelPosition=left;align=right;spacingRight=15',
- 'RackTapeDrive' : s + 'rack.ibm.ibm_1754_local_console_manager;labelPosition=left;align=right;spacingRight=15',
- //Network
- 'Image_network_server' : 'image;image=img/lib/clip_art/computers/Server_Tower_128x128.png;flipH=1',
- 'Image_network_server_file' : 'image;image=img/lib/clip_art/computers/Server_128x128.png',
- 'Image_network_server_net' : 'image;image=img/lib/clip_art/networking/Print_Server_128x128.png',
- 'Image_network_server_net_large' : 'image;image=img/lib/clip_art/computers/Server_128x128.png',
- 'Image_network_raid' : 'image;image=img/lib/clip_art/computers/Server_Tower_128x128.png;flipH=1',
- 'Image_network_raid_large' : 'image;image=img/lib/clip_art/computers/Server_Tower_128x128.png;flipH=1',
- 'Image_network_rack_server' : 'image;image=img/lib/clip_art/computers/Server_Rack_128x128.png',
- 'Image_network_rack_tape' : 'image;image=img/lib/clip_art/computers/Server_Rack_Partial_128x128.png',
- 'Image_network_printer_small' : 'image;image=img/lib/clip_art/computers/Printer_128x128.png;flipH=1',
- 'Image_network_printer_large' : 'image;image=img/lib/clip_art/computers/Printer_128x128.png;flipH=1',
- 'Image_network_printer_multipurpose' : 'image;image=img/lib/clip_art/computers/Printer_Commercial_128x128.png;flipH=1',
- 'Image_network_copier_small' : 'image;image=img/lib/clip_art/computers/Printer_Commercial_128x128.png',
- 'Image_network_copier_large' : 'image;image=img/lib/clip_art/computers/Printer_Commercial_128x128.png',
- // 'Image_network_printer_largeformat' NA
- 'Image_network_router' : 'image;image=img/lib/clip_art/networking/Router_128x128.png',
- 'Image_network_router_wireless' : 'image;image=img/lib/clip_art/networking/Wireless_Router_128x128.png',
- 'Image_network_ups' : 'image;image=img/lib/clip_art/networking/UPS_128x128.png',
- //Electronics
- // 'Image_electronics_speakers_2' NA
- // 'Image_electronics_scanner_slide' NA
- // 'Image_electronics_speakers_2_1' NA
- // 'Image_electronics_speakers_5_1' NA
- 'Image_electronics_lcd' : 'image;image=img/lib/clip_art/computers/Monitor_128x128.png',
- 'Image_electronics_pda' : 'image;image=img/lib/clip_art/telecommunication/Palm_Treo_128x128.png',
- 'Image_electronics_drive_cardreader' : 'image;image=img/lib/clip_art/finance/Credit_Card_128x128.png',
- 'Image_electronics_camcorder' : 'image;image=img/lib/clip_art/networking/Ip_Camera_128x128.png',
- // 'Image_electronics_headset' NA
- // 'Image_electronics_calculator_simple' NA
- // 'Image_electronics_scanner_flatbed' NA
- 'Image_electronics_printer_photo' : 'image;image=img/lib/clip_art/computers/Printer_128x128.png;flipH=1',
- // 'Image_electronics_scanner_photo' NA
- // 'Image_electronics_projector' NA
- 'Image_electronics_drive_firewire' : 'image;image=img/lib/clip_art/computers/Harddrive_128x128.png;flipH=1',
- 'Image_electronics_drive_usb' : 'image;image=img/lib/clip_art/computers/Harddrive_128x128.png;flipH=1',
- 'Image_electronics_modem_external' : 'image;image=img/lib/clip_art/networking/Modem_128x128.png;flipH=1',
- // 'Image_electronics_tv_tuner_external' NA
- // 'Image_electronics_mp3' NA
- // 'Image_electronics_sound_box' NA
- 'Image_electronics_lcd_wide' : 'image;image=img/lib/clip_art/computers/Monitor_128x128.png',
- //Audio Equipment
- // 'Image_audio_speakers_2' NA
- // 'Image_audio_speakers_2_1' NA
- // 'Image_audio_speakers_5_1' NA
- // 'Image_audio_record_player' NA
- // 'Image_audio_headset' NA
- //Electrical
- 'EE_Amplifier' : s + 'electrical.abstract.amplifier',
- 'EE_OpAmp' : s + 'electrical.abstract.operational_amp_1', //TODO
- 'EE_ControlledAmp' : s + 'electrical.abstract.controlled_amplifier', //TODO
- 'EE_Multiplexer' : s + 'electrical.abstract.mux', //TODO
- 'EE_Demultiplexer' : s + 'electrical.abstract.demux;', //TODO
- 'EE_Capacitor1' : s + 'electrical.capacitors.capacitor_1', //TODO
- 'EE_Capacitor2' : s + 'electrical.capacitors.capacitor_3', //TODO
- 'EE_Diode' : s + 'electrical.diodes.diode', //TODO
- 'EE_Resistor' : s + 'electrical.resistors.resistor_2', //TODO
- 'EE_VarResistor' : s + 'electrical.resistors.variable_resistor_2',
- 'EE_Potentiometer' : s + 'electrical.resistors.potentiometer_2', //TODO
- 'EE_ProtGround' : s + 'electrical.signal_sources.protective_earth',
- 'EE_SignalGround' : s + 'electrical.signal_sources.signal_ground',
- 'EE_Transformer' : s + 'electrical.inductors.transformer_1',
- 'EE_Inductor' : s + 'electrical.inductors.inductor_3', //TODO
- 'EE_Variable Inductor' : s + 'electrical.inductors.variable_inductor', //TODO
- 'EE_TwoWaySwitch' : s + 'electrical.electro-mechanical.2-way_switch',
- 'EE_OnOffSwitch' : s + 'electrical.electro-mechanical.simple_switch',
- 'EE_Loudspeaker' : s + 'electrical.electro-mechanical.loudspeaker',
- 'EE_Motor' : s + 'electrical.electro-mechanical.motor_1', //TODO
- 'EE_LED1' : s + 'electrical.opto_electronics.led_2',
- 'EE_Lightbulb' : s + 'electrical.miscellaneous.light_bulb',
- 'EE_IntegratedCircuit' : cs, //TODO
- //Power Sources
- 'EE_AcSource' : s + 'electrical.signal_sources.ac_source;strokeWidth=1', //TODO
- 'EE_VoltageSource' : s + 'electrical.signal_sources.dc_source_3', //TODO
- 'EE_CurrentSource' : s + 'electrical.signal_sources.dc_source_2;direction=north', //TODO
- 'EE_ControlledCurrentSource' : s + 'electrical.signal_sources.dependent_source_2;direction=west', //TODO
- 'EE_ControlledVoltageSource' : s + 'electrical.signal_sources.dependent_source_3', //TODO
- 'EE_DcSource1' : s + 'electrical.miscellaneous.monocell_battery;flipH=1;verticalLabelPosition=bottom;verticalAlign=top',
- 'EE_DcSource2' : s + 'electrical.miscellaneous.multicell_battery;flipH=1;verticalLabelPosition=bottom;verticalAlign=top',
- 'EE_Vss' : s + 'electrical.signal_sources.vss2;verticalLabelPosition=top;verticalAlign=bottom;fontSize=24',
- 'EE_Vdd' : s + 'electrical.signal_sources.vdd;verticalLabelPosition=bottom;verticalAlign=top',
- //Transistors
- 'EE_BJT_NPN1' : s + 'electrical.transistors.pnp_transistor_1',
- 'EE_BJT_PNP1' : s + 'electrical.transistors.npn_transistor_1',
- 'EE_JFET_P' : s + 'electrical.transistors.p-channel_jfet_1;flipV=1',
- 'EE_JFET_N' : s + 'electrical.transistors.n-channel_jfet_1',
- 'EE_MOSFET_P1' : s + 'electrical.mosfets1.mosfet_ic_p;flipV=1',
- 'EE_MOSFET_P2' : s + 'electrical.mosfets1.mosfet_p_no_bulk',
- 'EE_MOSFET_P3' : s + 'electrical.mosfets1.p-channel_mosfet_1;flipV=1',
- 'EE_MOSFET_N1' : s + 'electrical.mosfets1.mosfet_ic_n',
- 'EE_MOSFET_N2' : s + 'electrical.mosfets1.mosfet_n_no_bulk',
- 'EE_MOSFET_N3' : s + 'electrical.mosfets1.n-channel_mosfet_1',
- //Relays
- // 'EE_SPST' NA
- // 'EE_SPDT' NA
- // 'EE_DPST' NA
- // 'EE_DPDT' NA
- //Logic Gates
- 'EE_AND' : s + 'electrical.logic_gates.and',
- 'EE_OR' : s + 'electrical.logic_gates.or',
- 'EE_Inverter' : s + 'electrical.logic_gates.inverter',
- 'EE_NAND' : s + 'electrical.logic_gates.nand',
- 'EE_NOR' : s + 'electrical.logic_gates.nor',
- 'EE_XOR' : s + 'electrical.logic_gates.xor',
- 'EE_NXOR' : s + 'electrical.logic_gates.xnor',
- 'EE_DTypeRSFlipFlop' : s + 'electrical.logic_gates.d_type_rs_flip-flop',
- 'EE_DTypeFlipFlop' : s + 'electrical.logic_gates.d_type_flip-flop',
- 'EE_DTypeFlipFlopWithClear' : s + 'electrical.logic_gates.d_type_flip-flop_with_clear',
- 'EE_RSLatch' : s + 'electrical.logic_gates.rs_latch',
- 'EE_SyncRSLatch' : s + 'electrical.logic_gates.synchronous_rs_latch',
- 'EE_TTypeFlipFlop' : s + 'electrical.logic_gates.t_type_flip-flop',
- //Miscellaneous
- 'EE_Plus' : s + 'ios7.misc.flagged',
- 'EE_Negative' : 'shape=line',
- 'EE_InverterContact' : 'shape=ellipse',
- 'EE_Voltmeter' : s + 'electrical.instruments.voltmeter',
- 'EE_Ammeter' : s + 'electrical.instruments.ampermeter',
- 'EE_SineWave' : s + 'electrical.waveforms.sine_wave',
- 'EE_Sawtooth' : s + 'electrical.waveforms.sawtooth',
- 'EE_SquareWave' : s + 'electrical.waveforms.square_wave',
- //Messaging Systems
- 'EIChannelBlock' : s + 'eip.messageChannel',
- // 'EIMessageChannelBlock' NA
- 'EIMessageBlock' : cs, //TODO
- 'EIMessageRouterBlock' : s + 'eip.content_based_router',
- 'EIMessageTranslatorBlock' : s + 'eip.message_translator',
- 'EIMessageEndpointBlock' : cs, //TODO
- //Messaging Channels
- // 'EIPublishSubscribeChannelBlock' NA
- // 'EIDatatypeChannelBlock' NA
- // 'EIInvalidMessageChannelBlock' NA
- // 'EIDeadLetterChannelBlock' NA
- // 'EIGuaranteedDeliveryBlock' NA
- // 'EIChannelAdapterBlock' NA
- 'EIMessagingBridgeBlock' : s + 'eip.messaging_bridge',
- // 'EIMessageBusBlock' NA
- //Message Construction
- 'EICommandMessageBlock' : cs, //TODO
- 'EIDocumentMessageBlock' : cs, //TODO
- 'EIEventMessageBlock' : cs, //TODO
- // 'EIEventMessageBlock' NA
- // 'EIRequestReplyBlock' NA
- // 'EIReturnAddressBlock' NA
- // 'EICorrelationIDBlock' NA
- // 'EIMessageSequenceBlock' NA
- // 'EIMessageExpirationBlock' NA
- //Message Routing
- 'EIContentBasedRouterBlock' : s + 'eip.content_based_router',
- 'EIMessageFilterBlock' : s + 'eip.message_filter',
- 'EIDynamicRouterBlock' : s + 'eip.dynamic_router',
- 'EIRecipientListBlock' : s + 'eip.recipient_list',
- 'EISplitterBlock' : s + 'eip.splitter',
- 'EIAggregatorBlock' : s + 'eip.aggregator',
- 'EIResequencerBlock' : s + 'eip.resequencer',
- 'EIComposedMessageBlock' : s + 'eip.composed_message_processor',
- 'EIRoutingSlipBlock' : s + 'eip.routing_slip',
- 'EIProcessManagerBlock' : s + 'eip.process_manager',
- 'EIMessageBrokerBlock' : cs, //TODO
- //Message Transformation
- 'EIEnvelopeWrapperBlock' : s + 'eip.envelope_wrapper',
- 'EIContentEnricherBlock' : s + 'eip.content_enricher',
- 'EIContentFilterBlock' : s + 'eip.content_filter',
- 'EIClaimCheckBlock' : s + 'eip.claim_check',
- 'EINormalizerBlock' : s + 'eip.normalizer',
- //Messaging Endpoints
- 'EIMessagingGatewayBlock' : s + 'eip.messaging_gateway',
- 'EITransactionalClientBlock' : s + 'eip.transactional_client',
- 'EIPollingConsumerBlock' : s + 'eip.polling_consumer',
- 'EIEventDrivenConsumerBlock' : s + 'eip.event_driven_consumer',
- 'EICompetingConsumersBlock' : s + 'eip.competing_consumers',
- 'EIMessageDispatcherBlock' : s + 'eip.message_dispatcher',
- 'EISelectiveConsumerBlock' : s + 'eip.selective_consumer',
- // 'EIDurableSubscriberBlock' NA
- 'EIServiceActivatorBlock' : s + 'eip.service_activator',
- //System Management
- // 'EIControlBusBlock' NA
- 'EIDetourBlock' : s + 'eip.detour',
- 'EIWireTapBlock' : s + 'eip.wire_tap',
- 'EIMessageHistoryBlock' : cs, //TODO
- 'EIMessageStoreBlock' : s + 'eip.message_store',
- 'EISmartProxyBlock' : s + 'eip.smart_proxy',
- 'EITestMessageBlock' : s + 'eip.test_message',
- 'EIChannelPurgerBlock' : s + 'eip.channel_purger',
- //Google Cloud Platform
- 'GCPIconComputeEngineBlock' : ss + 'gcp.compute.compute_engine',
- 'GCPIconAppEngineBlock' : ss + 'gcp.compute.app_engine',
- 'GCPIconContainerEngineBlock' : ss + 'gcp.compute.container_engine',
- 'GCPIconContainerRegistryBlock' : ss + 'gcp.compute.container_registry',
- 'GCPIconCloudFunctionsBlock' : ss + 'gcp.compute.cloud_functions',
- 'GCPIconCloudStorageBlock' : ss + 'gcp.storage_databases.cloud_storage',
- 'GCPIconCloudSQLBlock' : ss + 'gcp.storage_databases.cloud_sql',
- 'GCPIconCloudBigtableBlock' : ss + 'gcp.storage_databases.cloud_bigtable',
- 'GCPIconCloudDatastoreBlock' : ss + 'gcp.storage_databases.cloud_datastore',
- 'GCPIconPersistentDiskBlock' : ss + 'gcp.storage_databases.persistent_disk',
- 'GCPIconCloudVirtualNetworkBlock' : ss + 'gcp.networking.cloud_virtual_network',
- 'GCPIconCloudLoadBalancingBlock' : ss + 'gcp.networking.cloud_load_balancing',
- 'GCPIconCloudCDNBlock' : ss + 'gcp.networking.cloud_cdn',
- 'GCPIconCloudInterconnectBlock' : ss + 'gcp.networking.cloud_interconnect',
- 'GCPIconCloudDNSBlock' : ss + 'gcp.networking.cloud_dns',
- 'GCPIconBigQueryBlock' : ss + 'gcp.big_data.bigquery',
- 'GCPIconCloudDataflowBlock' : ss + 'gcp.big_data.cloud_dataflow',
- 'GCPIconCloudDataprocBlock' : ss + 'gcp.big_data.cloud_dataproc',
- 'GCPIconCloudDatalabBlock' : ss + 'gcp.big_data.cloud_datalab',
- 'GCPIconCloudPubSubBlock' : ss + 'gcp.big_data.cloud_pubsub',
- 'GCPIconGenomicsBlock' : ss + 'gcp.big_data.genomics',
- 'GCPIconCloudMachineLearningServicesBlock' : ss + 'gcp.machine_learning.cloud_machine_learning',
- 'GCPIconVisionAPIBlock' : ss + 'gcp.machine_learning.vision_api',
- 'GCPIconSpeechAPIBlock' : ss + 'gcp.machine_learning.speech_api',
- 'GCPIconNaturalLanguageAPIBlock' : ss + 'gcp.machine_learning.natural_language_api',
- 'GCPIconTranslateAPIBlock' : ss + 'gcp.machine_learning.translation_api',
- 'GCPIconStackdriverOverviewBlock' : ss + 'gcp.management_tools.stackdriver',
- 'GCPIconMonitoringBlock' : ss + 'gcp.management_tools.monitoring',
- // 'GCPIconLoggingBlock' NA
- 'GCPIconErrorReportingBlock' : ss + 'gcp.management_tools.error_reporting',
- 'GCPIconTraceBlock' : ss + 'gcp.management_tools.trace',
- 'GCPIconDebuggerBlock' : ss + 'gcp.management_tools.debugger',
- 'GCPIconDeploymentManagerBlock' : ss + 'gcp.management_tools.deployment_manager',
- 'GCPIconCloudEndpointsBlock' : ss + 'gcp.management_tools.cloud_endpoints',
- 'GCPIconCloudToolsForPowerShellBlock' : ss + 'gcp.developer_tools.cloud_tools_for_powershell',
- 'GCPIconCloudToolsForVisualStudioBlock' : ss + 'gcp.developer_tools.cloud_tools_for_visual_studio',
- 'GCPIconCloudIAMBlock' : ss + 'gcp.identity_and_security.cloud_iam',
- 'GCPIconGCPLogoBlock' : ss + 'gcp.extras.generic_gcp',
- 'GCPIconBlankBlock' : ss + 'gcp.extras.blue_hexagon',
- //Equation
- 'Equation' : cs, //TODO
- //Walls
- 'fpWall' : '',
- //Rooms
- //Doors & Windows
- 'fpWindow' : s + 'floorplan.window',
- 'fpOpening' : 'shape=rect',
- 'fpDoor' : s + 'floorplan.doorLeft;flipV=1', //TODO
- 'fpDoubleDoor' : s + 'floorplan.doorDouble;flipV=1', //TODO
- //Stairs
- 'fpStairs' : s + 'floorplan.stairs;direction=north',
- 'fpStairsDirectional' : s + 'floorplan.stairs;direction=north',
- 'fpStairsCurved' : cs, //TODO
- 'fpStairsCurvedWide' : cs, //TODO
- //Desks
- // 'fpDeskEndSegment' NA
- 'fpDeskLongSegment' : '',
- 'fpDeskShortSegment' : '',
- // 'fpDeskSmallCornerSegment' NA
- 'fpDeskLargeCornerSegment' : s + 'floorplan.desk_corner',
- // 'fpDeskMediumCornerSegment' NA
- // 'fpDeskRoundedLSegment' NA
- // 'fpDeskRoundedCornerSegment' NA
- //Cubicle walls
- 'fpCubiclePanel' : s + 'floorplan.wall;wallThickness=3',
- 'fpCubicleWorkstation' : s + 'floorplan.wallU;wallThickness=3',
- 'fpCubicleCorner5x5' : s + 'floorplan.wallCorner;wallThickness=3',
- 'fpCubicleCorner6x6' : s + 'floorplan.wallCorner;wallThickness=3',
- 'fpCubicleCorner8x8' : s + 'floorplan.wallCorner;wallThickness=3',
- 'fpCubicleCorner8x6' : s + 'floorplan.wallCorner;wallThickness=3',
- 'fpCubicleCornerOpen6x4' : s + 'floorplan.wallCorner;wallThickness=3',
- 'fpCubicleDouble14x8' : s + 'floorplan.wallU;wallThickness=3',
- 'fpCubicleEnclosed11x9' : s + 'floorplan.wallU;wallThickness=3',
- //Tables & Chairs
- 'fpTableConferenceOval' : 'shape=ellipse',
- 'fpTableConferenceBoat' : '',
- 'fpTableConferenceRectangle' : '',
- 'fpTableDiningRound' : 'shape=ellipse',
- 'fpTableDiningSquare' : '',
- 'fpChairOffice' : s + 'floorplan.office_chair',
- 'fpChairExecutive' : s + 'floorplan.office_chair',
- 'fpChairLobby' : s + 'floorplan.office_chair',
- 'fpChairDining' : s + 'floorplan.chair',
- 'fpChairBarstool' : 'shape=ellipse',
- //Cubicles - Prebuilt
- //Tables - Prebuilt
- //Cabinets - we don't have corresponding stencils, just rounded rectangles
- 'fpCabinetBasic' : '',
- // 'fpCabinetCornerLarge' NA
- 'fpCabinetDoubleWide' : '',
- 'fpCabinetDoubleWithShelves' : '',
- 'fpCabinetShelvesBasic' : '',
- 'fpCabinetShelvesDouble' : '',
- 'fpCabinetBasicWithShelves' : '',
- 'fpCabinetsAboveDeskShelves' : '',
- //Restroom
- 'fpRestroomToiletPrivate' : s + 'floorplan.toilet',
- 'fpRestroomToiletPublic' : s + 'floorplan.toilet',
- // 'fpRestroomBidet' NA
- 'fpRestroomLights' : cs, //TODO
- 'fpRestroomSinks' : cs, //TODO
- // 'fpRestroomGrabBar' NA
- 'fpRestroomBathtub' : s + 'floorplan.bathtub;direction=south',
- 'fpRestroomShower' : s + 'floorplan.shower;flipH=1',
- // 'fpRestroomCornerSink' NA
- 'fpRestroomPedastalSink' : s + 'floorplan.sink_1',
- 'fpRestroomCountertop' : '',
- 'fpRestroomMirror' : 'shape=line;strokeWidth=3',
- // 'fpDresserOrnateMirror' NA
- // 'fpRestroomToiletPaper' NA
- // 'fpRestroomStalls' NA
- //Beds
- 'fpBedDouble' : s + 'floorplan.bed_double',
- 'fpBedSingle' : s + 'floorplan.bed_single',
- 'fpBedQueen' : s + 'floorplan.bed_double',
- 'fpBedKing' : s + 'floorplan.bed_double',
- 'fpBedDoubleWithTrundle' : s + 'floorplan.bed_double',
- 'fpBedBunk' : s + 'floorplan.bed_double',
- // 'fpBedBunkL' NA
- // 'fpBedCrib' NA
- 'fpBedBassinet' : s + 'pid.fittings.compensator',
- //Dressers
- // 'fpDresserChest' NA
- // 'fpDresserMirrorDresser' NA
- // 'fpClosetRod' NA
- // 'fpDresserOrnateMirror' NA
- //Appliances
- 'fpApplianceWasher' : '',
- 'fpApplianceDryer' : '',
- 'fpApplianceWaterHeater' : 'shape=ellipse',
- // 'fpApplianceRefrigerator' NA
- 'fpApplianceStoveOven' : s + 'floorplan.range_1',
- 'fpStoveOvenSixBurner' : s + 'floorplan.range_2',
- 'fpApplianceDishwasher' : '',
- //Kitchen
- 'fpKitchenSink' : s + 'floorplan.sink_2',
- 'fpKitchenDoubleSink' : s + 'floorplan.sink_double',
- 'fpKitchenCountertop' : '',
- 'fpKitchenCountertopCorner' : s + 'floorplan.desk_corner',
- //Couches
- 'fpCouchLoveSeat' : s + 'floorplan.couch',
- 'fpCouchSofa' : s + 'floorplan.couch',
- // 'fpCouchSectional' NA
- 'fpCouchOttoman' : '',
- // 'fpCouchPillow' NA
- //Technology
- 'fpMiscDesktopComputer' : s + 'floorplan.workstation',
- 'fpMiscLaptopComputer' : s + 'floorplan.laptop',
- 'fpComputerMonitor' : s + 'floorplan.flat_tv',
- 'fpCRTTelevision' : s + 'floorplan.flat_tv',
- // 'fpMiscProjector' NA
- // 'fpMiscProjectorScreen' NA
- //Misc Floorplan
- 'fpMiscIndoorPlant' : s + 'floorplan.plant',
- // 'fpMiscPodium' NA
- 'fpPiano' : s + 'floorplan.piano',
- // 'fpPianoBench' : 'absoluteArcSize=1;arcSize=' + arcSize + ';rounded=1',
- //Equipment
- 'PEAxialCompressor' : s + 'pid.compressors.centrifugal_compressor_-_turbine_driven',
- 'PECentrifugalCompressor' : s + 'pid.compressors.centrifugal_compressor',
- 'PECentrifugalCompressor2' : s + 'pid.compressors.centrifugal_compressor_-_turbine_driven',
- // 'PECentrifugalCompressor3' NA
- 'PEReciprocationCompressor' : s + 'pid.compressors.reciprocating_compressor',
- 'PERotaryCompressorBlock' : s + 'pid.compressors.rotary_compressor',
- 'PERotaryCompressor2Block' : s + 'pid.compressors.compressor_and_silencers',
- 'PEConveyorBlock' : s + 'pid2misc.conveyor',
- // 'PEOverheadConveyorBlock' NA
- // 'PEScraperConveyorBlock' NA
- // 'PEScrewConveyorBlock' NA
- // 'PEPositiveDisplacementBlock' NA
- // 'PEPositiveDisplacement2' NA
- 'PEElevator1Block' : s + 'pid.misc.bucket_elevator;flipH=1',
- // 'PEElevator2Block' NA
- // 'PEHoistBlock' NA
- // 'PESkipHoistBlock' NA
- // 'PEMotorBlock' NA
- // 'PEDieselMotorBlock' NA
- // 'PEElectricMotorBlock' NA
- // 'PELiquidRingVacuumBlock' NA
- // 'PETurbineDriverBlock' NA
- // 'PEDoubleFlowTurbineBlock' NA
- 'PEAgitatorMixerBlock' : s + 'pid.agitators.agitator_(propeller)',
- 'PEDrumBlock' : s + 'pid.vessels.drum_or_condenser',
- 'PETankEquipmentBlock' : s + 'pid.vessels.tank',
- // 'PECentrifugalBlower' NA
- // 'PEAlkylationBlock' NA
- // 'PEBoomLoaderBlock' NA
- // 'PEFluidCatalyticCrackingBlock' NA
- // 'PEFluidCookingBlock' NA
- // 'PEFluidizedReactorBlock' NA
- // 'PETubularBlock' NA
- // 'PEReformerBlock' NA
- 'PEMixingReactorBlock' : s + 'pid.vessels.mixing_reactor',
- // 'PEHydrodesulferizationBlock' NA
- // 'PEHydrocrackingBlock' NA
- 'PEPlateTowerBlock' : s + 'pid2misc.column;columnType=baffle',
- 'PEPackedTowerBlock' : s + 'pid2misc.column;columnType=fixed',
- // 'PEAutomaticStokerBlock' NA
- // 'PEOilBurnerBlock' NA
- // 'PECounterflowForcedDraftBlock' NA
- // 'PECounterflowNaturalDraftBlock' NA
- // 'PECrossflowInductedBlock' NA
- 'PEFurnaceBlock' : s + 'pid.vessels.furnace',
- // 'PEChimneyTowerBlock' NA
- //Piping
- 'PEOneToMany' : cs, //TODO
- 'PEMultilines' : cs, //TODO
- 'PEMidArrow' : 'shape=triangle',
- 'PEButtWeld' : s + 'sysml.x',
- 'PETopToTop' : s + 'pid.vessels.container,_tank,_cistern',
- // 'PESonicSignal' NA
- 'PENuclear' : s + 'electrical.waveforms.sine_wave',
- // 'PEPneumatic' NA
- // 'PEHydraulicSignalLine' NA
- 'PEMechanicalLink' : 'shape=ellipse',
- 'PESolderedSolvent' : 'shape=ellipse',
- 'PEDoubleContainment' : 'shape=hexagon',
- 'PEFlange' : s + 'pid.piping.double_flange',
- 'PEFlange2' : s + 'pid.piping.flange_in;flipH=1',
- 'PEEndCap' : s + 'pid.piping.cap',
- 'PEEndCap2' : s + 'pid.vessels.container,_tank,_cistern;direction=north',
- 'PEBreather' : s + 'pid.piping.breather',
- 'PEElectronicallyInsulated' : s + 'pid.piping.double_flange',
- 'PEReducer' : s + 'pid.piping.concentric_reducer',
- 'PEInlineMixer' : s + 'pid.piping.in-line_mixer',
- // 'PESeparator' NA
- // 'PEBurstingDisc' NA
- 'PEFlameArrester' : s + 'pid.piping.flame_arrestor',
- // 'PEFlameArrester2' NA
- 'PEDetonationArrester' : s + 'pid.piping.detonation_arrestor',
- // 'PEDrainSilencer' NA
- 'PETriangleSeparator' : 'shape=triangle;direction=west',
- // 'PETriangleSeparator2' NA
- 'PETundish' : s + 'ios7.misc.left',
- 'PEOpenVent' : s + 'pid.vessels.vent_(bent)',
- // 'PESiphonDrain' NA
- 'PERemovableSpool' : s + 'pid.piping.removable_spool',
- 'PEYTypeStrainer' : s + 'pid.piping.y-type_strainer',
- 'PEDiverterValve' : s + 'pid.piping.diverter_valve',
- 'PEPulsationDampener' : s + 'pid.piping.pulsation_dampener',
- 'PEDuplexStrainer' : s + 'pid.piping.duplex_strainer',
- 'PEBasketStrainer' : s + 'pid.piping.basket_strainer',
- 'PEVentSilencer' : s + 'pid.piping.vent_silencer',
- 'PEInlineSilencer' : s + 'pid.piping.in-line_silencer',
- 'PESteamTrap' : s + 'pid.piping.steam_trap',
- 'PEDesuperheater' : s + 'pid.piping.desuper_heater',
- 'PEEjectorOrEductor' : s + 'pid.fittings.injector',
- 'PEExhaustHead' : s + 'pid.piping.exhaust_head',
- 'PERotaryValve' : s + 'pid.piping.rotary_valve',
- 'PEExpansionJoint' : s + 'pid.piping.expansion_joint',
- //Vessels
- 'PEVesselBlock' : cs, //TODO
- 'PEOpenTankBlock' : s + 'pid.vessels.container,_tank,_cistern', //TODO
- 'PEOpenTopTank' : s + 'pid.vessels.container,_tank,_cistern',
- 'PEClosedTankBlock' : cs, //TODO
- 'PEStorageSphereBlock' : s + 'pid.vessels.storage_sphere',
- 'PEColumnBlock' : s + 'pid.vessels.pressurized_vessel', //TODO
- 'PEBagBlock' : s + 'pid.vessels.bag',
- 'PEGasCylinderBlock' : s + 'pid.vessels.gas_bottle',
- 'PEGasHolderBlock' : s + 'pid.vessels.gas_holder',
- 'PEClarifierBlock' : s + 'pid.vessels.bunker_(conical_bottom)',
- // 'PETankBlock' NA
- 'PETrayColumnBlock' : s + 'pid2misc.column;columnType=tray',
- 'PEReactionVesselBlock' : s + 'pid.vessels.reactor',
- 'PEBin' : s + 'pid.vessels.tank_(conical_bottom)',
- 'PEDomeRoofTank' : s + 'pid.vessels.tank_(dished_roof)',
- 'PEConeRoofTank' : s + 'pid.vessels.tank_(conical_roof)',
- // 'PEInternalFloatingRoof' NA
- // 'PEDoubleWallTank' NA
- // 'PEOnionTank' NA
- //Heat Exchangers
- 'PEBoilerBlock' : s + 'pid.misc.boiler_(dome)',
- 'PEEquipmentBoilerBlock' : s + 'pid.misc.boiler_(dome)',
- 'PEReboilerBlock' : s + 'pid.heat_exchangers.reboiler',
- 'PECondenserBlock' : s + 'pid.heat_exchangers.heat_exchanger_(straight_tubes)',
- 'PEEquipmentCondenserBlock' : s + 'pid.heat_exchangers.condenser',
- // 'PEEvaporativeCondenserBlock' NA
- 'PECoolingTowerBlock' : s + 'pid.misc.cooling_tower',
- 'PEHeatExchangerBlock' : s + 'pid.heat_exchangers.shell_and_tube_heat_exchanger_1',
- // 'PEAirCooledExchangerBlock' NA
- 'PEHairpinExchangerBlock' : s + 'pid.heat_exchangers.hairpin_exchanger',
- 'PEPlateAndFrameHeatExchangerBlock' : s + 'pid.heat_exchangers.plate_and_frame_heat_exchanger',
- 'PESpiralHeatExchanger' : s + 'pid.heat_exchangers.spiral_heat_exchanger',
- 'PEUTubeHeatExchangerBlock' : s + 'pid.heat_exchangers.u-tube_heat_exchanger',
- 'PEDoublePipeHeatBlock' : s + 'pid.heat_exchangers.double_pipe_heat_exchanger',
- 'PEShellAndTubeHeat1Block' : s + 'pid.heat_exchangers.shell_and_tube_heat_exchanger_1',
- 'PEShellAndTubeHeat2Block' : s + 'pid.heat_exchangers.shell_and_tube_heat_exchanger_2',
- 'PEShellAndTubeHeat3Block' : s + 'pid.heat_exchangers.shell_and_tube_heat_exchanger_1;direction=north',
- 'PESinglePassHeatBlock' : s + 'pid.heat_exchangers.single_pass_heat_exchanger',
- 'PEHeaterBlock' : s + 'pid.heat_exchangers.heater',
- //Pumps
- 'PEEjectorInjectorBlock' : s + 'pid.fittings.injector',
- 'PECompressorTurbineBlock' : s + 'pid.engines.turbine;flipH=1', //TODO
- // 'PEMotorDrivenTurbineBlock' NA
- 'PETripleFanBlades2Block' : s + 'pid2misc.fan;fanType=common',
- 'PEFanBlades2Block' : s + 'pid2misc.fan;fanType=common', //TODO
- 'PECentrifugalPumpBlock' : s + 'pid.pumps.centrifugal_pump_1', //TODO
- 'PECentrifugalPump' : s + 'pid.pumps.centrifugal_pump_1',
- 'PECentrifugalPump2' : s + 'pid.pumps.centrifugal_pump_2',
- 'PECentrifugalPump3' : s + 'pid.pumps.centrifugal_pump_1;flipH=1',
- 'PEGearPumpBlock' : s + 'pid.pumps.gear_pump',
- 'PEHorizontalPump' : s + 'pid.pumps.horizontal_pump',
- 'PEProgressiveCavityPump' : s + 'pid.pumps.cavity_pump;flipH=1;flipV=1',
- 'PEScrewPump' : s + 'pid.pumps.screw_pump',
- 'PEScrewPump2' : s + 'pid.pumps.screw_pump_2;flipH=1',
- 'PESumpPump' : s + 'pid.pumps.sump_pump',
- 'PEVacuumPump' : s + 'pid.pumps.vacuum_pump',
- 'PEVerticalPump' : s + 'pid.pumps.vertical_pump',
- 'PEVerticalPump2' : s + 'pid.pumps.vertical_pump',
- //Instruments
- 'PEIndicatorBlock' : s + 'pid2inst.discInst;mounting=room', //TODO
- 'PEIndicator2Block' : s + 'pid2inst.indicator;mounting=room;indType=inst', //TODO
- 'PEIndicator3Block' : s + 'pid2inst.discInst;mounting=field',
- 'PEIndicator4Block' : s + 'pid2inst.indicator;mounting=field;indType=inst',
- // 'PEIndicator5Block' NA
- 'PESharedIndicatorBlock' : s + 'pid2inst.sharedCont;mounting=room', //TODO
- 'PESharedIndicator2Block' : s + 'pid2inst.indicator;mounting=room;indType=ctrl', //TODO
- // 'PEComputerIndicatorBlock' NA
- 'PEProgrammableIndicatorBlock' : s + 'pid2inst.progLogCont;mounting=room', //TODO
- //Valves
- 'PEGateValveBlock' : s + 'pid2valves.valve;valveType=gate', //TODO
- 'PEGlobeValveBlock' : s + 'pid2valves.valve;valveType=globe', //TODO
- 'PEControlValveBlock' : s + 'pid2valves.valve;valveType=gate;actuator=diaph', //TODO
- 'PENeedleValveBlock' : s + 'pid2valves.valve;valveType=needle',
- // 'PEButterflyValveBlock' NA
- 'PEButterflyValve2Block' : s + 'pid2valves.valve;valveType=butterfly',
- // 'PEBallValveBlock' NA
- 'PEDiaphragmBlock' : s + 'pid2valves.valve;valveType=ball',
- // 'PEPlugValveBlock' NA
- 'PECheckValveBlock' : s + 'pid2valves.valve;valveType=check',
- 'PECheckValve2Block' : s + 'pid2valves.valve;valveType=check',
- 'PEAngleValveBlock' : s + 'pid2valves.valve;valveType=angle;actuator=none',
- 'PEAngleGlobeValveBlock' : s + 'pid2valves.valve;valveType=angleGlobe;actuator=man;flipH=1', //TODO
- 'PEPoweredValveBlock' : s + 'pid2valves.valve;valveType=gate;actuator=digital', //TODO
- 'PEFloatOperatedValveBlock' : s + 'pid2valves.valve;valveType=gate;actuator=singActing',
- // 'PENeedleValve2Block' NA
- 'PEThreeWayValveBlock' : s + 'pid2valves.valve;valveType=threeWay;actuator=none',
- // 'PEFourWayValveBlock' NA
- // 'PEGaugeBlock' NA
- 'PEBleederValveBlock' : s + 'pid2valves.blockBleedValve;actuator=none',
- // 'PEOrificeBlock' NA
- 'PERotameterBlock' : s + 'pid.flow_sensors.rotameter;flipH=1',
- //Venn Gradient
- 'VennGradientColor1' : 'shape=ellipse;fillOpacity=35',
- 'VennGradientColor2' : 'shape=ellipse;fillOpacity=35',
- 'VennGradientColor3' : 'shape=ellipse;fillOpacity=35',
- 'VennGradientColor4' : 'shape=ellipse;fillOpacity=35',
- 'VennGradientColor5' : 'shape=ellipse;fillOpacity=35',
- 'VennGradientColor6' : 'shape=ellipse;fillOpacity=35',
- 'VennGradientColor7' : 'shape=ellipse;fillOpacity=35',
- 'VennGradientColor8' : 'shape=ellipse;fillOpacity=35',
- //Venn Plain
- 'VennPlainColor1' : 'shape=ellipse;fillOpacity=35',
- 'VennPlainColor2' : 'shape=ellipse;fillOpacity=35',
- 'VennPlainColor3' : 'shape=ellipse;fillOpacity=35',
- 'VennPlainColor4' : 'shape=ellipse;fillOpacity=35',
- 'VennPlainColor5' : 'shape=ellipse;fillOpacity=35',
- 'VennPlainColor6' : 'shape=ellipse;fillOpacity=35',
- 'VennPlainColor7' : 'shape=ellipse;fillOpacity=35',
- 'VennPlainColor8' : 'shape=ellipse;fillOpacity=35',
- //iOS Devices
- 'iOS7DeviceiPhone5Portrait' : s + 'ios.iPhone;bgStyle=bgGreen', //TODO
- 'iOS7DeviceiPhone5Landscape' : s + 'ios.iPhone;bgStyle=bgGreen', //TODO
- 'iOS7DeviceiPadPortrait' : s + 'ios.iPad;bgStyle=bgGreen', //TODO
- 'iOS7DeviceiPadLandscape' : s + 'ios.iPad;bgStyle=bgGreen', //TODO
- 'iOS7DeviceiPhone6Portrait' : s + 'ios.iPhone;bgStyle=bgGreen', //TODO
- 'iOS7DeviceiPhone6Landscape' : s + 'ios.iPhone;bgStyle=bgGreen', //TODO
- 'iOS7DeviceiPhone6PlusPortrait' : s + 'ios.iPhone;bgStyle=bgGreen', //TODO
- 'iOS7DeviceiPhone6PlusLandscape' : s + 'ios.iPhone;bgStyle=bgGreen', //TODO
- //iPhone Elements
- 'iOS7StatusBariPhone' : s + 'ios7ui.appBar',
- // 'iOS7NavBariPhone' NA
- 'iOS7TabsiPhone' : cs, //TODO
- 'iOS7iPhoneActionSheet' : cs, //TODO
- 'iOS7iPhoneKeyboard' : s + 'ios7.misc.keyboard_(letters)',
- 'iOS7TableView' : cs, //TODO
- //iPad Elements
- 'iOS7StatusBariPad' : s + 'ios7ui.appBar',
- 'iOS7NavBariPad' : cs, //TODO
- 'iOS7TabsiPad' : cs, //TODO
- 'iOS7iPadActionSheet' : cs, //TODO
- 'iOS7iPadKeyboard' : s + 'ios7.misc.keyboard_(letters)',
- // 'iOS7SplitView'
- // 'iOS7iPadPopover'
- //Common Elements
- 'iOS7AlertDialog' : cs, //TODO
- 'iOS7ProgressBar' : s + 'ios7ui.downloadBar', //TODO
- 'iOS7Slider' : s + 'ios7ui.searchBox', //TODO
- 'iOS7SearchBar' : s + 'ios7ui.searchBox',
- 'iOS7Button' : '',
- 'iOS7TextField' : '',
- 'iOS7TextView' : '',
- 'iOS7SegmentedControl' : cs, //TODO
- 'iOS7Toggle' : s + 'ios7ui.onOffButton;buttonState=on;strokeColor=#38D145;strokeColor2=#aaaaaa;fillColor=#38D145;fillColor2=#ffffff', //TODO
- 'iOS7Stepper' : s + 'ios7.misc.adjust;fillColor=#ffffff;gradientColor=none',
- 'iOS7PageControls' : s + 'ios7ui.pageControl;fillColor=#666666;strokeColor=#bbbbbb', //TODO
- 'iOS7Block' : '',
- 'iOS7DatePicker' : cs, //TODO
- 'iOS7TimePicker' : cs, //TODO
- 'iOS7CountdownPicker' : cs, //TODO
- //iOS Icons
- 'iOS7IconArrow left' : s + 'ios7.misc.left',
- 'iOS7IconArrow' : s + 'ios7.misc.right',
- 'iOS7IconArrow up' : s + 'ios7.misc.up',
- 'iOS7IconArrow down' : s + 'ios7.misc.down',
- 'iOS7IconWifi' : s + 'ios7.icons.wifi',
- 'iOS7IconBluetooth' : s + 'ios7.icons.bluetooth',
- 'iOS7IconBattery' : s + 'ios7.icons.battery',
- 'iOS7IconSiri' : s + 'ios7.icons.microphone',
- 'iOS7IconCheck' : s + 'ios7.icons.select',
- 'iOS7IconCreate' : s + 'ios7.icons.add',
- 'iOS7IconInfo' : s + 'ios7.icons.info',
- 'iOS7IconLocation' : s + 'ios7.icons.location_2',
- 'iOS7IconQuestion' : s + 'ios7.icons.help',
- 'iOS7IconSearch' : s + 'ios7.icons.looking_glass',
- 'iOS7IconToolbox' : s + 'ios7.icons.briefcase',
- 'iOS7IconOptions' : s + 'ios7.icons.options',
- 'iOS7IconShare' : s + 'ios7.icons.share',
- 'iOS7IconTyping' : s + 'ios7.icons.message',
- 'iOS7IconCopy' : s + 'ios7.icons.folders_2',
- 'iOS7IconChat' : s + 'ios7.icons.messages',
- 'iOS7IconOrganize' : s + 'ios7.icons.folder',
- 'iOS7IconTrash' : s + 'ios7.icons.trashcan',
- 'iOS7IconReply' : s + 'ios7.icons.back',
- 'iOS7IconArchive' : s + 'ios7.icons.box',
- 'iOS7IconCompose' : s + 'ios7.icons.compose',
- 'iOS7IconSend' : s + 'ios7.icons.pointer',
- 'iOS7IconDrawer' : s + 'ios7.icons.storage',
- 'iOS7IconMail' : s + 'ios7.icons.mail',
- 'iOS7IconDocument' : s + 'ios7.icons.document',
- 'iOS7IconFlag' : s + 'ios7.icons.flag',
- 'iOS7IconBookmarks' : s + 'ios7.icons.book',
- 'iOS7IconGlasses' : s + 'ios7.icons.glasses',
- 'iOS7IconFiles' : s + 'ios7.icons.folders',
- 'iOS7IconDownloads' : s + 'ios7.icons.down',
- 'iOS7IconLock' : s + 'ios7.icons.locked',
- // 'iOS7IconUnlock' NA
- 'iOS7IconCloud' : s + 'ios7.icons.cloud',
- // 'iOS7IconCloud-lock' NA
- 'iOS7IconOrientation Lock' : s + 'ios7.icons.orientation_lock',
- // 'iOS7IconNotification' NA
- 'iOS7IconContacts' : s + 'ios7.icons.user',
- 'iOS7IconGlobal' : s + 'ios7.icons.globe',
- 'iOS7IconSettings' : s + 'ios7.icons.settings',
- 'iOS7IconAirplay' : s + 'ios7.icons.move_to_folder',
- 'iOS7IconCamera' : s + 'ios7.icons.camera',
- 'iOS7IconAirplane' : s + 'signs.transportation.airplane_6;direction=south',
- 'iOS7IconCalculator' : s + 'ios7.icons.calculator',
- 'iOS7IconPreferences' : s + 'ios7.icons.most_viewed',
- 'iOS7IconPhone' : s + 'signs.tech.telephone_3',
- 'iOS7IconKeypad' : s + 'ios7.icons.keypad',
- 'iOS7IconVoicemail' : s + 'ios7.icons.tape',
- 'iOS7IconStar' : s + 'ios7.icons.star',
- 'iOS7IconMost Viewed' : s + 'ios7.icons.most_viewed',
- 'iOS7IconVideo' : s + 'ios7.icons.video_conversation',
- 'iOS7IconVolumne Controls' : s + 'ios7.icons.volume',
- 'iOS7IconLocation pin' : s + 'ios7.icons.location',
- 'iOS7IconCalendar' : s + 'ios7.icons.calendar',
- 'iOS7IconAlarm' : s + 'ios7.icons.alarm_clock',
- 'iOS7IconClock' : s + 'ios7.icons.clock',
- 'iOS7IconTimer' : s + 'ios7.icons.gauge',
- 'iOS7IconVolume down' : s + 'ios7.icons.silent',
- 'iOS7IconVolume' : s + 'ios7.icons.volume_2',
- 'iOS7IconVolume up' : s + 'ios7.icons.loud',
- 'iOS7IconRepeat' : s + 'ios7.icons.reload',
- 'iOS7IconRewind' : s + 'ios7.icons.backward',
- 'iOS7IconPlay' : s + 'ios7.icons.play',
- 'iOS7IconPause' : s + 'ios7.icons.pause',
- 'iOS7IconFast forward' : s + 'ios7.icons.forward',
- // 'iOS7IconArtists' NA
- // 'iOS7IconPlaylist' NA
- 'iOS7IconControls' : s + 'ios7.icons.controls',
- // 'iOS7IconShuffle' NA
- 'iOS7IconPrivacy' : s + 'ios7.icons.privacy',
- 'iOS7IconLink' : s + 'ios7.icons.link',
- 'iOS7IconLight' : s + 'ios7.icons.flashlight',
- 'iOS7IconBrightness' : s + 'ios7.icons.sun',
- 'iOS7IconHeart' : s + 'ios7.icons.heart',
- 'iOS7IconJava' : s + 'ios7.icons.cup',
- 'iOS7IconBox' : s + 'ios7.icons.bag',
- 'iOS7IconEye' : s + 'ios7.icons.eye',
- 'iOS7IconDo not disturb' : s + 'ios7.icons.moon',
- //iOS Activity
- // 'iOS7ActivityAdd bookmark' NA
- // 'iOS7ActivityAdd to home screen' NA
- // 'iOS7ActivityAdd to reading list' NA
- // 'iOS7ActivityAirplay' NA
- // 'iOS7ActivityAssign to contact' NA
- // 'iOS7ActivityCopy' NA
- // 'iOS7ActivityPrint' NA
- // 'iOS7ActivitySlideshow' NA
- // 'iOS7ActivityUse as wallpaper' NA
- //UI Containers
- 'UI2BrowserBlock' : s + 'mockup.containers.browserWindow;mainText=,', //TODO
- 'UI2WindowBlock' : s + 'mockup.containers.window;strokeColor2=#008cff;strokeColor3=#c4c4c4;fontColor=#666666;mainText=',
- 'UI2DialogBlock' : cs, //TODO
- 'UI2AreaBlock' : '',
- 'UI2ElementBlock' : '',
- 'UI2AccordionBlock' : cs, //TODO
- 'UI2TabBarContainerBlock' : cs, //TODO
- 'UI2TabBar2ContainerBlock' : cs, //TODO
- 'UI2VTabBarContainerBlock' : cs, //TODO
- 'UI2VScrollBlock' : s + 'mockup.navigation.scrollBar;direction=north',
- 'UI2HScrollBlock' : s + 'mockup.navigation.scrollBar',
- 'UI2VerticalSplitterBlock' : s + 'mockup.forms.splitter;direction=north',
- 'UI2HorizontalSplitterBlock' : s + 'mockup.forms.splitter',
- //UI Widgets
- 'UI2ImageBlock' : s + 'mockup.graphics.simpleIcon',
- 'UI2VideoBlock' : s + 'mockup.containers.videoPlayer;barHeight=30',
- 'UI2AudioBlock' : s + 'mockup.misc.playbackControls',
- 'UI2MapBlock' : s + 'mockup.misc.map',
- // 'UI2CalendarBlock' NA
- 'UI2BarChartBlock' : s + 'mockup.graphics.barChart;strokeColor=none;strokeColor2=none',
- 'UI2ColumnChartBlock' : s + 'mockup.graphics.columnChart;strokeColor=none;strokeColor2=none',
- 'UI2LineChartBlock' : s + 'mockup.graphics.lineChart;strokeColor=none',
- 'UI2PieChartBlock' : s + 'mockup.graphics.pieChart;parts=10,20,35',
- 'UI2WebcamBlock' : s + 'mockup.containers.userMale',
- 'UI2CaptchaBlock' : s + 'mockup.text.captcha;mainText=',
- // 'Image_ui_formatting_toolbar2'
- //UI Input
- 'UI2ButtonBlock' : 'rounded=1;arcSize=25;',
- 'UI2CheckBoxBlock' : cs, //TODO
- 'UI2HorizontalCheckBoxBlock' : cs, //TODO
- 'UI2RadioBlock' : cs, //TODO
- 'UI2HorizontalRadioBlock' : cs, //TODO
- 'UI2ColorPickerBlock' : s + 'mockup.forms.colorPicker;chosenColor=#aaddff',
- 'UI2TextInputBlock' : '',
- 'UI2SelectBlock' : s + 'mockup.forms.comboBox;strokeColor=#999999;fillColor=#ddeeff;align=left;fillColor2=#aaddff;mainText=;fontColor=#666666',
- 'UI2VSliderBlock' : s + 'mockup.forms.horSlider;sliderStyle=basic;sliderPos=20;handleStyle=circle;direction=north',
- 'UI2HSliderBlock' : s + 'mockup.forms.horSlider;sliderStyle=basic;sliderPos=20;handleStyle=circle',
- // 'UI2DatePickerBlock' NA
- 'UI2SearchBlock' : s + 'mockup.forms.searchBox;mainText=;flipH=1',
- 'UI2NumericStepperBlock' : s + 'mockup.forms.spinner;spinLayout=right;spinStyle=normal;adjStyle=triangle;fillColor=#000000;mainText=',
- 'UI2TableBlock' : cs, //TODO
- //UI Menus
- 'UI2ButtonBarBlock' : cs, //TODO
- 'UI2VerticalButtonBarBlock' : cs, //TODO
- 'UI2LinkBarBlock' : cs, //TODO
- 'UI2BreadCrumbsBlock' : cs, //TODO
- 'UI2MenuBarBlock' : cs, //TODO
- 'UI2AtoZBlock' : s + 'mockup.text.alphanumeric;linkText=;fontStyle=4',
- 'UI2PaginationBlock' : s + 'mockup.navigation.pagination;linkText=;fontStyle=4',
- 'UI2ContextMenuBlock' : cs, //TODO
- 'UI2TreePaneBlock' : cs, //TODO
- 'UI2PlaybackControlsBlock' : s + 'mockup.misc.playbackControls;fillColor=#ffffff;strokeColor=#999999;fillColor2=#99ddff;strokeColor2=none;fillColor3=#ffffff;strokeColor3=none',
- 'Image_ui_formatting_toolbar' : s + 'mockup.menus_and_buttons.font_style_selector_2',
- //UI Misc
- 'UI2ProgressBarBlock' : s + 'mockup.misc.progressBar;fillColor2=#888888;barPos=25',
- 'UI2HelpIconBlock' : s + 'mockup.misc.help_icon',
- 'UI2BraceNoteBlock' : s + 'mockup.markup.curlyBrace;direction=north', //TODO
- 'UI2TooltipBlock' : s + 'basic.rectangular_callout;flipV=1', //TODO
- 'UI2CalloutBlock' : 'shape=ellipse',
- 'UI2AlertBlock' : cs, //TODO
- //iOS 6 iPad Elements
- 'Image_ipad_ipad' : s + 'ios.iPad;bgStyle=bgGreen',
- 'iPadGrayBackgroundBlock' : '',
- 'Image_ipad_top_bar' : s + 'ios.iTopBar2;opacity=50;fillColor=#999999;strokeColor=#cccccc',
- // 'Image_ipad_bar_gray' : '',
- // 'Image_ipad_bar_semi_trans_black' : '',
- // 'Image_ipad_bar_black' : '',
- // 'Image_ipad_safari_top' NA
- 'Image_ipad_search' : s + 'mockup.forms.searchBox;mainText=;flipH=1',
- 'Image_ipad_alert_dialog' : cs, //TODO
- 'Image_ipad_dialog' : cs, //TODO
- 'Image_ipad_popover' : s + 'ios.iOption;barPos=50;pointerPos=top;buttonText=',
- 'Image_ipad_table' : cs, //TODO
- 'Image_ipad_vtab' : cs, //TODO
- //iOS 6 iPad Controls
- 'Image_ipad_button_black' : '',
- 'Image_ipad_button_blue' : '',
- 'Image_ipad_button_grayblue' : '',
- 'Image_ipad_button_red' : '',
- 'Image_ipad_back_button_gray' : s + 'ios.iButtonBack;buttonText=;fillColor=#eeeeee;fillColor2=#aaaaaa',
- 'Image_ipad_back_button_black' : s + 'ios.iButtonBack;buttonText=;fillColor=#888888;fillColor2=#000000',
- 'Image_ipad_sort_handle' : s + 'ios7.icons.options',
- 'Image_ipad_dropdown' : s + 'ios.iComboBox;buttonText=;fillColor=#dddddd;fillColor2=#3D5565',
- 'Image_ipad_email_name' : '',
- 'Image_ipad_prev_next' : s + 'ios.iPrevNext;strokeColor=#444444;fillColor=#dddddd;fillColor2=#3D5565;fillColor3=#ffffff',
- 'Image_ipad_keyboard_portrait' : s + 'ios.iKeybLett',
- 'Image_ipad_keyboard_landscape' : s + 'ios.iKeybLett',
- 'Image_ipad_large_tabbed_button' : cs, //TODO
- 'Image_ipad_sort_button' : cs, //TODO
- 'Image_ipad_tab_bar' : cs, //TODO
- 'Image_ipad_slider' : s + 'ios.iSlider;barPos=20',
- // 'Image_ipad_switch_off'
- //iOS 6 iPad Icons
- 'Image_ipad_add_icon_blue' : s + 'ios.iAddIcon;fillColor=#8BbEff;fillColor2=#135Ec8;strokeColor=#ffffff',
- 'Image_ipad_add_icon_green' : s + 'ios.iAddIcon;fillColor=#7AdF78;fillColor2=#1A9917;strokeColor=#ffffff',
- 'Image_ipad_remove_icon' : s + 'ios.iDeleteIcon;fillColor=#e8878E;fillColor2=#BD1421;strokeColor=#ffffff',
- 'Image_ipad_arrow_icon' : s + 'ios.iArrowIcon;fillColor=#8BbEff;fillColor2=#135Ec8;strokeColor=#ffffff',
- 'Image_ipad_arrow' : s + 'ios7.misc.more',
- 'Image_ipad_checkmark' : s + 'ios7.misc.check',
- 'Image_ipad_check_off' : 'shape=ellipse', //TODO
- 'Image_ipad_location_dot' : 'shape=ellipse',
- 'Image_ipad_mark_as_read' : 'shape=ellipse',
- 'Image_ipad_pin_green' : s + 'ios.iPin;fillColor2=#00dd00;fillColor3=#004400;strokeColor=#006600',
- 'Image_ipad_pin_red' : s + 'ios.iPin;fillColor2=#dd0000;fillColor3=#440000;strokeColor=#660000',
- 'Image_ipad_radio_off' : 'shape=ellipse', //TODO
- 'Image_ipad_checkbox_off' : 'absoluteArcSize=1;arcSize=' + arcSize + ';rounded=1', //TODO
- 'Image_ipad_indicator' : 'absoluteArcSize=1;arcSize=' + arcSize + ';rounded=1;fillColor=#e8878E;gradientColor=#BD1421;strokeColor=#ffffff',
- //iOS 6 iPhone Elements
- 'Image_iphone_iphone_4' : s + 'ios.iPhone;bg=bgGreen',
- 'Image_iphone_bg_black' : '',
- 'Image_iphone_bg_gray' : '',
- 'Image_iphone_bg_stripe_drk' : s + 'ios.iBgStriped;strokeColor=#18211b;fillColor=#5D7585;strokeColor2=#657E8F',
- 'Image_iphone_bg_stripe_lt' : s + 'ios.iBgStriped;strokeColor=#18211b;fillColor=#5D7585;strokeColor2=#657E8F',
- 'Image_iphone_bg_white' : '',
- 'Image_iphone_top_bar_app' : s + 'ios.iAppBar',
- 'Image_iphone_top_bar_home' : s + 'ios.iTopBar2;opacity=50;fillColor=#999999;strokeColor=#cccccc;strokeWidth=1',
- 'Image_iphone_bar_top' : '',
- 'Image_iphone_bar_semi_trans_black' : '',
- 'Image_iphone_bar_semi_trans_blue' : '',
- 'Image_iphone_search' : s + 'mockup.forms.searchBox;mainText=;flipH=1',
- 'Image_iphone_table' : cs, //TODO
- 'Image_iphone_table_w_buttons' : cs, //TODO
- 'Image_iphone_table_w_icons' : cs, //TODO
- 'Image_iphone_list' : cs, //TODO
- // 'Image_iphone_safari_top' NA
- // 'Image_iphone_safari_bottom' NA
- 'Image_iphone_gray_grad_list' : '', //TODO
- // 'Image_iphone_alert_bar' NA
- // 'Image_iphone_alert_dialog' : cs, //TODO
- 'Image_iphone_dialog' : cs, //TODO
- 'Image_iphone_scroll_pane' : cs, //TODO
- 'Image_iphone_alpha_list' : s + 'ios.iAlphaList',
- //iOS 6 iPhone Controls
- 'Image_iphone_button_black' : '',
- 'Image_iphone_button_blue' : '',
- 'Image_iphone_button_grayblue' : '',
- 'Image_iphone_button_red' : '',
- 'Image_iphone_button_lg_light' : '',
- 'Image_iphone_button_lg_dark' : '',
- 'Image_iphone_button_lg_green' : '',
- 'Image_iphone_button_lg_red' : '',
- 'Image_iphone_button_lg_yellow' : '',
- 'Image_iphone_button_xl_green' : '',
- 'Image_iphone_back_button' : s + 'ios.iButtonBack;strokeColor=#444444;buttonText=;fillColor=#dddddd;fillColor2=#3D5565',
- 'Image_iphone_prev_next' : s + 'ios.iPrevNext;strokeColor=#444444;fillColor=#dddddd;fillColor2=#3D5565;fillColor3=#ffffff',
- 'Image_iphone_sort_handle' : s + 'ios7.icons.options',
- 'Image_iphone_slider' : s + 'ios.iSlider;barPos=60',
- 'Image_iphone_dropdown' : s + 'ios.iComboBox;buttonText=;fillColor=#dddddd;fillColor2=#3D5565',
- 'Image_iphone_email_name' : '',
- 'Image_iphone_switch_off' : s + 'android.switch_off;fillColor=#666666', //TODO
- 'Image_iphone_keyboard_button_blue' : '',
- 'Image_iphone_keyboard_letters' : s + 'ios.iKeybLett',
- 'Image_iphone_keyboard_landscape' : s + 'ios.iKeybLett',
- 'Image_iphone_large_tabbed_button' : cs, //TODO
- 'Image_iphone_sort_button' : cs, //TODO
- 'Image_iphone_tab_bar' : cs, //TODO
- 'Image_iphone_picker_multi' : cs, //TODO
- 'Image_iphone_picker_web' : cs, //TODO
- //iOS 6 iPhone Icons
- 'Image_iphone_add_icon_blue' : s + 'ios.iAddIcon;fillColor=#8BbEff;fillColor2=#135Ec8;strokeColor=#ffffff',
- 'Image_iphone_add_icon_green' : s + 'ios.iAddIcon;fillColor=#7AdF78;fillColor2=#1A9917;strokeColor=#ffffff',
- 'Image_iphone_remove_icon' : s + 'ios.iDeleteIcon;fillColor=#e8878E;fillColor2=#BD1421;strokeColor=#ffffff',
- 'Image_iphone_arrow_icon' : s + 'ios.iArrowIcon;fillColor=#8BbEff;fillColor2=#135Ec8;strokeColor=#ffffff',
- 'Image_iphone_arrow' : s + 'ios7.misc.more',
- 'Image_iphone_checkmark' : s + 'ios7.misc.check',
- 'Image_iphone_check_off' : 'shape=ellipse', //TODO
- 'Image_iphone_location_dot' : 'shape=ellipse',
- 'Image_iphone_mark_as_read' : 'shape=ellipse',
- 'Image_iphone_pin_green' : s + 'ios.iPin;fillColor2=#00dd00;fillColor3=#004400;strokeColor=#006600',
- 'Image_iphone_pin_red' : s + 'ios.iPin;fillColor2=#dd0000;fillColor3=#440000;strokeColor=#660000',
- 'Image_iphone_radio_off' : 'shape=ellipse', //TODO
- 'Image_iphone_checkbox_off' : '', //TODO
- 'Image_iphone_indicator' : 'fillColor=#e8878E;gradientColor=#BD1421;strokeColor=#ffffff',
- 'Image_iphone_thread_count' : ''
- };
-
- function convertText(props)
- {
- var text = (props.Text != null) ? props.Text :
- ((props.Value != null) ? props.Value :
- props.Lane_0);
- var text2 = null;
-
- if (text == null && props.State != null)
- {
- if (props.State.t != null)
- {
- text = props.State;
- }
- }
- else if (text == null && props.Note != null)
- {
- if (props.Note.t != null)
- {
- text = props.Note;
- }
- }
- else if (props.t != null)
- {
- text = props;
- }
- if (text == null && props.TextAreas != null)
- {
- if (props.TextAreas.Text != null)
- {
- if (props.TextAreas.Text.Value != null)
- {
- if (props.TextAreas.Text.Value.t != null)
- {
- text = props.TextAreas.Text.Value;
- }
- }
- }
- }
- // TODO: Convert text object to HTML
- if (text != null)
- {
- if (text.t != null)
- {
- text.t = text.t.replace(/</g, '<');
- text.t = text.t.replace(/>/g, '>');
- return text.t;
- }
-
- if (text.Value != null)
- {
- if (text.Value.t != null)
- {
- text.Value.t = text.Value.t.replace(/</g, '<');
- text.Value.t = text.Value.t.replace(/>/g, '>');
- return text.Value.t;
- }
- }
- }
-
- return (text2 != null) ? text2 : '';
- };
-
- function getAction(obj)
- {
- if (obj.Action != null)
- {
- return obj.Action;
- }
-
- return obj;
- };
-
- function getTextM(properties)
- {
- if (properties.Text != null)
- {
- if (properties.Text.m != null)
- {
- return properties.Text.m;
- }
- }
- else if(properties.TextAreas != null)
- {
- if (properties.TextAreas.Text != null)
- {
- if (properties.TextAreas.Text.Value != null)
- {
- if (properties.TextAreas.Text.Value.m != null)
- {
- return properties.TextAreas.Text.Value.m;
- }
- }
- }
- }
- else if (properties.m != null)
- {
- return properties.m;
- }
- return null;
- }
-
- function getLabelStyle(properties)
- {
- var style = getFontSize(properties) +
- getFontColor(properties) +
- getFontStyle(properties) +
- getTextAlignment(properties) +
- getTextLeftSpacing(properties) +
- getTextRightSpacing(properties) +
- getTextTopSpacing(properties) +
- getTextBottomSpacing(properties) +
- getTextGlobalSpacing(properties) +
- getTextVerticalAlignment(properties);
-
- return style;
- }
-
- function getFontSize(properties)
- {
- //adds font size
- var isV = false;
-
- var m = getTextM(properties);
-
- if (m != null)
- {
- var i = 0;
-
- while ((!isV) && (i < m.length))
- {
- var currM = m[i];
-
- if (currM.n == 's')
- {
- if (currM.v != null)
- {
- isV = true;
- return 'fontSize=' + Math.round(currM.v * scale) + ';';
- }
- }
- i++;
- }
- }
-
- if (isV == 0)
- {
- return 'fontSize=10;';
- }
-
- return '';
- }
-
- function getFontColor(properties)
- {
- //adds font color
- var isC = false;
- var m = getTextM(properties);
-
- if (m != null)
- {
- var i = 0;
-
- while ((!isC) && (i < m.length))
- {
- var currM = m[i];
-
- if (currM.n == 'c')
- {
- if (currM.v != null)
- {
- isC = true;
-
- var currV = currM.v;
-
- if (currV.charAt(0) != '#')
- {
- currV = '#' + currV;
- }
- var currV = currV.substring(0, 7);
- return mxConstants.STYLE_FONTCOLOR + '=' + currV + ';';
- }
- }
-
- i++;
- }
- }
-
- return '';
- }
-
- function getFontStyle(properties)
- {
- var m = getTextM(properties);
-
- if (m != null)
- {
- var fontStyle = 0;
- //check for bold text
- var isBT = false;
-
- if (m != null)
- {
- var i = 0;
-
- while ((!isBT) && (i < m.length))
- {
- var currM = m[i];
-
- if (currM.n == 'b')
- {
- if (currM.v != null && currM.v)
- {
- isBT = true;
- fontStyle += 1;
- }
- }
-
- i++;
- }
- }
-
- //check for italic text
- var isIT = false;
-
- if (m != null)
- {
- var i = 0;
-
- while ((!isIT) && (i < m.length))
- {
- var currM = m[i];
-
- if (currM.n == 'i')
- {
- if (currM.v != null && currM.v)
- {
- isIT = true;
- fontStyle += 2;
- }
- }
-
- i++;
- }
- }
-
- //check for underline text
- var isUT = false;
-
- if (m != null)
- {
- var i = 0;
-
- while ((!isUT) && (i < m.length))
- {
- var currM = m[i];
-
- if (currM.n == 'u')
- {
- if (currM.v != null && currM.v)
- {
- isUT = true;
- fontStyle += 4;
- }
- }
-
- i++;
- }
- }
-
- if (fontStyle > 0)
- {
- return 'fontStyle=' + fontStyle + ';';
- }
- }
-
- return '';
- }
-
- function getTextAlignment(properties)
- {
- var m = getTextM(properties);
-
- //adds text alignment
- var isA = false;
-
- if (m != null)
- {
- var i = 0;
-
- while ((!isA) && (i < m.length))
- {
- var currM = m[i];
-
- if (currM.n == 'a')
- {
- if (currM.v != null)
- {
- isA = true;
- return 'align=' + currM.v + ';';
- }
- }
-
- i++;
- }
- }
-
- // if (!isA)
- // {
- // return createStyle(mxConstants.STYLE_ALIGN, properties.TextAlign, 'center');
- // }
-
- return 'align=center;';
- }
-
- function getTextLeftSpacing(properties)
- {
- var m = getTextM(properties);
-
- if (m != null)
- {
- //adds left spacing
- var i = 0;
-
- while (i < m.length)
- {
- var currM = m[i];
-
- if (currM.n == 'il')
- {
- if (currM.v != null)
- {
- return 'spacingLeft=' + currM.v * 0.6 + ';';
- }
- }
- else if (currM.n == 's' && getTextAlignment(properties) != 'align=center;')
- {
- if (currM.v != null)
- {
- return 'spacingLeft=' + currM.v * 0.6 + ';';
- }
- }
-
- i++;
- }
- }
-
- return '';
- }
- function getTextRightSpacing(properties)
- {
- //adds right spacing
- var isIR = false;
- var m = getTextM(properties);
-
- if (m != null)
- {
- var i = 0;
-
- while ((!isIR) && (i < m.length))
- {
- var currM = m[i];
-
- if (currM.n == 'ir')
- {
- if (currM.v != null)
- {
- isIR = true;
-
- return 'spacingRight=' + currM.v + ';';
- }
- }
-
- i++;
- }
- }
-
- return '';
- }
-
- function getTextTopSpacing(properties)
- {
- //adds top spacing
- var isMT = false;
- var m = getTextM(properties);
-
- if (m != null)
- {
- var i = 0;
-
- while ((!isMT) && (i < m.length))
- {
- var currM = m[i];
-
- if (currM.n == 'mt')
- {
- if (currM.v != null)
- {
- isMT = true;
- return 'spacingTop=' + currM.v + ';';
- }
- }
-
- i++;
- }
- }
- return '';
- }
-
- function getTextBottomSpacing(properties)
- {
- //adds bottom spacing
- var isMB = false;
- var m = getTextM(properties);
-
- if (m != null)
- {
- var i = 0;
-
- while ((!isMB) && (i < m.length))
- {
- var currM = m[i];
-
- if (currM.n == 'mb')
- {
- if (currM.v != null)
- {
- isMB = true;
- return 'spacingBottom=' + currM.v + ';';
- }
- }
-
- i++;
- }
- }
-
- return '';
- }
-
- function getTextGlobalSpacing(properties)
- {
- //adds global spacing
- if (typeof properties.InsetMargin === 'number')
- {
- return 'spacing=' + parseInt(properties.InsetMargin) + ';';
- }
-
- return '';
- }
-
- function getTextVerticalAlignment(properties)
- {
- // adds text vertical alignment
- if (properties.Text_VAlign != null)
- {
- if (typeof properties.Text_VAlign === 'string')
- {
- return 'verticalAlign=' + properties.Text_VAlign + ';';
- }
- }
-
- return createStyle(mxConstants.STYLE_VERTICAL_ALIGN, properties.TextVAlign, 'middle');
- }
-
- function getStrokeColor(properties, action)
- {
- if (!hardStroke.includes(action.Class))
- {
- if (properties.LineWidth == 0)
- {
- return mxConstants.STYLE_STROKECOLOR + '=none;';
- }
- else
- {
- return createStyle(mxConstants.STYLE_STROKECOLOR, properties.LineColor.substring(0, 7), '#000000');
- }
- }
- else
- {
- if (action.Class.substring(0,4) == 'Venn')
- {
- return createStyle(mxConstants.STYLE_STROKECOLOR, properties.FillColor.substring(0, 7), '#FFFFFF');
- }
- }
-
- return '';
- }
- function getOpacity(properties, action)
- {
- var style = '';
-
- if (!hardOpacity.includes(action.Class))
- {
- style += createStyle(mxConstants.STYLE_OPACITY, properties.Opacity, '100');
- }
- if (typeof properties.LineColor === 'string')
- {
- if (properties.LineColor.length > 7)
- {
- var sOpac = "0x" + properties.LineColor.substring(properties.LineColor.length - 2, properties.LineColor.length);
- style += 'strokeOpacity=' + Math.round(parseInt(sOpac) / 2.55) + ';';
- }
- }
-
- if (typeof properties.FillColor === 'string')
- {
- if (properties.FillColor.length > 7)
- {
- var fOpac = "0x" + properties.FillColor.substring(properties.FillColor.length - 2, properties.FillColor.length);
- style += 'fillOpacity=' + Math.round(parseInt(fOpac) / 2.55) + ';';
- }
- }
-
- return style;
- }
- function getRounded(properties, action)
- {
- //rounding check
- if (properties.Rounding != null && !hardRound.includes(action.Class))
- {
- if (properties.Rounding > 0)
- {
- return 'rounded=1;absoluteArcSize=1;arcSize=' + properties.Rounding * 0.6 + ';';
- }
- }
- else if (properties.Rounding == null && hardDefRound.includes(action.Class))
- {
- return 'rounded=1;absoluteArcSize=1;arcSize=8;'
- }
-
- return '';
- }
- function getRotation(properties, action, cell)
- {
- // Converts rotation
- if (properties.Rotation != null)
- {
- // KNOWN: TextRotation currently ignored
- var deg = mxUtils.toDegree(parseFloat(properties.Rotation));
-
- // Fixes the case for horizontal swimlanes where we use horizontal=0
- // and Lucid uses rotation
-
- if (action.Class == 'AdvancedSwimLaneBlockRotated')
- {
- deg += 90;
- cell.geometry.rotate90();
- }
- else if (rccw.includes(action.Class))
- {
- deg -= 90;
- cell.geometry.rotate90();
- cell.geometry.rotate90();
- cell.geometry.rotate90();
- }
-
- if (deg != 0)
- {
- return 'rotation=' + deg + ';';
- }
- }
-
- return '';
- }
-
- function getFlipH(properties)
- {
- if (properties.FlipX)
- {
- return 'flipH=1;';
- }
-
- return '';
- }
-
- function getFlipV(properties)
- {
- if (properties.FlipY)
- {
- return 'flipV=1;';
- }
-
- return '';
- }
- function getShadow(properties)
- {
- // Shadow is mapped simple shadow style
- if (properties.Shadow != null)
- {
- return mxConstants.STYLE_SHADOW + '=1;';
- }
-
- return '';
- }
- function getFillColor(properties, action)
- {
- // Gradients and fill color
- if (properties.FillColor != null)
- {
- if (!hardFill.includes(action.Class))
- {
- if (typeof properties.FillColor === 'object')
- {
- if (properties.FillColor.cs != null && properties.FillColor.cs.length > 1)
- {
- return createStyle(mxConstants.STYLE_FILLCOLOR, properties.FillColor.cs[0].c.substring(0, 7)) + createStyle(mxConstants.STYLE_GRADIENTCOLOR, properties.FillColor.cs[1].c.substring(0, 7));
- }
- }
- else if (typeof properties.FillColor === 'string')
- {
- return createStyle(mxConstants.STYLE_FILLCOLOR, properties.FillColor.substring(0, 7), '#FFFFFF');
- }
- else
- {
- return createStyle(mxConstants.STYLE_FILLCOLOR, 'none');
- }
- }
- }
-
- return '';
- }
-
- function getStrokeStyle(properties)
- {
- // Stroke style
- if (properties.StrokeStyle == 'dashed')
- {
- return 'dashed=1;';
- }
- else if (properties.StrokeStyle == 'dotted')
- {
- return 'dashed=1;dashPattern=1 4;';
- }
-
- return '';
- }
-
- function getStrokeWidth(properties)
- {
- return createStyle(mxConstants.STYLE_STROKEWIDTH, parseFloat(properties.LineWidth) * scale, '1');
- }
-
- function getImage(properties, action)
- {
- // Converts images
- if (action.Class == 'ImageSearchBlock2')
- {
- return 'image=' + properties.URL + ';';
- }
-
- return '';
- }
-
- function updateCell(cell, obj)
- {
- var a = getAction(obj);
-
- if (a != null)
- {
- var s = styleMap[a.Class] + ';';
-
- if (s != null)
- {
- cell.style += s;
- }
- else if (a.Class != null)
- {
- // console.log('no mapping', a.Class);
- }
-
- var p = (a.Properties != null) ? a.Properties : a;
- if (p != null)
- {
- //adds label
- cell.value = convertText(p);
-
-
- cell.style += getFontSize(p) +
- getFontColor(p) +
- getFontStyle(p) +
- getTextAlignment(p, cell) +
- getTextLeftSpacing(p) +
- getTextRightSpacing(p) +
- getTextTopSpacing(p) +
- getTextBottomSpacing(p) +
- getTextGlobalSpacing(p) +
- getTextVerticalAlignment(p) +
- getStrokeColor(p, a) +
- getOpacity(p, a) +
- getRounded(p, a) +
- getRotation(p, a, cell) +
- getFlipH(p) +
- getFlipV(p) +
- getShadow(p) +
- getFillColor(p, a) +
- getStrokeStyle(p) +
- getStrokeWidth(p) +
- getImage(p, a);
-
- // Edge style
- if (cell.edge)
- {
- cell.style += 'rounded=1;arcSize=' + arcSize + ';';
-
- if (p.Shape != 'diagonal')
- {
- if (p.ElbowPoints != null)
- {
- cell.geometry.points = [];
-
- for (var i = 0; i < p.ElbowPoints.length; i++)
- {
- cell.geometry.points.push(new mxPoint(Math.round(p.ElbowPoints[i].x * scale + dx),
- Math.round(p.ElbowPoints[i].y * scale + dy)));
- }
- }
- else if (p.Shape == 'elbow')
- {
- if (p.Endpoint1.Block != null && p.Endpoint1.Block != null)
- {
- cell.style += 'edgeStyle=orthogonalEdgeStyle;';
- }
- else
- {
- cell.style += 'edgeStyle=elbowEdgeStyle;';
- }
- }
- else if (p.Endpoint1.Block != null && p.Endpoint1.Block != null)
- {
- cell.style += 'edgeStyle=orthogonalEdgeStyle;';
-
- if (p.Shape == 'curve')
- {
- cell.style += 'curved=1;';
- }
- }
- }
- if (p.Endpoint1.Style != null)
- {
- cell.style += 'startArrow=' + edgeStyleMap[p.Endpoint1.Style] + ';';
- }
-
- if (p.Endpoint2.Style != null)
- {
- cell.style += 'endArrow=' + edgeStyleMap[p.Endpoint2.Style].replace(/startSize/g, 'endSize') + ';';
- }
-
- // Anchor points and arrows
- // TODO: Convert waypoints, elbowPoints
- updateEndpoint(cell, p.Endpoint1, true);
- updateEndpoint(cell, p.Endpoint2, false);
- }
- }
- }
- };
-
- function createVertex(obj)
- {
- var p = getAction(obj).Properties;
- var b = p.BoundingBox;
- if (obj.Class != null && obj.Class.substring(0, 3) === "AWS")
- {
- b.h = b.h - 20;
- }
-
- v = new mxCell('', new mxGeometry(Math.round(b.x * scale + dx), Math.round(b.y * scale + dy),
- Math.round(b.w * scale), Math.round(b.h * scale)), vertexStyle);
- v.vertex = true;
- updateCell(v, obj);
- return v;
- };
-
- function createEdge(obj)
- {
- var e = new mxCell('', new mxGeometry(0, 0, 100, 100), edgeStyle);
- e.geometry.relative = true;
- e.edge = true;
- updateCell(e, obj);
-
- // Adds text labels
- var a = getAction(obj);
- var p = a.Properties;
- var ta = (p != null) ? p.TextAreas : obj.TextAreas;
-
- if (ta != null)
- {
- var count = 0;
-
- while (ta['t' + count] != null)
- {
- var tmp = ta['t' + count];
- e = insertLabel(tmp, e);
- count++;
- }
-
- var count = 1;
-
- while (ta['m' + count] != null)
- {
- var tmp = ta['m' + count];
- e = insertLabel(tmp, e, obj);
- count++;
- }
- if (ta.Text != null)
- {
- e = insertLabel(ta, e, obj);
- }
- var ta = (p != null) ? p.TextAreas : obj.TextAreas;
-
- if (ta.Message != null)
- {
- e = insertLabel(ta.Message, e, obj);
- }
- }
-
- return e;
- }
- function insertLabel(textArea, e, obj)
- {
- var x = (parseFloat(textArea.Location) - 0.5) * 2;
- var lab = new mxCell(convertText(textArea), new mxGeometry(x, 0, 0, 0), labelStyle);
- lab.geometry.relative = true
- lab.vertex = true;
- e.insert(lab);
-
- return e;
- };
-
- function createStyle(key, prop, defaultValue, fn)
- {
- if (prop != null && fn != null)
- {
- prop = fn(prop);
- }
-
- if (prop != null && prop != defaultValue)
- {
- return key + '=' + prop + ';';
- }
-
- return '';
- };
- function updateEndpoint(cell, endpoint, source)
- {
- if (endpoint != null)
- {
- if (endpoint.LinkX != null && endpoint.LinkY != null)
- {
- cell.style += ((source) ? 'exitX' : 'entryX') + '=' + endpoint.LinkX + ';' +
- ((source) ? 'exitY' : 'entryY') + '=' + endpoint.LinkY + ';' +
- ((source) ? 'exitPerimeter' : 'entryPerimeter') + '=0;';
- }
- }
- };
- var hideObj = function(key, groups, hidden)
- {
- if (!hidden.includes(key))
- {
- hidden.push(key);
- }
- if (key in groups)
- {
- var obj = groups[key];
- obj.id = key;
-
- if (obj.Members != null)
- {
- for (var key2 in obj.Members)
- {
- hidden = hideObj(key2, groups, hidden);
- }
- }
-
- }
-
- return hidden;
- };
-
- EditorUi.prototype.pasteLucidChart = function(g, dx, dy, crop)
- {
- // Creates a new graph, inserts cells and returns XML for insert
- var graph = this.editor.graph;
-
- graph.getModel().beginUpdate();
- try
- {
- var select = [];
- var lookup = {};
- var queue = [];
- //collect IDs that are part of groups and hidden
- var hidden = [];
- var i = 0;
-
- if (g.Groups != null)
- {
- for (var key in g.Groups)
- {
- var obj = g.Groups[key];
- obj.id = key;
-
- if (obj.Hidden == true && obj.Members != null)
- {
- if (!hidden.includes(key))
- {
- hidden.push(key);
- }
- for (var key2 in obj.Members)
- {
- hidden = hideObj(key2, g.Groups, hidden);
- }
- }
- }
- }
-
- // Vertices first (populates lookup table for connecting edges)
- if (g.Blocks != null)
- {
- for (var key in g.Blocks)
- {
- var obj = g.Blocks[key];
- obj.id = key;
-
- if (!hidden.includes(key))
- {
- var created = false;
-
- if (styleMap[obj.Class] != null)
- {
- if (styleMap[obj.Class] == 'mxCompositeShape')
- {
- lookup[obj.id] = addCompositeShape(obj);
- queue.push(obj);
- created = true;
- }
- }
-
- if (!created)
- {
- lookup[obj.id] = createVertex(obj);
- queue.push(obj);
- }
- }
- }
- }
- else
- {
- for (var i = 0; i < g.Objects.length; i++)
- {
- var obj = g.Objects[i];
-
- if (obj.IsBlock && obj.Action != null && obj.Action.Properties != null)
- {
- lookup[obj.id] = createVertex(obj);
- }
-
- queue.push(obj);
- }
- }
-
- // Sorts all cells by ZOrder
- queue.sort(function(a, b)
- {
- a = getAction(a);
- b = getAction(b);
-
- if (a.Properties != null)
- {
- if (b.Properties != null)
- {
- return a.Properties.ZOrder - b.Properties.ZOrder;
- }
- }
-
- return 0;
- });
-
- function addLine(obj, p)
- {
- var src = (p.Endpoint1.Block != null) ? lookup[p.Endpoint1.Block] : null;
- var trg = (p.Endpoint2.Block != null) ? lookup[p.Endpoint2.Block] : null;
- var e = createEdge(obj);
-
- if (src == null && p.Endpoint1 != null)
- {
- e.geometry.setTerminalPoint(new mxPoint(Math.round(p.Endpoint1.x * scale),
- Math.round(p.Endpoint1.y * scale)), true);
- }
-
- if (trg == null && p.Endpoint2 != null)
- {
- e.geometry.setTerminalPoint(new mxPoint(Math.round(p.Endpoint2.x * scale),
- Math.round(p.Endpoint2.y * scale)), false);
- }
-
- select.push(graph.addCell(e, null, null, src, trg));
- };
-
- // Inserts cells in ZOrder and connects edges via lookup
- for (var i = 0; i < queue.length; i++)
- {
- var obj = queue[i];
- var v = lookup[obj.id];
-
- if (v != null)
- {
- select.push(graph.addCell(v));
- }
- else if (obj.IsLine && obj.Action != null && obj.Action.Properties != null)
- {
- var p = obj.Action.Properties;
- addLine(obj, p);
- }
- }
-
- if (g.Lines != null)
- {
- for (var key in g.Lines)
- {
- if (!hidden.includes(key))
- {
- var obj = g.Lines[key];
- addLine(obj, obj);
- }
- }
- }
-
- if (crop && dx != null && dy != null)
- {
- if (graph.isGridEnabled())
- {
- dx = graph.snap(dx);
- dy = graph.snap(dy);
- }
-
- var bounds = graph.getBoundingBoxFromGeometry(select, true);
-
- if (bounds != null)
- {
- graph.moveCells(select, dx - bounds.x, dy - bounds.y);
- }
- }
- graph.setSelectionCells(select);
- }
- finally
- {
- graph.getModel().endUpdate();
- }
-
- if (!graph.isSelectionEmpty())
- {
- graph.scrollCellToVisible(graph.getSelectionCell());
-
- if (this.hoverIcons != null)
- {
- this.hoverIcons.update(graph.view.getState(graph.getSelectionCell()));
- }
- }
- };
- function addCompositeShape(obj)
- {
- var a = getAction(obj);
- var p = a.Properties;
- var b = p.BoundingBox;
- var w = Math.round(b.w * scale);
- var h = Math.round(b.h * scale);
- var x = Math.round(b.x * scale + dx);
- var y = Math.round(b.y * scale + dy);
-
- v = new mxCell('', new mxGeometry(x, y, w, h), vertexStyle);
- v.vertex = true;
- switch (obj.Class)
- {
- case 'BraceNoteBlock' :
-
- var isRightBrace = false;
-
- if (p.BraceDirection != null)
- {
- if (p.BraceDirection == 'Right')
- {
- isRightBrace = true;
- }
- }
-
- var brace = null;
- var label = null;
-
- if (isRightBrace)
- {
- brace = new mxCell('', new mxGeometry(w - h * 0.125, 0, h * 0.125, h), 'shape=curlyBracket;rounded=1;');
- label = new mxCell('', new mxGeometry(0, 0, w - h * 0.125, h), 'strokeColor=none;fillColor=none;');
- }
- else
- {
- brace = new mxCell('', new mxGeometry(0, 0, h * 0.125, h), 'shape=curlyBracket;rounded=1;flipH=1;');
- label = new mxCell('', new mxGeometry(h * 0.125, 0, w - h * 0.125, h), 'strokeColor=none;fillColor=none;');
- }
-
- v.style = "strokeColor=none;fillColor=none;"
- v.style += getRotation(p, a, v);
-
- brace.vertex = true;
- v.insert(brace);
- brace.style += getStrokeColor(p, a) +
- getOpacity(p, a) +
- getShadow(p) +
- getStrokeStyle(p) +
- getStrokeWidth(p);
- label.vertex = true;
- label.value = convertText(p);
- v.insert(label);
-
- label.style += getFontSize(p) +
- getFontColor(p) +
- getFontStyle(p) +
- getTextAlignment(p, label) +
- getTextLeftSpacing(p) +
- getTextRightSpacing(p) +
- getTextTopSpacing(p) +
- getTextBottomSpacing(p) +
- getTextGlobalSpacing(p) +
- getTextVerticalAlignment(p);
- break;
-
- case 'AdvancedSwimLaneBlockRotated' :
- case 'AdvancedSwimLaneBlock' :
- var lanesNum = 0;
-
- if (p.Lanes != null)
- {
- lanesNum = p.Lanes.length;
- }
- v.style = "strokeColor=none;fillColor=none;"
- var totalOffset = 0; //relative
- var lane = new Array();
-
- for (var i = 0; i < lanesNum; i++)
- {
- var currOffset = parseFloat(p.Lanes[i].p);
-
- lane.push(new mxCell('', new mxGeometry(w * totalOffset, 0, w * currOffset, h), 'shape=swimlane;startSize=25;'));
-
- lane[i].vertex = true;
- v.insert(lane[i]);
- lane[i].value = convertText(p["Lane_" + i]);
- lane[i].style += getFontSize(p["Lane_" + i]) +
- getFontColor(p["Lane_" + i]) +
- getFontStyle(p["Lane_" + i]) +
- getTextAlignment(p["Lane_" + i], lane[i]) +
- getTextLeftSpacing(p["Lane_" + i]) +
- getTextRightSpacing(p["Lane_" + i]) +
- getTextTopSpacing(p["Lane_" + i]) +
- getTextBottomSpacing(p["Lane_" + i]) +
- getTextGlobalSpacing(p["Lane_" + i]) +
- getTextVerticalAlignment(p["Lane_" + i]) +
- getStrokeColor(p, a) +
- getOpacity(p, a) +
- getRounded(p, a) +
- getRotation(p, a, lane[i]) +
- getFlipH(p) +
- getFlipV(p) +
- getShadow(p) +
- getFillColor(p, a) +
- getStrokeStyle(p) +
- getStrokeWidth(p);
- totalOffset += currOffset;
- }
-
- break;
-
- case 'AndroidDevice' :
- if (p.AndroidDeviceName != null)
- {
-
- v.style = "fillColor=#000000;strokeColor=#000000;";
- var background = null;
- var keyboard = null;
- var statusBar = null;
-
- if (p.AndroidDeviceName == 'Tablet' || p.AndroidDeviceName == 'Mini Tablet')
- {
- v.style += "shape=mxgraph.android.tab2;"
- background = new mxCell('', new mxGeometry(w * 0.112, h * 0.077, w * 0.77, h * 0.85), '');
-
- if (p.KeyboardShown)
- {
- keyboard = new mxCell('', new mxGeometry(w * 0.112, h * 0.727, w * 0.77, h * 0.2), 'shape=mxgraph.android.keyboard;');
- }
- if (!p.FullScreen)
- {
- statusBar = new mxCell('', new mxGeometry(w * 0.112, h * 0.077, w * 0.77, h * 0.03), 'shape=mxgraph.android.statusBar;strokeColor=#33b5e5;fillColor=#000000;fontColor=#33b5e5;fontSize=' + h * 0.015 + ';');
- }
- }
- else if (p.AndroidDeviceName == 'Large Phone' || p.AndroidDeviceName == 'Phone')
- {
- v.style += "shape=mxgraph.android.phone2;"
- background = new mxCell('', new mxGeometry(w * 0.04, h * 0.092, w * 0.92, h * 0.816), '');
-
- if (p.KeyboardShown)
- {
- keyboard = new mxCell('', new mxGeometry(w * 0.04, h * 0.708, w * 0.92, h * 0.2), 'shape=mxgraph.android.keyboard;');
- }
-
- if (!p.FullScreen)
- {
- statusBar = new mxCell('', new mxGeometry(w * 0.04, h * 0.092, w * 0.92, h * 0.03), 'shape=mxgraph.android.statusBar;strokeColor=#33b5e5;fillColor=#000000;fontColor=#33b5e5;fontSize=' + h * 0.015 + ';');
- }
- }
-
- background.vertex = true;
- v.insert(background);
-
- if (p.Scheme == "Dark")
- {
- background.style += "fillColor=#111111;"
- }
- else if (p.Scheme == "Light")
- {
- background.style += "fillColor=#ffffff;"
- }
-
- if (keyboard != null)
- {
- keyboard.vertex = true;
- v.insert(keyboard);
- }
- if (statusBar != null)
- {
- statusBar.vertex = true;
- v.insert(statusBar);
- }
- }
-
- break;
-
- case 'AndroidAlertDialog' :
- var dialog = new mxCell('', new mxGeometry(0, 0, w, 30), 'strokeColor=none;fillColor=none;spacingLeft=9;');
- dialog.vertex = true;
- v.insert(dialog);
- var line = new mxCell('', new mxGeometry(0, 25, w, 10), 'shape=line;strokeColor=#33B5E5;');
- line.vertex = true;
- v.insert(line);
- var dialogText = new mxCell('', new mxGeometry(0, 30, w, h - 30), 'strokeColor=none;fillColor=none;verticalAlign=top;');
- dialogText.vertex = true;
- v.insert(dialogText);
- var cancelButton = new mxCell('', new mxGeometry(0, h - 25, w * 0.5, 25), 'fillColor=none;');
- cancelButton.vertex = true;
- v.insert(cancelButton);
- var okButton = new mxCell('', new mxGeometry(w * 0.5, h - 25, w * 0.5, 25), 'fillColor=none;');
- okButton.vertex = true;
- v.insert(okButton);
- dialog.value = convertText(p.DialogTitle);
- dialog.style += getLabelStyle(p.DialogTitle);
- dialogText.value = convertText(p.DialogText);
- dialogText.style += getLabelStyle(p.DialogText);
- cancelButton.value = convertText(p.Button_0);
- cancelButton.style += getLabelStyle(p.Button_0);
- okButton.value = convertText(p.Button_1);
- okButton.style += getLabelStyle(p.Button_1);
- if (p.Scheme == 'Dark')
- {
- v.style += 'strokeColor=#353535;fillColor=#282828;shadow=1;';
- cancelButton.style += 'strokeColor=#353535;';
- okButton.style += 'strokeColor=#353535;';
- }
- else
- {
- v.style += 'strokeColor=none;fillColor=#ffffff;shadow=1;';
- cancelButton.style += 'strokeColor=#E2E2E2;';
- okButton.style += 'strokeColor=#E2E2E2;';
- }
-
- break;
-
- case 'AndroidDateDialog' :
- case 'AndroidTimeDialog' :
- var dialog = new mxCell('', new mxGeometry(0, 0, w, 30), 'strokeColor=none;fillColor=none;spacingLeft=9;');
- dialog.vertex = true;
- v.insert(dialog);
- dialog.value = convertText(p.DialogTitle);
- dialog.style += getLabelStyle(p.DialogTitle);
- var line = new mxCell('', new mxGeometry(0, 25, w, 10), 'shape=line;strokeColor=#33B5E5;');
- line.vertex = true;
- v.insert(line);
- var cancelButton = new mxCell('', new mxGeometry(0, h - 25, w * 0.5, 25), 'fillColor=none;');
- cancelButton.vertex = true;
- v.insert(cancelButton);
- cancelButton.value = convertText(p.Button_0);
- cancelButton.style += getLabelStyle(p.Button_0);
- var okButton = new mxCell('', new mxGeometry(w * 0.5, h - 25, w * 0.5, 25), 'fillColor=none;');
- okButton.vertex = true;
- v.insert(okButton);
- okButton.value = convertText(p.Button_1);
- okButton.style += getLabelStyle(p.Button_1);
- var triangle1 = new mxCell('', new mxGeometry(w * 0.5 - 4, 41, 8, 4), 'shape=triangle;direction=north;');
- triangle1.vertex = true;
- v.insert(triangle1);
- var triangle2 = new mxCell('', new mxGeometry(w * 0.25 - 4, 41, 8, 4), 'shape=triangle;direction=north;');
- triangle2.vertex = true;
- v.insert(triangle2);
- var triangle3 = new mxCell('', new mxGeometry(w * 0.75 - 4, 41, 8, 4), 'shape=triangle;direction=north;');
- triangle3.vertex = true;
- v.insert(triangle3);
- var prevDate1 = new mxCell('', new mxGeometry(w * 0.375, 50, w * 0.2, 15), 'strokeColor=none;fillColor=none;');
- prevDate1.vertex = true;
- v.insert(prevDate1);
- prevDate1.value = convertText(p.Label_1);
- prevDate1.style += getLabelStyle(p.Label_1);
- var prevDate2 = new mxCell('', new mxGeometry(w * 0.125, 50, w * 0.2, 15), 'strokeColor=none;fillColor=none;');
- prevDate2.vertex = true;
- v.insert(prevDate2);
- prevDate2.value = convertText(p.Label_0);
- prevDate2.style += getLabelStyle(p.Label_0);
- var prevDate3 = null;
-
- if (obj.Class == 'AndroidDateDialog')
- {
- prevDate3 = new mxCell('', new mxGeometry(w * 0.625, 50, w * 0.2, 15), 'strokeColor=none;fillColor=none;');
- prevDate3.vertex = true;
- v.insert(prevDate3);
- prevDate3.value = convertText(p.Label_2);
- prevDate3.style += getLabelStyle(p.Label_2);
- }
- var line1 = new mxCell('', new mxGeometry(w * 0.43, 60, w * 0.14, 10), 'shape=line;strokeColor=#33B5E5;');
- line1.vertex = true;
- v.insert(line1);
- var line2 = new mxCell('', new mxGeometry(w * 0.18, 60, w * 0.14, 10), 'shape=line;strokeColor=#33B5E5;');
- line2.vertex = true;
- v.insert(line2);
- var line3 = new mxCell('', new mxGeometry(w * 0.68, 60, w * 0.14, 10), 'shape=line;strokeColor=#33B5E5;');
- line3.vertex = true;
- v.insert(line3);
- var date1 = new mxCell('', new mxGeometry(w * 0.375, 65, w * 0.2, 15), 'strokeColor=none;fillColor=none;');
- date1.vertex = true;
- v.insert(date1);
- date1.value = convertText(p.Label_4);
- date1.style += getLabelStyle(p.Label_4);
-
- var sep = null;
-
- if (obj.Class == 'AndroidTimeDialog')
- {
- sep = new mxCell('', new mxGeometry(w * 0.3, 65, w * 0.1, 15), 'strokeColor=none;fillColor=none;');
- sep.vertex = true;
- v.insert(sep);
- sep.value = convertText(p.Label_Colon);
- sep.style += getLabelStyle(p.Label_Colon);
- }
-
- var date2 = new mxCell('', new mxGeometry(w * 0.125, 65, w * 0.2, 15), 'strokeColor=none;fillColor=none;');
- date2.vertex = true;
- v.insert(date2);
- date2.value = convertText(p.Label_3);
- date2.style += getLabelStyle(p.Label_3);
- var date3 = new mxCell('', new mxGeometry(w * 0.625, 65, w * 0.2, 15), 'strokeColor=none;fillColor=none;');
- date3.vertex = true;
- v.insert(date3);
- date3.value = convertText(p.Label_5);
- date3.style += getLabelStyle(p.Label_5);
- var line4 = new mxCell('', new mxGeometry(w * 0.43, 75, w * 0.14, 10), 'shape=line;strokeColor=#33B5E5;');
- line4.vertex = true;
- v.insert(line4);
- var line5 = new mxCell('', new mxGeometry(w * 0.18, 75, w * 0.14, 10), 'shape=line;strokeColor=#33B5E5;');
- line5.vertex = true;
- v.insert(line5);
- var line6 = new mxCell('', new mxGeometry(w * 0.68, 75, w * 0.14, 10), 'shape=line;strokeColor=#33B5E5;');
- line6.vertex = true;
- v.insert(line6);
- var nextDate1 = new mxCell('', new mxGeometry(w * 0.375, 80, w * 0.2, 15), 'strokeColor=none;fillColor=none;');
- nextDate1.vertex = true;
- v.insert(nextDate1);
- nextDate1.value = convertText(p.Label_7);
- nextDate1.style += getLabelStyle(p.Label_7);
- var nextDate2 = new mxCell('', new mxGeometry(w * 0.125, 80, w * 0.2, 15), 'strokeColor=none;fillColor=none;');
- nextDate2.vertex = true;
- v.insert(nextDate2);
- nextDate2.value = convertText(p.Label_6);
- nextDate2.style += getLabelStyle(p.Label_6);
- var nextDate3 = new mxCell('', new mxGeometry(w * 0.625, 80, w * 0.2, 15), 'strokeColor=none;fillColor=none;');
- nextDate3.vertex = true;
- v.insert(nextDate3);
- nextDate3.value = convertText(p.Label_8);
- nextDate3.style += getLabelStyle(p.Label_8);
-
- var triangle4 = new mxCell('', new mxGeometry(w * 0.5 - 4, 99, 8, 4), 'shape=triangle;direction=south;');
- triangle4.vertex = true;
- v.insert(triangle4);
- var triangle5 = new mxCell('', new mxGeometry(w * 0.25 - 4, 99, 8, 4), 'shape=triangle;direction=south;');
- triangle5.vertex = true;
- v.insert(triangle5);
- var triangle6 = new mxCell('', new mxGeometry(w * 0.75 - 4, 99, 8, 4), 'shape=triangle;direction=south;');
- triangle6.vertex = true;
- v.insert(triangle6);
- if (p.Scheme == 'Dark')
- {
- v.style += 'strokeColor=#353535;fillColor=#282828;shadow=1;';
- cancelButton.style += 'strokeColor=#353535;';
- okButton.style += 'strokeColor=#353535;';
- triangle1.style += 'strokeColor=none;fillColor=#7E7E7E;';
- triangle2.style += 'strokeColor=none;fillColor=#7E7E7E;';
- triangle3.style += 'strokeColor=none;fillColor=#7E7E7E;';
- triangle4.style += 'strokeColor=none;fillColor=#7E7E7E;';
- triangle5.style += 'strokeColor=none;fillColor=#7E7E7E;';
- triangle6.style += 'strokeColor=none;fillColor=#7E7E7E;';
- }
- else
- {
- v.style += 'strokeColor=none;fillColor=#ffffff;shadow=1;';
- cancelButton.style += 'strokeColor=#E2E2E2;';
- okButton.style += 'strokeColor=#E2E2E2;';
- triangle1.style += 'strokeColor=none;fillColor=#939393;';
- triangle2.style += 'strokeColor=none;fillColor=#939393;';
- triangle3.style += 'strokeColor=none;fillColor=#939393;';
- triangle4.style += 'strokeColor=none;fillColor=#939393;';
- triangle5.style += 'strokeColor=none;fillColor=#939393;';
- triangle6.style += 'strokeColor=none;fillColor=#939393;';
- }
-
- break;
-
- case 'AndroidListItems' :
- var itemFullH = h;
- var startH = 0;
-
- if (p.ShowHeader)
- {
- startH = 8;
-
- var header = new mxCell('', new mxGeometry(0, 0, w, startH), 'strokeColor=none;fillColor=none;');
- header.vertex = true;
- v.insert(header);
- header.value = convertText(p.Header);
- header.style += getLabelStyle(p.Header);
-
- itemFullH -= startH;
-
- var lineH = new mxCell('', new mxGeometry(0, startH - 2, w, 4), 'shape=line;strokeColor=#999999;');
- lineH.vertex = true;
- v.insert(lineH);
- }
-
- var numItems = parseInt(p.Items);
-
- if (numItems > 0)
- {
- itemFullH = itemFullH / numItems;
- }
-
- var item = new Array();
- var line = new Array();
-
- for (var i = 0; i < numItems; i++)
- {
- item[i] = new mxCell('', new mxGeometry(0, startH + i * itemFullH, w, itemFullH), 'strokeColor=none;fillColor=none;');
- item[i].vertex = true;
- v.insert(item[i]);
- item[i].value = convertText(p["Item_" + i]);
- item[i].style += getLabelStyle(p["Item_" + i]);
-
- if (i > 0)
- {
- line[i] = new mxCell('', new mxGeometry(0, startH + i * itemFullH - 2, w, 4), 'shape=line;');
- line[i].vertex = true;
- v.insert(line[i]);
-
- if (p.Scheme == 'Dark')
- {
- line[i].style += 'strokeColor=#ffffff;';
- }
- else
- {
- line[i].style += 'strokeColor=#D9D9D9;';
- }
- }
- }
-
- if (p.Scheme == 'Dark')
- {
- v.style += 'strokeColor=none;fillColor=#111111;';
- }
- else
- {
- v.style += 'strokeColor=none;fillColor=#ffffff;';
- }
-
- break;
-
- case 'AndroidTabs' :
- var numTabs = parseInt(p.Tabs);
- var tabFullW = w;
-
- if (numTabs > 0)
- {
- tabFullW = tabFullW / numTabs;
- }
-
- var tab = new Array();
- var line = new Array();
-
- for (var i = 0; i < numTabs; i++)
- {
- tab[i] = new mxCell('', new mxGeometry(i * tabFullW, 0, tabFullW, h), 'strokeColor=none;fillColor=none;');
- tab[i].vertex = true;
- v.insert(tab[i]);
- tab[i].value = convertText(p["Tab_" + i]);
- tab[i].style += getLabelStyle(p["Tab_" + i]);
-
- if (i > 0)
- {
- line[i] = new mxCell('', new mxGeometry(i * tabFullW - 2, h * 0.2, 4, h * 0.6), 'shape=line;direction=north;');
- line[i].vertex = true;
- v.insert(line[i]);
-
- if (p.Scheme == 'Dark')
- {
- line[i].style += 'strokeColor=#484848;';
- }
- else
- {
- line[i].style += 'strokeColor=#CCCCCC;';
- }
- }
- }
- var selectedMarker = new mxCell('', new mxGeometry(p.Selected * tabFullW + 2, h - 3, tabFullW - 4, 3), 'strokeColor=none;fillColor=#33B5E5;');
- selectedMarker.vertex = true;
- v.insert(selectedMarker);
- if (p.Scheme == 'Dark')
- {
- v.style += 'strokeColor=none;fillColor=#333333;';
- }
- else
- {
- v.style += 'strokeColor=none;fillColor=#DDDDDD;';
- }
-
- break;
-
- case 'AndroidProgressBar' :
- v = new mxCell('', new mxGeometry(Math.round(x), Math.round(y + h * 0.25), Math.round(w), Math.round(h * 0.5)), vertexStyle);
- v.vertex = true;
-
- var progressBar = new mxCell('', new mxGeometry(0, 0, w * p.BarPosition, Math.round(h * 0.5)), 'strokeColor=none;fillColor=#33B5E5;');
- progressBar.vertex = true;
- v.insert(progressBar);
- if (p.Scheme == 'Dark')
- {
- v.style += 'strokeColor=none;fillColor=#474747;';
- }
- else
- {
- v.style += 'strokeColor=none;fillColor=#BBBBBB;';
- }
-
- break;
-
- case 'AndroidImageBlock' :
- if (p.Scheme == 'Dark')
- {
- v.style += 'shape=mxgraph.mockup.graphics.simpleIcon;strokeColor=#7E7E7E;fillColor=#111111;';
- }
- else
- {
- v.style += 'shape=mxgraph.mockup.graphics.simpleIcon;strokeColor=#939393;fillColor=#ffffff;';
- }
-
- break;
-
- case 'AndroidTextBlock' :
- if (p.Scheme == 'Dark')
- {
- if (p.ShowBorder)
- {
- v.style += 'fillColor=#111111;strokeColor=#ffffff;';
- }
- else
- {
- v.style += 'fillColor=#111111;strokeColor=none;';
- }
- }
- else
- {
- if (p.ShowBorder)
- {
- v.style += 'fillColor=#ffffff;strokeColor=#000000;';
- }
- else
- {
- v.style += 'fillColor=#ffffff;strokeColor=none;';
- }
- }
-
- v.value = convertText(p.Label);
- v.style += getLabelStyle(p.Label);
-
- break;
- case 'AndroidActionBar' :
- v.style += 'strokeColor=none;';
-
- switch (p.BarBackground)
- {
- case 'Blue' :
- v.style += 'fillColor=#002E3E;';
- break;
- case 'Gray' :
- v.style += 'fillColor=#DDDDDD;';
- break;
- case 'Dark Gray' :
- v.style += 'fillColor=#474747;';
- break;
- case 'White' :
- v.style += 'fillColor=#ffffff;';
- break;
- }
-
- if (p.HighlightShow)
- {
- var highlight = null;
-
- if (p.HighlightTop)
- {
- highlight = new mxCell('', new mxGeometry(0, 0, w, 2), 'strokeColor=none;');
- }
- else
- {
- highlight = new mxCell('', new mxGeometry(0, h - 2, w, 2), 'strokeColor=none;');
- }
- highlight.vertex = true;
- v.insert(highlight);
- switch (p.HighlightColor)
- {
- case 'Blue' :
- highlight.style += 'fillColor=#33B5E5;';
- break;
- case 'Dark Gray' :
- highlight.style += 'fillColor=#B0B0B0;';
- break;
- case 'White' :
- highlight.style += 'fillColor=#ffffff;';
- break;
- }
- }
-
- if (p.VlignShow)
- {
- var vLine = new mxCell('', new mxGeometry(20, 5, 2, h - 10), 'shape=line;direction=north;');
- vLine.vertex = true;
- v.insert(vLine);
- switch (p.VlignColor)
- {
- case 'Blue' :
- vLine.style += 'strokeColor=#244C5A;';
- break;
- case 'White' :
- vLine.style += 'strokeColor=#ffffff;';
- break;
- }
- }
-
- break;
-
- case 'AndroidButton' :
- v.value = convertText(p.Label);
- v.style += getLabelStyle(p.Label) + 'shape=partialRectangle;left=0;right=0;';
- if (p.Scheme == 'Dark')
- {
- v.style += 'fillColor=#474747;strokeColor=#C6C5C6;bottom=0;';
- }
- else
- {
- v.style += 'fillColor=#DFE0DF;strokeColor=#C6C5C6;top=0;';
- }
-
- break;
-
- case 'AndroidTextBox' :
- v.value = convertText(p.Label);
- v.style += getLabelStyle(p.Label);
- var underline = new mxCell('', new mxGeometry(2, h - 6, w - 4, 4), 'shape=partialRectangle;top=0;fillColor=none;');
- underline.vertex = true;
- v.insert(underline);
- if (p.Scheme == 'Dark')
- {
- v.style += 'fillColor=#111111;strokeColor=none;';
- }
- else
- {
- v.style += 'fillColor=#ffffff;strokeColor=none;';
- }
-
- if (p.TextFocused)
- {
- underline.style += 'strokeColor=#33B5E5;';
- }
- else
- {
- underline.style += 'strokeColor=#A9A9A9;';
- }
-
- break;
-
- case 'AndroidRadioButton' :
- var dot = null;
-
- if (p.Checked)
- {
- dot = new mxCell('', new mxGeometry(w * 0.15, h * 0.15, w * 0.7, h * 0.7), 'shape=ellipse;fillColor=#33B5E5;strokeWidth=0.6;');
- dot.vertex = true;
- v.insert(dot);
- }
- if (p.Scheme == 'Dark')
- {
- v.style += 'shape=ellipse;strokeWidth=0.6;strokeColor=#272727;';
-
- if (p.Checked)
- {
- dot.style += 'strokeColor=#1F5C73;';
- v.style += 'fillColor=#193C49;';
- }
- else
- {
- v.style += 'fillColor=#111111;';
- }
- }
- else
- {
- v.style += 'shape=ellipse;strokeWidth=0.6;fillColor=#ffffff;strokeColor=#5C5C5C;';
-
- if (p.Checked)
- {
- dot.style += 'strokeColor=#999999;';
- }
- }
- break;
-
- case 'AndroidCheckBox' :
- var check = null;
- if (p.Checked)
- {
- check = new mxCell('', new mxGeometry(w * 0.25, - h * 0.05, w, h * 0.8), 'shape=mxgraph.ios7.misc.check;strokeColor=#33B5E5;strokeWidth=2;');
- check.vertex = true;
- v.insert(check);
- }
- if (p.Scheme == 'Dark')
- {
- v.style += 'strokeWidth=0.6;strokeColor=#272727;fillColor=#111111;';
- }
- else
- {
- v.style += 'strokeWidth=0.6;strokeColor=#5C5C5C;fillColor=#ffffff;';
- }
- break;
-
- case 'AndroidToggle' :
- if (p.Scheme == 'Dark')
- {
- if (p.Checked)
- {
- v.style += 'shape=mxgraph.android.switch_on;fillColor=#666666;';
- }
- else
- {
- v.style += 'shape=mxgraph.android.switch_off;fillColor=#666666;';
- }
- }
- else
- {
- if (p.Checked)
- {
- v.style += 'shape=mxgraph.android.switch_on;fillColor=#E6E6E6;';
- }
- else
- {
- v.style += 'shape=mxgraph.android.switch_off;fillColor=#E6E6E6;';
- }
- }
-
- break;
-
- case 'AndroidSlider' :
- v.style += 'shape=mxgraph.android.progressScrubberFocused;dx=' + p.BarPosition + ';fillColor=#33b5e5;';
-
- break;
-
- case 'iOSSegmentedControl' :
- var numTabs = parseInt(p.Tabs);
- var tabFullW = w;
- v.style += 'strokeColor=none;fillColor=none;';
-
- if (numTabs > 0)
- {
- tabFullW = tabFullW / numTabs;
- }
-
- var tab = new Array();
- var line = new Array();
-
- for (var i = 0; i < numTabs; i++)
- {
- tab[i] = new mxCell('', new mxGeometry(i * tabFullW, 0, tabFullW, h), 'strokeColor=' + p.FillColor + ';');
- tab[i].vertex = true;
- v.insert(tab[i]);
- tab[i].value = convertText(p["Tab_" + i]);
- tab[i].style += getLabelStyle(p["Tab_" + i]);
-
- if (p.Selected == i)
- {
- tab[i].style += getFillColor(p, a);
- }
- else
- {
- tab[i].style += 'fillColor=none;';
- }
- }
- break;
- case 'iOSSlider' :
- v.style += 'shape=mxgraph.ios7ui.slider;strokeColor=' + p.FillColor + ';fillColor=#ffffff;strokeWidth=2;barPos=' + p.BarPosition * 100 + ';';
-
- break;
- case 'iOSProgressBar':
- v = new mxCell('', new mxGeometry(Math.round(x), Math.round(y + h * 0.25), Math.round(w), Math.round(h * 0.5)), vertexStyle + 'strokeColor=none;fillColor=#B5B5B5;');
- v.vertex = true;
-
- var progressBar = new mxCell('', new mxGeometry(0, 0, w * p.BarPosition, Math.round(h * 0.5)), 'strokeColor=none;' + getFillColor(p, a));
- progressBar.vertex = true;
- v.insert(progressBar);
- break;
- case 'iOSPageControls' :
- v.style += 'shape=mxgraph.ios7ui.pageControl;' + getFillColor(p, a) + 'strokeColor=#D6D6D6;';
-
- break;
- case 'iOSStatusBar' :
- v.style += 'shape=mxgraph.ios7ui.appBar;' + getFillColor(p, a) + 'strokeColor=#000000;';
- var text1 = new mxCell(convertText(p.Text), new mxGeometry(w * 0.35, 0, w * 0.3, h), 'strokeColor=none;fillColor=none;');
- text1.vertex = true;
- v.insert(text1);
- text1.style += getLabelStyle(p.Text);
-
- var text2 = new mxCell(convertText(p.Carrier), new mxGeometry(w * 0.09, 0, w * 0.2, h), 'strokeColor=none;fillColor=none;');
- text2.vertex = true;
- v.insert(text2);
- text2.style += getLabelStyle(p.Carrier);
-
- break;
-
- case 'iOSSearchBar' :
- v.style += 'strokeColor=none;' +
- getFillColor(p, a) +
- getOpacity(p, a) +
- getRounded(p, a) +
- getLabelStyle(p.Search);
-
- v.value = convertText(p.Search);
-
- var icon1 = new mxCell('', new mxGeometry(w * 0.3, h * 0.3, h * 0.4, h * 0.4), 'shape=mxgraph.ios7.icons.looking_glass;strokeColor=#000000;fillColor=none;');
- icon1.vertex = true;
- v.insert(icon1);
-
- break;
-
- case 'iOSNavBar' :
- v.style += 'shape=partialRectangle;top=0;right=0;left=0;strokeColor=#979797;' + getFillColor(p, a) + getOpacity(p, a) + getLabelStyle(p.Title);
- v.value = convertText(p.Title);
- var text1 = new mxCell(convertText(p.LeftText), new mxGeometry(w * 0.03, 0, w * 0.3, h), 'strokeColor=none;fillColor=none;');
- text1.vertex = true;
- v.insert(text1);
- text1.style += getLabelStyle(p.LeftText);
-
- var text2 = new mxCell(convertText(p.RightText), new mxGeometry(w * 0.65, 0, w * 0.3, h), 'strokeColor=none;fillColor=none;');
- text2.vertex = true;
- v.insert(text2);
- text2.style += getLabelStyle(p.RightText);
-
- var icon1 = new mxCell('', new mxGeometry(w * 0.02, h * 0.2, h * 0.3, h * 0.5), 'shape=mxgraph.ios7.misc.left;strokeColor=#007AFF;strokeWidth=2;');
- icon1.vertex = true;
- v.insert(icon1);
-
- break;
-
- case 'iOSTabs' :
- var numTabs = parseInt(p.Tabs);
- var tabFullW = w;
- v.style += 'shape=partialRectangle;right=0;left=0;bottom=0;strokeColor=#979797;' + getFillColor(p, a) + getOpacity(p, a);
-
- if (numTabs > 0)
- {
- tabFullW = tabFullW / numTabs;
- }
-
- var tab = new Array();
- var line = new Array();
-
- for (var i = 0; i < numTabs; i++)
- {
- tab[i] = new mxCell('', new mxGeometry(i * tabFullW, 0, tabFullW, h), 'strokeColor=none;');
- tab[i].vertex = true;
- v.insert(tab[i]);
- tab[i].value = convertText(p["Tab_" + i]);
-
- tab[i].style += getFontSize(p["Tab_" + i]);
- tab[i].style +=
- getFontColor(p["Tab_" + i]) +
- getFontStyle(p["Tab_" + i]) +
- getTextAlignment(p["Tab_" + i]) +
- getTextLeftSpacing(p["Tab_" + i]) +
- getTextRightSpacing(p["Tab_" + i]) +
- getTextTopSpacing(p["Tab_" + i]) +
- getTextBottomSpacing(p["Tab_" + i]) +
- getTextGlobalSpacing(p["Tab_" + i]);
-
- tab[i].style += 'verticalAlign=bottom;';
-
- if (p.Selected == i)
- {
- tab[i].style += 'fillColor=#BBBBBB;';
- }
- else
- {
- tab[i].style += 'fillColor=none;';
- }
- }
- break;
- case 'iOSDatePicker' :
- var firstDate1 = new mxCell('', new mxGeometry(0, 0, w * 0.5, h * 0.2), 'strokeColor=none;fillColor=none;');
- firstDate1.vertex = true;
- v.insert(firstDate1);
- firstDate1.value = convertText(p.Option11);
- firstDate1.style += getLabelStyle(p.Option11);
- var firstDate2 = new mxCell('', new mxGeometry(w * 0.5, 0, w * 0.15, h * 0.2), 'strokeColor=none;fillColor=none;');
- firstDate2.vertex = true;
- v.insert(firstDate2);
- firstDate2.value = convertText(p.Option21);
- firstDate2.style += getLabelStyle(p.Option21);
- var firstDate3 = new mxCell('', new mxGeometry(w * 0.65, 0, w * 0.15, h * 0.2), 'strokeColor=none;fillColor=none;');
- firstDate3.vertex = true;
- v.insert(firstDate3);
- firstDate3.value = convertText(p.Option31);
- firstDate3.style += getLabelStyle(p.Option31);
- var secondDate1 = new mxCell('', new mxGeometry(0, h * 0.2, w * 0.5, h * 0.2), 'strokeColor=none;fillColor=none;');
- secondDate1.vertex = true;
- v.insert(secondDate1);
- secondDate1.value = convertText(p.Option12);
- secondDate1.style += getLabelStyle(p.Option12);
- var secondDate2 = new mxCell('', new mxGeometry(w * 0.5, h * 0.2, w * 0.15, h * 0.2), 'strokeColor=none;fillColor=none;');
- secondDate2.vertex = true;
- v.insert(secondDate2);
- secondDate2.value = convertText(p.Option22);
- secondDate2.style += getLabelStyle(p.Option22);
- var secondDate3 = new mxCell('', new mxGeometry(w * 0.65, h * 0.2, w * 0.15, h * 0.2), 'strokeColor=none;fillColor=none;');
- secondDate3.vertex = true;
- v.insert(secondDate3);
- secondDate3.value = convertText(p.Option32);
- secondDate3.style += getLabelStyle(p.Option32);
- var currDate1 = new mxCell('', new mxGeometry(0, h * 0.4, w * 0.5, h * 0.2), 'strokeColor=none;fillColor=none;');
- currDate1.vertex = true;
- v.insert(currDate1);
- currDate1.value = convertText(p.Option13);
- currDate1.style += getLabelStyle(p.Option13);
- var currDate2 = new mxCell('', new mxGeometry(w * 0.5, h * 0.4, w * 0.15, h * 0.2), 'strokeColor=none;fillColor=none;');
- currDate2.vertex = true;
- v.insert(currDate2);
- currDate2.value = convertText(p.Option23);
- currDate2.style += getLabelStyle(p.Option23);
- var currDate3 = new mxCell('', new mxGeometry(w * 0.65, h * 0.4, w * 0.15, h * 0.2), 'strokeColor=none;fillColor=none;');
- currDate3.vertex = true;
- v.insert(currDate3);
- currDate3.value = convertText(p.Option33);
- currDate3.style += getLabelStyle(p.Option33);
- var currDate4 = new mxCell('', new mxGeometry(w * 0.80, h * 0.4, w * 0.15, h * 0.2), 'strokeColor=none;fillColor=none;');
- currDate4.vertex = true;
- v.insert(currDate4);
- currDate4.value = convertText(p.Option43);
- currDate4.style += getLabelStyle(p.Option43);
- var fourthDate1 = new mxCell('', new mxGeometry(0, h * 0.6, w * 0.5, h * 0.2), 'strokeColor=none;fillColor=none;');
- fourthDate1.vertex = true;
- v.insert(fourthDate1);
- fourthDate1.value = convertText(p.Option14);
- fourthDate1.style += getLabelStyle(p.Option14);
- var fourthDate2 = new mxCell('', new mxGeometry(w * 0.5, h * 0.6, w * 0.15, h * 0.2), 'strokeColor=none;fillColor=none;');
- fourthDate2.vertex = true;
- v.insert(fourthDate2);
- fourthDate2.value = convertText(p.Option24);
- fourthDate2.style += getLabelStyle(p.Option24);
- var fourthDate3 = new mxCell('', new mxGeometry(w * 0.65, h * 0.6, w * 0.15, h * 0.2), 'strokeColor=none;fillColor=none;');
- fourthDate3.vertex = true;
- v.insert(fourthDate3);
- fourthDate3.value = convertText(p.Option34);
- fourthDate3.style += getLabelStyle(p.Option34);
- var fourthDate4 = new mxCell('', new mxGeometry(w * 0.8, h * 0.6, w * 0.15, h * 0.2), 'strokeColor=none;fillColor=none;');
- fourthDate4.vertex = true;
- v.insert(fourthDate4);
- fourthDate4.value = convertText(p.Option44);
- fourthDate4.style += getLabelStyle(p.Option44);
- var fifthDate1 = new mxCell('', new mxGeometry(0, h * 0.8, w * 0.5, h * 0.2), 'strokeColor=none;fillColor=none;');
- fifthDate1.vertex = true;
- v.insert(fifthDate1);
- fifthDate1.value = convertText(p.Option15);
- fifthDate1.style += getLabelStyle(p.Option15);
- var fifthDate2 = new mxCell('', new mxGeometry(w * 0.5, h * 0.8, w * 0.15, h * 0.2), 'strokeColor=none;fillColor=none;');
- fifthDate2.vertex = true;
- v.insert(fifthDate2);
- fifthDate2.value = convertText(p.Option25);
- fifthDate2.style += getLabelStyle(p.Option25);
- var fifthDate3 = new mxCell('', new mxGeometry(w * 0.65, h * 0.8, w * 0.15, h * 0.2), 'strokeColor=none;fillColor=none;');
- fifthDate3.vertex = true;
- v.insert(fifthDate3);
- fifthDate3.value = convertText(p.Option35);
- fifthDate3.style += getLabelStyle(p.Option35);
- var line1 = new mxCell('', new mxGeometry(0, h * 0.4 - 2, w, 4), 'shape=line;strokeColor=#888888;');
- line1.vertex = true;
- v.insert(line1);
- var line2 = new mxCell('', new mxGeometry(0, h * 0.6 - 2, w, 4), 'shape=line;strokeColor=#888888;');
- line2.vertex = true;
- v.insert(line2);
- v.style += getFillColor(p, a) + getOpacity(p, a) + 'strokeColor=none;';
-
- break;
-
- case 'iOSTimePicker' :
- var firstDate1 = new mxCell('', new mxGeometry(0, 0, w * 0.25, h * 0.2), 'strokeColor=none;fillColor=none;');
- firstDate1.vertex = true;
- v.insert(firstDate1);
- firstDate1.value = convertText(p.Option11);
- firstDate1.style += getLabelStyle(p.Option11);
- var firstDate2 = new mxCell('', new mxGeometry(w * 0.25, 0, w * 0.3, h * 0.2), 'strokeColor=none;fillColor=none;');
- firstDate2.vertex = true;
- v.insert(firstDate2);
- firstDate2.value = convertText(p.Option21);
- firstDate2.style += getLabelStyle(p.Option21);
- var secondDate1 = new mxCell('', new mxGeometry(0, h * 0.2, w * 0.25, h * 0.2), 'strokeColor=none;fillColor=none;');
- secondDate1.vertex = true;
- v.insert(secondDate1);
- secondDate1.value = convertText(p.Option12);
- secondDate1.style += getLabelStyle(p.Option12);
- var secondDate2 = new mxCell('', new mxGeometry(w * 0.25, h * 0.2, w * 0.3, h * 0.2), 'strokeColor=none;fillColor=none;');
- secondDate2.vertex = true;
- v.insert(secondDate2);
- secondDate2.value = convertText(p.Option22);
- secondDate2.style += getLabelStyle(p.Option22);
- var currDate1 = new mxCell('', new mxGeometry(0, h * 0.4, w * 0.25, h * 0.2), 'strokeColor=none;fillColor=none;');
- currDate1.vertex = true;
- v.insert(currDate1);
- currDate1.value = convertText(p.Option13);
- currDate1.style += getLabelStyle(p.Option13);
- var currDate2 = new mxCell('', new mxGeometry(w * 0.25, h * 0.4, w * 0.3, h * 0.2), 'strokeColor=none;fillColor=none;');
- currDate2.vertex = true;
- v.insert(currDate2);
- currDate2.value = convertText(p.Option23);
- currDate2.style += getLabelStyle(p.Option23);
- var currDate4 = new mxCell('', new mxGeometry(w * 0.7, h * 0.4, w * 0.15, h * 0.2), 'strokeColor=none;fillColor=none;');
- currDate4.vertex = true;
- v.insert(currDate4);
- currDate4.value = convertText(p.Option33);
- currDate4.style += getLabelStyle(p.Option33);
- var fourthDate1 = new mxCell('', new mxGeometry(0, h * 0.6, w * 0.25, h * 0.2), 'strokeColor=none;fillColor=none;');
- fourthDate1.vertex = true;
- v.insert(fourthDate1);
- fourthDate1.value = convertText(p.Option14);
- fourthDate1.style += getLabelStyle(p.Option14);
- var fourthDate2 = new mxCell('', new mxGeometry(w * 0.25, h * 0.6, w * 0.3, h * 0.2), 'strokeColor=none;fillColor=none;');
- fourthDate2.vertex = true;
- v.insert(fourthDate2);
- fourthDate2.value = convertText(p.Option24);
- fourthDate2.style += getLabelStyle(p.Option24);
- var fourthDate4 = new mxCell('', new mxGeometry(w * 0.7, h * 0.6, w * 0.15, h * 0.2), 'strokeColor=none;fillColor=none;');
- fourthDate4.vertex = true;
- v.insert(fourthDate4);
- fourthDate4.value = convertText(p.Option34);
- fourthDate4.style += getLabelStyle(p.Option34);
- var fifthDate1 = new mxCell('', new mxGeometry(0, h * 0.8, w * 0.25, h * 0.2), 'strokeColor=none;fillColor=none;');
- fifthDate1.vertex = true;
- v.insert(fifthDate1);
- fifthDate1.value = convertText(p.Option15);
- fifthDate1.style += getLabelStyle(p.Option15);
- var fifthDate2 = new mxCell('', new mxGeometry(w * 0.25, h * 0.8, w * 0.3, h * 0.2), 'strokeColor=none;fillColor=none;');
- fifthDate2.vertex = true;
- v.insert(fifthDate2);
- fifthDate2.value = convertText(p.Option25);
- fifthDate2.style += getLabelStyle(p.Option25);
- var line1 = new mxCell('', new mxGeometry(0, h * 0.4 - 2, w, 4), 'shape=line;strokeColor=#888888;');
- line1.vertex = true;
- v.insert(line1);
- var line2 = new mxCell('', new mxGeometry(0, h * 0.6 - 2, w, 4), 'shape=line;strokeColor=#888888;');
- line2.vertex = true;
- v.insert(line2);
- v.style += getFillColor(p, a) + getOpacity(p, a) + 'strokeColor=none;';
-
- break;
-
- case 'iOSCountdownPicker' :
- var firstDate3 = new mxCell('', new mxGeometry(w * 0.45, 0, w * 0.2, h * 0.2), 'strokeColor=none;fillColor=none;');
- firstDate3.vertex = true;
- v.insert(firstDate3);
- firstDate3.value = convertText(p.Option31);
- firstDate3.style += getLabelStyle(p.Option31);
- var secondDate3 = new mxCell('', new mxGeometry(w * 0.45, h * 0.2, w * 0.2, h * 0.2), 'strokeColor=none;fillColor=none;');
- secondDate3.vertex = true;
- v.insert(secondDate3);
- secondDate3.value = convertText(p.Option32);
- secondDate3.style += getLabelStyle(p.Option32);
- var currDate1 = new mxCell('', new mxGeometry(0, h * 0.4, w * 0.25, h * 0.2), 'strokeColor=none;fillColor=none;');
- currDate1.vertex = true;
- v.insert(currDate1);
- currDate1.value = convertText(p.Option13);
- currDate1.style += getLabelStyle(p.Option13);
- var currDate2 = new mxCell('', new mxGeometry(w * 0.2, h * 0.4, w * 0.25, h * 0.2), 'strokeColor=none;fillColor=none;');
- currDate2.vertex = true;
- v.insert(currDate2);
- currDate2.value = convertText(p.Option23);
- currDate2.style += getLabelStyle(p.Option23);
- var currDate3 = new mxCell('', new mxGeometry(w * 0.45, h * 0.4, w * 0.2, h * 0.2), 'strokeColor=none;fillColor=none;');
- currDate3.vertex = true;
- v.insert(currDate3);
- currDate3.value = convertText(p.Option33);
- currDate3.style += getLabelStyle(p.Option33);
- var currDate4 = new mxCell('', new mxGeometry(w * 0.6, h * 0.4, w * 0.2, h * 0.2), 'strokeColor=none;fillColor=none;');
- currDate4.vertex = true;
- v.insert(currDate4);
- currDate4.value = convertText(p.Option43);
- currDate4.style += getLabelStyle(p.Option43);
- var fourthDate1 = new mxCell('', new mxGeometry(0, h * 0.6, w * 0.25, h * 0.2), 'strokeColor=none;fillColor=none;');
- fourthDate1.vertex = true;
- v.insert(fourthDate1);
- fourthDate1.value = convertText(p.Option14);
- fourthDate1.style += getLabelStyle(p.Option14);
- var fourthDate3 = new mxCell('', new mxGeometry(w * 0.45, h * 0.6, w * 0.2, h * 0.2), 'strokeColor=none;fillColor=none;');
- fourthDate3.vertex = true;
- v.insert(fourthDate3);
- fourthDate3.value = convertText(p.Option34);
- fourthDate3.style += getLabelStyle(p.Option34);
- var fifthDate1 = new mxCell('', new mxGeometry(0, h * 0.8, w * 0.25, h * 0.2), 'strokeColor=none;fillColor=none;');
- fifthDate1.vertex = true;
- v.insert(fifthDate1);
- fifthDate1.value = convertText(p.Option15);
- fifthDate1.style += getLabelStyle(p.Option15);
- var fifthDate3 = new mxCell('', new mxGeometry(w * 0.45, h * 0.8, w * 0.2, h * 0.2), 'strokeColor=none;fillColor=none;');
- fifthDate3.vertex = true;
- v.insert(fifthDate3);
- fifthDate3.value = convertText(p.Option35);
- fifthDate3.style += getLabelStyle(p.Option35);
- var line1 = new mxCell('', new mxGeometry(0, h * 0.4 - 2, w, 4), 'shape=line;strokeColor=#888888;');
- line1.vertex = true;
- v.insert(line1);
- var line2 = new mxCell('', new mxGeometry(0, h * 0.6 - 2, w, 4), 'shape=line;strokeColor=#888888;');
- line2.vertex = true;
- v.insert(line2);
- v.style += getFillColor(p, a) + getOpacity(p, a) + 'strokeColor=none;';
-
- break;
-
- case 'iOSBasicCell' :
- v.style += 'shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;spacing=0;align=left;spacingLeft=' + (p.SeparatorInset * scale) + ';';
- v.style += getFontSize(p.text) +
- getFontColor(p.text) +
- getFontStyle(p.text) +
- getTextVerticalAlignment(p.text);
- v.value = convertText(p.text);
-
- switch (p.AccessoryIndicatorType)
- {
- case 'Disclosure' :
- var icon1 = new mxCell('', new mxGeometry(w * 0.91, h * 0.35, h * 0.15, h * 0.3), 'shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;');
- icon1.vertex = true;
- v.insert(icon1);
-
- break;
-
- case 'DetailDisclosure' :
- var icon1 = new mxCell('', new mxGeometry(w * 0.91, h * 0.35, h * 0.15, h * 0.3), 'shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;');
- icon1.vertex = true;
- v.insert(icon1);
-
- var icon2 = new mxCell('', new mxGeometry(w * 0.79, h * 0.25, h * 0.5, h * 0.5), 'shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;');
- icon2.vertex = true;
- v.insert(icon2);
-
- break;
-
- case 'DetailIndicator' :
- var icon2 = new mxCell('', new mxGeometry(w * 0.87, h * 0.25, h * 0.5, h * 0.5), 'shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;');
- icon2.vertex = true;
- v.insert(icon2);
-
- break;
-
- case 'CheckMark' :
- var icon1 = new mxCell('', new mxGeometry(w * 0.89, h * 0.37, h * 0.4, h * 0.26), 'shape=mxgraph.ios7.misc.check;strokeColor=#007AFF;strokeWidth=2;');
- icon1.vertex = true;
- v.insert(icon1);
-
- break;
- }
- break;
-
- case 'iOSSubtitleCell' :
- v.style += 'shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;align=left;spacing=0;verticalAlign=top;spacingLeft=' + (p.SeparatorInset * scale) + ';';
- v.style += getFontSize(p.subtext) +
- getFontColor(p.subtext) +
- getFontStyle(p.subtext);
- v.value = convertText(p.subtext);
-
- var subtext = new mxCell('', new mxGeometry(0, h * 0.4, w, h * 0.6), 'fillColor=none;strokeColor=none;spacing=0;align=left;verticalAlign=bottom;spacingLeft=' + (p.SeparatorInset * scale) + ';');
- subtext.vertex = true;
- v.insert(subtext);
- subtext.style += getFontSize(p.text) +
- getFontColor(p.text) +
- getFontStyle(p.text);
- subtext.value = convertText(p.text);
- switch (p.AccessoryIndicatorType)
- {
- case 'Disclosure' :
- var icon1 = new mxCell('', new mxGeometry(w * 0.91, h * 0.35, h * 0.15, h * 0.3), 'shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;');
- icon1.vertex = true;
- v.insert(icon1);
-
- break;
-
- case 'DetailDisclosure' :
- var icon1 = new mxCell('', new mxGeometry(w * 0.91, h * 0.35, h * 0.15, h * 0.3), 'shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;');
- icon1.vertex = true;
- v.insert(icon1);
-
- var icon2 = new mxCell('', new mxGeometry(w * 0.79, h * 0.25, h * 0.5, h * 0.5), 'shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;');
- icon2.vertex = true;
- v.insert(icon2);
-
- break;
-
- case 'DetailIndicator' :
- var icon2 = new mxCell('', new mxGeometry(w * 0.87, h * 0.25, h * 0.5, h * 0.5), 'shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;');
- icon2.vertex = true;
- v.insert(icon2);
-
- break;
-
- case 'CheckMark' :
- var icon1 = new mxCell('', new mxGeometry(w * 0.89, h * 0.37, h * 0.4, h * 0.26), 'shape=mxgraph.ios7.misc.check;strokeColor=#007AFF;strokeWidth=2;');
- icon1.vertex = true;
- v.insert(icon1);
-
- break;
- }
- break;
-
- case 'iOSRightDetailCell' :
- v.style += 'shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;align=left;spacing=0;verticalAlign=middle;spacingLeft=' + (p.SeparatorInset * scale) + ';';
- v.style += getFontSize(p.subtext) +
- getFontColor(p.subtext) +
- getFontStyle(p.subtext);
- v.value = convertText(p.subtext);
-
- var subtext = null;
-
- switch (p.AccessoryIndicatorType)
- {
- case 'Disclosure' :
- var icon1 = new mxCell('', new mxGeometry(w * 0.91, h * 0.35, h * 0.15, h * 0.3), 'shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;');
- icon1.vertex = true;
- v.insert(icon1);
- subtext = new mxCell('', new mxGeometry(w * 0.55, 0, w * 0.3, h), 'fillColor=none;strokeColor=none;spacing=0;align=right;');
- break;
-
- case 'DetailDisclosure' :
- var icon1 = new mxCell('', new mxGeometry(w * 0.91, h * 0.35, h * 0.15, h * 0.3), 'shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;');
- icon1.vertex = true;
- v.insert(icon1);
-
- var icon2 = new mxCell('', new mxGeometry(w * 0.79, h * 0.25, h * 0.5, h * 0.5), 'shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;');
- icon2.vertex = true;
- v.insert(icon2);
- subtext = new mxCell('', new mxGeometry(w * 0.45, 0, w * 0.3, h), 'fillColor=none;strokeColor=none;spacing=0;align=right;');
- break;
-
- case 'DetailIndicator' :
- var icon2 = new mxCell('', new mxGeometry(w * 0.87, h * 0.25, h * 0.5, h * 0.5), 'shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;');
- icon2.vertex = true;
- v.insert(icon2);
- subtext = new mxCell('', new mxGeometry(w * 0.52, 0, w * 0.3, h), 'fillColor=none;strokeColor=none;spacing=0;align=right;');
- break;
-
- case 'CheckMark' :
- var icon1 = new mxCell('', new mxGeometry(w * 0.89, h * 0.37, h * 0.4, h * 0.26), 'shape=mxgraph.ios7.misc.check;strokeColor=#007AFF;strokeWidth=2;');
- icon1.vertex = true;
- v.insert(icon1);
- subtext = new mxCell('', new mxGeometry(w * 0.55, 0, w * 0.3, h), 'fillColor=none;strokeColor=none;spacing=0;align=right;');
- break;
-
- default :
- subtext = new mxCell('', new mxGeometry(w * 0.65, 0, w * 0.3, h), 'fillColor=none;strokeColor=none;spacing=0;align=right;');
- }
- subtext.vertex = true;
- v.insert(subtext);
- subtext.style += getFontSize(p.text) +
- getFontColor(p.text) +
- getFontStyle(p.text);
- subtext.value = convertText(p.text);
- break;
-
- case 'iOSLeftDetailCell' :
- v.style += 'shape=partialRectangle;left=0;top=0;right=0;fillColor=#ffffff;strokeColor=#C8C7CC;';
-
- var text = new mxCell('', new mxGeometry(0, 0, w * 0.25, h), 'fillColor=none;strokeColor=none;spacing=0;align=right;verticalAlign=middle;spacingRight=3;');
- text.vertex = true;
- v.insert(text);
- text.style += getFontSize(p.subtext) +
- getFontColor(p.subtext) +
- getFontStyle(p.subtext);
- text.value = convertText(p.subtext);
- var subtext = new mxCell('', new mxGeometry(w * 0.25, 0, w * 0.5, h), 'fillColor=none;strokeColor=none;spacing=0;align=left;verticalAlign=middle;spacingLeft=3;');
- subtext.vertex = true;
- v.insert(subtext);
- subtext.style += getFontSize(p.text) +
- getFontColor(p.text) +
- getFontStyle(p.text);
- subtext.value = convertText(p.text);
- switch (p.AccessoryIndicatorType)
- {
- case 'Disclosure' :
- var icon1 = new mxCell('', new mxGeometry(w * 0.91, h * 0.35, h * 0.15, h * 0.3), 'shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;');
- icon1.vertex = true;
- v.insert(icon1);
-
- break;
-
- case 'DetailDisclosure' :
- var icon1 = new mxCell('', new mxGeometry(w * 0.91, h * 0.35, h * 0.15, h * 0.3), 'shape=mxgraph.ios7.misc.right;strokeColor=#D2D2D6;');
- icon1.vertex = true;
- v.insert(icon1);
-
- var icon2 = new mxCell('', new mxGeometry(w * 0.79, h * 0.25, h * 0.5, h * 0.5), 'shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;');
- icon2.vertex = true;
- v.insert(icon2);
-
- break;
-
- case 'DetailIndicator' :
- var icon2 = new mxCell('', new mxGeometry(w * 0.87, h * 0.25, h * 0.5, h * 0.5), 'shape=mxgraph.ios7.icons.info;strokeColor=#007AFF;fillColor=#ffffff;');
- icon2.vertex = true;
- v.insert(icon2);
-
- break;
-
- case 'CheckMark' :
- var icon1 = new mxCell('', new mxGeometry(w * 0.89, h * 0.37, h * 0.4, h * 0.26), 'shape=mxgraph.ios7.misc.check;strokeColor=#007AFF;strokeWidth=2;');
- icon1.vertex = true;
- v.insert(icon1);
-
- break;
- }
- break;
-
- case 'iOSTableGroupedSectionBreak' :
- v.style += 'shape=partialRectangle;left=0;right=0;fillColor=#EFEFF4;strokeColor=#C8C7CC;';
-
- var text1 = new mxCell('', new mxGeometry(0, 0, w, h * 0.4), 'fillColor=none;strokeColor=none;spacing=10;align=left;');
- text1.vertex = true;
- v.insert(text1);
- text1.style += getFontSize(p.text) +
- getFontColor(p.text) +
- getFontStyle(p.text);
- text1.value = convertText(p.text);
- var text2 = new mxCell('', new mxGeometry(0, h * 0.6, w, h * 0.4), 'fillColor=none;strokeColor=none;spacing=10;align=left;');
- text2.vertex = true;
- v.insert(text2);
- text2.style += getFontSize(p["bottom-text"]) +
- getFontColor(p["bottom-text"]) +
- getFontStyle(p["bottom-text"]);
- text2.value = convertText(p["bottom-text"]);
- break;
-
- case 'iOSTablePlainHeaderFooter' :
- v.style += 'fillColor=#F7F7F7;strokeColor=none;align=left;spacingLeft=5;spacing=0;';
- v.style += getFontSize(p.text) +
- getFontColor(p.text) +
- getFontStyle(p.text);
- v.value = convertText(p.text);
-
- break;
-
- case 'ERDEntityBlock' :
- break;
- case 'ERDEntityBlock2' :
- break;
- case 'ERDEntityBlock3' :
- break;
- case 'ERDEntityBlock4' :
- break;
- case 'SMPage' :
- if (p.Group)
- {
- v.style += 'strokeColor=none;fillColor=none;'
-
- var item1 = new mxCell('', new mxGeometry(0, 0, w * 0.9, h * 0.9), 'part=1;');
- item1.vertex = true;
- v.insert(item1);
-
- item1.style += getStrokeColor(p, a) +
- getFillColor(p, a) +
- getOpacity(p, a) +
- getShadow(p) +
- getStrokeWidth(p);
- var item2 = new mxCell('', new mxGeometry(w * 0.1, h * 0.1, w * 0.9, h * 0.9), 'part=1;');
- item2.vertex = true;
- v.insert(item2);
-
- item2.style += getStrokeColor(p, a) +
- getFillColor(p, a) +
- getOpacity(p, a) +
- getShadow(p) +
- getStrokeWidth(p) +
- getLabelStyle(p);
-
- item2.value = convertText(p.Text);
-
- if (p.Future)
- {
- item1.style += 'dashed=1;';
- item2.style += 'dashed=1;';
- }
- }
- else
- {
- if (p.Future)
- {
- v.style += 'dashed=1;';
- }
-
- v.style += getStrokeColor(p, a) +
- getFillColor(p, a) +
- getOpacity(p, a) +
- getShadow(p) +
- getStrokeWidth(p) +
- getLabelStyle(p);
-
- v.value = convertText(p.Text);
- }
-
- break;
-
- case 'SMHome' :
- case 'SMPrint' :
- case 'SMSearch' :
- case 'SMSettings' :
- case 'SMSitemap' :
- case 'SMSuccess' :
- case 'SMVideo' :
- case 'SMAudio' :
- case 'SMCalendar' :
- case 'SMChart' :
- case 'SMCloud' :
- case 'SMDocument' :
- case 'SMForm' :
- case 'SMGame' :
- case 'SMUpload' :
-
- v.style += getStrokeColor(p, a) +
- getFillColor(p, a) +
- getOpacity(p, a) +
- getShadow(p) +
- getStrokeWidth(p);
- var item1 = null;
-
- switch (obj.Class)
- {
- case 'SMHome' :
- item1 = new mxCell('', new mxGeometry(w * 0.5 - h * 0.4, h * 0.1, h * 0.8, h * 0.8), 'part=1;shape=mxgraph.office.concepts.home;flipH=1;fillColor=#e6e6e6;opacity=50;strokeColor=none;');
- break;
- case 'SMPrint' :
- item1 = new mxCell('', new mxGeometry(w * 0.5 - h * 0.4, h * 0.19, h * 0.8, h * 0.62), 'part=1;shape=mxgraph.office.devices.printer;fillColor=#e6e6e6;opacity=50;strokeColor=none;');
- break;
- case 'SMSearch' :
- item1 = new mxCell('', new mxGeometry(w * 0.5 - h * 0.4, h * 0.1, h * 0.8, h * 0.8), 'part=1;shape=mxgraph.office.concepts.search;flipH=1;fillColor=#e6e6e6;opacity=50;strokeColor=none;');
- break;
- case 'SMSettings' :
- item1 = new mxCell('', new mxGeometry(w * 0.5 - h * 0.35, h * 0.15, h * 0.7, h * 0.7), 'part=1;shape=mxgraph.mscae.enterprise.settings;fillColor=#e6e6e6;opacity=50;strokeColor=none;');
- break;
- case 'SMSitemap' :
- item1 = new mxCell('', new mxGeometry(w * 0.5 - h * 0.35, h * 0.2, h * 0.7, h * 0.6), 'part=1;shape=mxgraph.office.sites.site_collection;fillColor=#e6e6e6;opacity=50;strokeColor=none;');
- break;
- case 'SMSuccess' :
- item1 = new mxCell('', new mxGeometry(w * 0.5 - h * 0.3, h * 0.25, h * 0.6, h * 0.5), 'part=1;shape=mxgraph.mscae.general.checkmark;fillColor=#e6e6e6;opacity=50;strokeColor=none;');
- break;
- case 'SMVideo' :
- item1 = new mxCell('', new mxGeometry(w * 0.5 - h * 0.4, h * 0.2, h * 0.8, h * 0.6), 'part=1;shape=mxgraph.office.concepts.video_play;fillColor=#e6e6e6;opacity=50;strokeColor=none;');
- break;
- case 'SMAudio' :
- item1 = new mxCell('', new mxGeometry(w * 0.5 - h * 0.3, h * 0.2, h * 0.6, h * 0.6), 'part=1;shape=mxgraph.mscae.general.audio;fillColor=#e6e6e6;opacity=50;strokeColor=none;');
- break;
- case 'SMCalendar' :
- item1 = new mxCell('', new mxGeometry(w * 0.5 - h * 0.4, h * 0.15, h * 0.8, h * 0.7), 'part=1;shape=mxgraph.office.concepts.form;fillColor=#e6e6e6;opacity=50;strokeColor=none;');
- break;
- case 'SMChart' :
- var fc = getFillColor(p, a);
-
- if (fc == '')
- {
- fc = '#ffffff;'
- }
- else
- {
- fc = fc.replace('fillColor=', '');
- }
-
- item1 = new mxCell('', new mxGeometry(w * 0.5 - h * 0.35, h * 0.15, h * 0.7, h * 0.7), 'part=1;shape=mxgraph.ios7.icons.pie_chart;fillColor=#e6e6e6;fillOpacity=50;strokeWidth=4;strokeColor=' + fc);
- break;
- case 'SMCloud' :
- item1 = new mxCell('', new mxGeometry(w * 0.5 - h * 0.4, h * 0.27, h * 0.8, h * 0.46), 'part=1;shape=mxgraph.networks.cloud;fillColor=#e6e6e6;opacity=50;strokeColor=none;');
- break;
- case 'SMDocument' :
- item1 = new mxCell('', new mxGeometry(w * 0.5 - h * 0.25, h * 0.15, h * 0.5, h * 0.7), 'part=1;shape=mxgraph.mscae.enterprise.document;fillColor=#e6e6e6;opacity=50;strokeColor=none;');
- break;
- case 'SMForm' :
- item1 = new mxCell('', new mxGeometry(w * 0.5 - h * 0.4, h * 0.15, h * 0.8, h * 0.7), 'part=1;shape=mxgraph.office.concepts.form;fillColor=#e6e6e6;opacity=50;strokeColor=none;');
- break;
- case 'SMGame' :
- item1 = new mxCell('', new mxGeometry(w * 0.5 - h * 0.4, h * 0.2, h * 0.8, h * 0.6), 'part=1;shape=mxgraph.mscae.general.game_controller;fillColor=#e6e6e6;opacity=50;strokeColor=none;');
- break;
- case 'SMUpload' :
- item1 = new mxCell('', new mxGeometry(w * 0.5 - h * 0.4, h * 0.2, h * 0.8, h * 0.6), 'part=1;shape=mxgraph.mscae.enterprise.backup_online;fillColor=#e6e6e6;opacity=50;strokeColor=none;');
- break;
- }
-
- item1.vertex = true;
- v.insert(item1);
-
- item1.style += getLabelStyle(p);
- item1.value = convertText(p.Text);
-
- break;
- case 'UMLMultiLanePoolBlock' :
- break;
- case 'UMLMultiLanePoolRotatedBlock' :
- break;
- case 'UMLMultidimensionalSwimlane' :
- break;
- case 'UMLComponentBoxBlock' :
- break;
- case 'BPMNActivity' :
- break;
- case 'BPMNActivity' :
- break;
- case 'BPMNEvent' :
- break;
- case 'BPMNChoreography' :
- break;
- case 'BPMNConversation' :
- break;
- case 'BPMNGateway' :
- break;
- case 'BPMNData' :
- break;
- case 'BPMNDataStore' :
- break;
- case 'BPMNAdvancedPoolBlock' :
- break;
- case 'BPMNAdvancedPoolBlockRotated' :
- break;
- case 'BPMNBlackPool' :
- break;
- case 'DefaultTableBlock' :
- break;
- case 'VSMDatacellBlock' :
- break;
- case 'VSMSupermarketBlock' :
- break;
- case 'VSMSafetyBufferStockBlock' :
- break;
- case 'VSMTimelineBlock' :
- break;
- case 'VSMElectronicInformationArrow' :
- break;
- case 'AWSRoundedRectangleContainerBlock2' :
- break;
- case 'NET_RingNetwork' :
- break;
- case 'NET_Ethernet' :
- break;
- case 'EE_OpAmp' :
- break;
- case 'EE_ControlledAmp' :
- break;
- case 'EE_Multiplexer' :
- break;
- case 'EE_Demultiplexer' :
- break;
- case 'EE_Capacitor1' :
- break;
- case 'EE_Capacitor2' :
- break;
- case 'EE_Diode' :
- break;
- case 'EE_Resistor' :
- break;
- case 'EE_Potentiometer' :
- break;
- case 'EE_Inductor' :
- break;
- case 'EE_Variable Inductor' :
- break;
- case 'EE_Motor' :
- break;
- case 'EE_IntegratedCircuit' :
- break;
- case 'EE_AcSource' :
- break;
- case 'EE_VoltageSource' :
- break;
- case 'EE_CurrentSource' :
- break;
- case 'EE_ControlledCurrentSource' :
- break;
- case 'EE_ControlledVoltageSource' :
- break;
- case 'EIMessageBlock' :
- break;
- case 'EIMessageEndpointBlock' :
- break;
- case 'EICommandMessageBlock' :
- break;
- case 'EIDocumentMessageBlock' :
- break;
- case 'EIEventMessageBlock' :
- break;
- case 'EIMessageBrokerBlock' :
- break;
- case 'EIMessageHistoryBlock' :
- break;
- case 'Equation' :
- break;
- case 'fpDoor' :
- break;
- case 'fpDoubleDoor' :
- break;
- case 'fpStairsCurved' :
- break;
- case 'fpStairsCurvedWide' :
- break;
- case 'fpRestroomLights' :
- break;
- case 'fpRestroomSinks' :
- break;
- case 'PEOneToMany' :
- break;
- case 'PEMultilines' :
- break;
- case 'PEVesselBlock' :
- break;
- case 'PEOpenTankBlock' :
- break;
- case 'PEClosedTankBlock' :
- break;
- case 'PEColumnBlock' :
- break;
- case 'PECompressorTurbineBlock' :
- break;
- case 'PEFanBlades2Block' :
- break;
- case 'PECentrifugalPumpBlock' :
- break;
- case 'PEIndicatorBlock' :
- break;
- case 'PEIndicator2Block' :
- break;
- case 'PESharedIndicatorBlock' :
- break;
- case 'PESharedIndicator2Block' :
- break;
- case 'PEProgrammableIndicatorBlock' :
- break;
- case 'PEGateValveBlock' :
- break;
- case 'PEGlobeValveBlock' :
- break;
- case 'PEControlValveBlock' :
- break;
- case 'PEAngleGlobeValveBlock' :
- break;
- case 'PEPoweredValveBlock' :
- break;
- case 'iOS7DeviceiPhone5Portrait' :
- break;
- case 'iOS7DeviceiPhone5Landscape' :
- break;
- case 'iOS7DeviceiPadPortrait' :
- break;
- case 'iOS7DeviceiPadLandscape' :
- break;
- case 'iOS7DeviceiPhone6Portrait' :
- break;
- case 'iOS7DeviceiPhone6Landscape' :
- break;
- case 'iOS7DeviceiPhone6PlusPortrait' :
- break;
- case 'iOS7DeviceiPhone6PlusLandscape' :
- break;
- case 'iOS7TabsiPhone' :
- break;
- case 'iOS7iPhoneActionSheet' :
- break;
- case 'iOS7TableView' :
- break;
- case 'iOS7NavBariPad' :
- break;
- case 'iOS7TabsiPad' :
- break;
- case 'iOS7iPadActionSheet' :
- break;
- case 'iOS7AlertDialog' :
- break;
- case 'iOS7ProgressBar' :
- break;
- case 'iOS7Slider' :
- break;
- case 'iOS7SegmentedControl' :
- break;
- case 'iOS7Toggle' :
- break;
- case 'iOS7PageControls' :
- break;
- case 'iOS7DatePicker' :
- break;
- case 'iOS7TimePicker' :
- break;
- case 'iOS7CountdownPicker' :
- break;
- case 'UI2BrowserBlock' :
- break;
- case 'UI2DialogBlock' :
- break;
- case 'UI2AccordionBlock' :
- break;
- case 'UI2TabBarContainerBlock' :
- break;
- case 'UI2TabBar2ContainerBlock' :
- break;
- case 'UI2VTabBarContainerBlock' :
- break;
- case 'UI2CheckBoxBlock' :
- break;
- case 'UI2HorizontalCheckBoxBlock' :
- break;
- case 'UI2RadioBlock' :
- break;
- case 'UI2HorizontalRadioBlock' :
- break;
- case 'UI2TableBlock' :
- break;
- case 'UI2ButtonBarBlock' :
- break;
- case 'UI2VerticalButtonBarBlock' :
- break;
- case 'UI2LinkBarBlock' :
- break;
- case 'UI2BreadCrumbsBlock' :
- break;
- case 'UI2MenuBarBlock' :
- break;
- case 'UI2ContextMenuBlock' :
- break;
- case 'UI2TreePaneBlock' :
- break;
- case 'UI2BraceNoteBlock' :
- break;
- case 'UI2TooltipBlock' :
- break;
- case 'UI2AlertBlock' :
- break;
- case 'Image_ipad_alert_dialog' :
- break;
- case 'Image_ipad_dialog' :
- break;
- case 'Image_ipad_table' :
- break;
- case 'Image_ipad_vtab' :
- break;
- case 'Image_ipad_large_tabbed_button' :
- break;
- case 'Image_ipad_sort_button' :
- break;
- case 'Image_ipad_tab_bar' :
- break;
- case 'Image_ipad_check_off' :
- break;
- case 'Image_ipad_radio_off' :
- break;
- case 'Image_ipad_checkbox_off' :
- break;
- case 'Image_iphone_table' :
- break;
- case 'Image_iphone_table_w_buttons' :
- break;
- case 'Image_iphone_table_w_icons' :
- break;
- case 'Image_iphone_list' :
- break;
- case 'Image_iphone_gray_grad_list' :
- break;
- case 'Image_iphone_alert_dialog' :
- break;
- case 'Image_iphone_dialog' :
- break;
- case 'Image_iphone_scroll_pane' :
- break;
- case 'Image_iphone_switch_off' :
- break;
- case 'Image_iphone_large_tabbed_button' :
- break;
- case 'Image_iphone_sort_button' :
- break;
- case 'Image_iphone_tab_bar' :
- break;
- case 'Image_iphone_picker_multi' :
- break;
- case 'Image_iphone_picker_web' :
- break;
- case 'Image_iphone_check_off' :
- break;
- case 'Image_iphone_radio_off' :
- break;
- case 'Image_iphone_checkbox_off' :
- break;
- }
- return v;
- };
- })();
|