UNPKG

@zklogic/draw.io

Version:

Draw.IO - Graph Editor integration in Angular-cli

1 lines 12.6 kB
Sidebar.prototype.addAWS3DPalette=function(){var e=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_STROKEWIDTH+"=1;align=center;outlineConnect=0;dashed=0;outlineConnect=0;shape=mxgraph.aws3d.",t="mxgraph.aws3d",l="aws 3d amazon web service";this.setCurrentSearchEntryLibrary("aws3d"),this.addPaletteFunctions("aws3d","AWS 3D",!1,[this.createVertexTemplateEntry(e+"ami;aspect=fixed;fillColor=#E8CA45;strokeColor=#FFF215;",92,60,"","AMI",null,null,this.getTagsForStencil(t,"ami",l).join(" ")),this.createVertexTemplateEntry(e+"ami2;aspect=fixed;fillColor=#FF9900;strokeColor=#ffffff;",74,50,"","AMI",null,null,this.getTagsForStencil(t,"ami",l).join(" ")),this.createVertexTemplateEntry(e+"application;fillColor=#4286c5;strokeColor=#57A2D8;aspect=fixed;",62,68.8,"","Application",null,null,this.getTagsForStencil(t,"application",l).join(" ")),this.createVertexTemplateEntry(e+"application2;fillColor=#86E83A;strokeColor=#B0F373;aspect=fixed;",62,53,"","Application",null,null,this.getTagsForStencil(t,"application",l).join(" ")),this.createVertexTemplateEntry(e+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,124,"","EC2 Instance",null,null,this.getTagsForStencil(t,"ec2 instance",l).join(" ")),this.createVertexTemplateEntry(e+"client;aspect=fixed;strokeColor=none;fillColor=#777777;",60,104,"","Client",null,null,this.getTagsForStencil(t,"client",l).join(" ")),this.createVertexTemplateEntry(e+"cloudfront;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",103.8,1.698*100,"","CloudFront",null,null,this.getTagsForStencil(t,"cloudfront",l).join(" ")),this.createVertexTemplateEntry(e+"file;aspect=fixed;strokeColor=#2d6195;fillColor=#ffffff;",30.8,70.6,"","Content",null,null,this.getTagsForStencil(t,"content",l).join(" ")),this.createVertexTemplateEntry(e+"customerGateway;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",116.7,102.8,"","Customer Gateway",null,null,this.getTagsForStencil(t,"customer gateway",l).join(" ")),this.createVertexTemplateEntry(e+"dataCenter;strokeColor=#5E5E5E;aspect=fixed;",123,142,"","Data Center",null,null,this.getTagsForStencil(t,"data center",l).join(" ")),this.createVertexTemplateEntry(e+"dataServer;strokeColor=#5E5E5E;aspect=fixed;",123,106,"","Data Server",null,null,this.getTagsForStencil(t,"data server",l).join(" ")),this.createVertexTemplateEntry(e+"decider;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",74,50,"","Decider",null,null,this.getTagsForStencil(t,"decider",l).join(" ")),this.createVertexTemplateEntry(e+"dynamoDb;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",181.5,210,"","DynamoDB",null,null,this.getTagsForStencil(t,"dynamodb db database",l).join(" ")),this.createVertexTemplateEntry(e+"ebs;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",92,60,"","EBS",null,null,this.getTagsForStencil(t,"ebs",l).join(" ")),this.createVertexTemplateEntry(e+"ebs2;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",92,60,"","EBS",null,null,this.getTagsForStencil(t,"ebs",l).join(" ")),this.createVertexTemplateEntry(e+"elasticBeanstalk;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",182,140,"","Elastic Beanstalk",null,null,this.getTagsForStencil(t,"elastic beanstalk",l).join(" ")),this.createVertexTemplateEntry(e+"elasticLoadBalancing;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",92,88.17,"","Elastic Load Balancing",null,null,this.getTagsForStencil(t,"elastic load balancing elb",l).join(" ")),this.createVertexTemplateEntry(e+"elasticMapReduce;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,133,"","Elastic MapReduce",null,null,this.getTagsForStencil(t,"elastic mapreduce",l).join(" ")),this.addEntry(l+"elasticache",(function(){var t=new mxCell("",new mxGeometry(70,0,123,124),e+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");t.vertex=!0;var l=new mxCell("",new mxGeometry(0,40,123,124),e+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");l.vertex=!0;var r=new mxCell("",new mxGeometry(140,40,123,124),e+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");r.vertex=!0;var o=new mxCell("",new mxGeometry(70,80,123,124),e+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");return o.vertex=!0,sb.createVertexTemplateFromCells([t,l,r,o],264,204,"Elasticache")})),this.createVertexTemplateEntry(e+"email;aspect=fixed;strokeColor=#292929;",43,.57*100,"","Email",null,null,this.getTagsForStencil(t,"email",l).join(" ")),this.createVertexTemplateEntry(e+"email_service;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",151,192,"","Email Service",null,null,this.getTagsForStencil(t,"email service",l).join(" ")),this.createVertexTemplateEntry(e+"file;aspect=fixed;strokeColor=#292929;",30.8,70.6,"","File",null,null,this.getTagsForStencil(t,"file",l).join(" ")),this.createVertexTemplateEntry(e+"glacier;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",181,192,"","Glacier",null,null,this.getTagsForStencil(t,"glacier",l).join(" ")),this.createVertexTemplateEntry(e+"image;strokeColor=none;fillColor=#777777;aspect=fixed;",50,86,"","Image/Video",null,null,this.getTagsForStencil(t,"image video",l).join(" ")),this.createVertexTemplateEntry(e+"internetGateway;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",116.7,102.8,"","Internet Gateway",null,null,this.getTagsForStencil(t,"internet gateway",l).join(" ")),this.createVertexTemplateEntry(e+"lambda;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",92,109.5,"","Lambda",null,null,this.getTagsForStencil(t,"lambda",l).join(" ")),this.createVertexTemplateEntry(e+"mobile_worker;aspect=fixed;strokeColor=none;fillColor=#777777;",36,90,"","Mobile Worker",null,null,this.getTagsForStencil(t,"mobile worker",l).join(" ")),this.createVertexTemplateEntry(e+"oracleDataCenter;fillColor=#ffffff;strokeColor=#5E5E5E;aspect=fixed;",123,142,"","Oracle Data Center",null,null,this.getTagsForStencil(t,"oracle data center",l).join(" ")),this.createVertexTemplateEntry(e+"oracleDbServer;fillColor=#ffffff;strokeColor=#5E5E5E;aspect=fixed;",123,133,"","Oracle Database Server",null,null,this.getTagsForStencil(t,"oracle database server db",l).join(" ")),this.createVertexTemplateEntry(e+"oracleServer;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,142,"","Oracle Server",null,null,this.getTagsForStencil(t,"oracle server",l).join(" ")),this.createVertexTemplateEntry(e+"rds;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,133,"","RDS",null,null,this.getTagsForStencil(t,"rds",l).join(" ")),this.createVertexTemplateEntry(e+"rdsMaster;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,133,"","RDS Master",null,null,this.getTagsForStencil(t,"rds master",l).join(" ")),this.createVertexTemplateEntry(e+"rdsSlave;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,133,"","RDS Slave",null,null,this.getTagsForStencil(t,"rds slave",l).join(" ")),this.createVertexTemplateEntry(e+"redshift;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",150,190,"","Redshift",null,null,this.getTagsForStencil(t,"redshift",l).join(" ")),this.createVertexTemplateEntry(e+"route53;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",117.17,134.4,"","Route 53",null,null,this.getTagsForStencil(t,"route",l).join(" ")),this.createVertexTemplateEntry(e+"s3;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",231.5,239,"","S3",null,null,this.getTagsForStencil(t,"s3",l).join(" ")),this.createVertexTemplateEntry(e+"s3Bucket;fillColor=#4286c5;strokeColor=#57A2D8;aspect=fixed;",61.5,.638*100,"","S3 Bucket",null,null,this.getTagsForStencil(t,"s3 bucket",l).join(" ")),this.createVertexTemplateEntry(e+"searchEngine;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",180,192,"","Search Engine",null,null,this.getTagsForStencil(t,"search engine",l).join(" ")),this.createVertexTemplateEntry(e+"secureConnection;fillColor=#000000;strokeColor=#ffffff;aspect=fixed;",.57*100,34,"","Secure Connection",null,null,this.getTagsForStencil(t,"secure connection",l).join(" ")),this.createVertexTemplateEntry(e+"securityTokenService;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",180,192,"","Security Token Service",null,null,this.getTagsForStencil(t,"security token service",l).join(" ")),this.createVertexTemplateEntry(e+"simpleDb;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,133,"","SimpleDB",null,null,this.getTagsForStencil(t,"simpledb simple db database",l).join(" ")),this.createVertexTemplateEntry(e+"simpleDb2;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",181.5,192.6,"","SimpleDB",null,null,this.getTagsForStencil(t,"simpledb simple db database",l).join(" ")),this.createVertexTemplateEntry(e+"snapshot;fillColor=#4286c5;strokeColor=#57A2D8;aspect=fixed;",92,60,"","Snapshot",null,null,this.getTagsForStencil(t,"snapshot",l).join(" ")),this.createVertexTemplateEntry(e+"instance;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,97,"","Spot Instance",null,null,this.getTagsForStencil(t,"spot instance",l).join(" ")),this.createVertexTemplateEntry(e+"sqs;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",184,212.75,"","SQS",null,null,this.getTagsForStencil(t,"sqs",l).join(" ")),this.createVertexTemplateEntry(e+"end_user;strokeColor=none;fillColor=#777777;aspect=fixed;",49,100.46,"","User",null,null,this.getTagsForStencil(t,"user",l).join(" ")),this.createVertexTemplateEntry(e+"vpcGateway;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",116.7,102.8,"","VPC Gateway",null,null,this.getTagsForStencil(t,"vpc gateway",l).join(" ")),this.createVertexTemplateEntry(e+"worker;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",74,50,"","Worker",null,null,this.getTagsForStencil(t,"worker",l).join(" ")),this.createVertexTemplateEntry(e+"workflowService;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",1.822*100,148.4,"","Workflow Service",null,null,this.getTagsForStencil(t,"workflow service",l).join(" ")),this.createVertexTemplateEntry(e+"arrowNE;fillColor=#000000;aspect=fixed;",45.5,26,"","Arrow NE",null,null,this.getTagsForStencil(t,"arrow ne north east northeast",l).join(" ")),this.createVertexTemplateEntry(e+"arrowSE;fillColor=#000000;aspect=fixed;",45.5,26,"","Arrow SE",null,null,this.getTagsForStencil(t,"arrow ne north east northeast",l).join(" ")),this.createVertexTemplateEntry(e+"arrowSW;fillColor=#000000;aspect=fixed;",45.5,26,"","Arrow SW",null,null,this.getTagsForStencil(t,"arrow ne north east northeast",l).join(" ")),this.createVertexTemplateEntry(e+"arrowNW;fillColor=#000000;aspect=fixed;",45.5,26,"","Arrow NW",null,null,this.getTagsForStencil(t,"arrow ne north east northeast",l).join(" ")),this.createVertexTemplateEntry(e+"arrowlessNE;fillColor=#000000;aspect=fixed;",31.6,18,"","Arrowless NE",null,null,this.getTagsForStencil(t,"arrow ne north east northeast",l).join(" ")),this.createVertexTemplateEntry(e+"dashedEdgeDouble;fillColor=#000000;aspect=fixed;",31.6,18,"","Dashed Edge Double Arrow",null,null,this.getTagsForStencil(t,"arrow ne north east northeast",l).join(" ")),this.createVertexTemplateEntry(e+"dashedArrowlessEdge;fillColor=#000000;aspect=fixed;",31.6,18,"","Dashed Arrowless Edge",null,null,this.getTagsForStencil(t,"arrow ne north east northeast",l).join(" ")),this.createVertexTemplateEntry(e+"dashedEdge;fillColor=#000000;aspect=fixed;",31.6,18,"","Dashed Edge",null,null,this.getTagsForStencil(t,"arrow ne north east northeast",l).join(" ")),this.createVertexTemplateEntry(e+"flatEdge;fillColor=#000000;aspect=fixed;",63.2,36,"","Flat Edge",null,null,this.getTagsForStencil(t,"arrow ne north east northeast",l).join(" ")),this.createVertexTemplateEntry(e+"flatDoubleEdge;fillColor=#000000;aspect=fixed;",252.8,144,"","Flat Double Edge",null,null,this.getTagsForStencil(t,"arrow ne north east northeast",l).join(" ")),this.createVertexTemplateEntry(e+"arrowhead;aspect=fixed;",19,11,"","Arrowhead",null,null,this.getTagsForStencil(t,"arrowhead",l).join(" ")),this.createVertexTemplateEntry(e+"edge;aspect=fixed;",97,107.4,"","Edge",null,null,this.getTagsForStencil(t,"edge",l).join(" ")),this.createVertexTemplateEntry(e+"reference;aspect=fixed;",29.5,19.5,"","Reference",null,null,this.getTagsForStencil(t,"reference",l).join(" ")),this.createVertexTemplateEntry(e+"spot;aspect=fixed;",62,36,"","Spot",null,null,this.getTagsForStencil(t,"spot",l).join(" ")),this.createEdgeTemplateEntry("edgeStyle=isometricEdgeStyle;endArrow=none;html=1;",50,100,"isometric edge","Isometric Edge 1"),this.createEdgeTemplateEntry("edgeStyle=isometricEdgeStyle;endArrow=none;html=1;elbow=vertical;",50,100,"isometric edge","Isometric Edge 2")]),this.setCurrentSearchEntryLibrary()};