drawio-offline
Version:
diagrams.net desktop
773 lines (705 loc) • 113 kB
JavaScript
(function()
{
Sidebar.prototype.addGCP2Palette = function()
{
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Paths');
this.addGCP2PathsPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Zones');
this.addGCP2ZonesPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Service Cards');
this.addGCP2ServiceCardsPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2User Device Cards');
this.addGCP2UserDeviceCardsPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Compute');
this.addGCP2ComputePalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2API Management');
this.addGCP2APIManagementPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Security');
this.addGCP2SecurityPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Data Analytics');
this.addGCP2DataAnalyticsPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Data Transfer');
this.addGCP2DataTransferPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Cloud AI');
this.addGCP2CloudAIPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Internet of Things');
this.addGCP2InternetOfThingsPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Databases');
this.addGCP2DatabasesPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Storage');
this.addGCP2StoragePalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Management Tools');
this.addGCP2ManagementToolsPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Networking');
this.addGCP2NetworkingPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Developer Tools');
this.addGCP2DeveloperToolsPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Expanded Product Cards');
this.addGCP2ExpandedProductCardsPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Product Cards');
this.addGCP2ProductCardsPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2General Icons');
this.addGCP2GeneralIconsPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Icons AI Machine Learning');
this.addGCP2IconsAIMachineLearningPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Icons Compute');
this.addGCP2IconsComputePalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Icons Data Analytics');
this.addGCP2IconsDataAnalyticsPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Icons Management Tools');
this.addGCP2IconsManagementToolsPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Icons Networking');
this.addGCP2IconsNetworkingPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Icons Developer Tools');
this.addGCP2IconsDeveloperToolsPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Icons API Management');
this.addGCP2IconsAPIManagementPalette()
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Icons Internet of Things');
this.addGCP2IconsInternetOfThingsPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Icons Databases');
this.addGCP2IconsDatabasesPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Icons Storage');
this.addGCP2IconsStoragePalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Icons Security');
this.addGCP2IconsSecurityPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Icons Migration');
this.addGCP2IconsMigrationPalette();
this.setCurrentSearchEntryLibrary('gcp2', 'gcp2Icons Hybrid and Multi Cloud');
this.addGCP2IconsHybridAndMultiCloudPalette();
this.setCurrentSearchEntryLibrary();
};
Sidebar.prototype.addGCP2PathsPalette = function()
{
var s = 'edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=blockThin;endFill=1;rounded=0;strokeWidth=2;endSize=4;startSize=4;';
var dt = 'gcp google cloud platform path ';
var fns = [];
var fns = [
this.createEdgeTemplateEntry(s + 'dashed=0;strokeColor=#4284F3;', 100, 0, '', 'Primary Path', null, dt + 'primary'),
this.createEdgeTemplateEntry(s + 'dashed=1;dashPattern=1 3;strokeColor=#4284F3;', 100, 0, '', 'Optional Primary Path', null, dt + 'optional primary'),
this.createEdgeTemplateEntry(s + 'dashed=0;strokeColor=#9E9E9E;', 100, 0, '', 'Secondary Path', null, dt + 'secondary'),
this.createEdgeTemplateEntry(s + 'dashed=1;dashPattern=1 3;strokeColor=#9E9E9E;', 100, 0, '', 'Optional Secondary Path', null, dt + 'optional secondary'),
this.createEdgeTemplateEntry(s + 'strokeColor=#34A853;dashed=0;', 100, 0, '', 'Success Status', null, dt + 'success status'),
this.createEdgeTemplateEntry(s + 'strokeColor=#EA4335;dashed=0;', 100, 0, '', 'Failure Status', null, dt + 'failure status')
];
this.addPalette('gcp2Paths', 'GCP / Paths', false, mxUtils.bind(this, function(content)
{
for (var i = 0; i < fns.length; i++)
{
content.appendChild(fns[i](content));
}
}));
};
Sidebar.prototype.addGCP2ZonesPalette = function()
{
var sb = this;
var s = 'points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[1,1,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];rounded=1;absoluteArcSize=1;arcSize=2;html=1;strokeColor=none;gradientColor=none;shadow=0;dashed=0;fontSize=12;fontColor=#9E9E9E;align=left;verticalAlign=top;spacing=10;spacingTop=-4;';
var dt = 'gcp google cloud platform zone ';
var gn = 'mxgraph.gcp2.zones';
var fns = [];
var fns = [
this.createVertexTemplateEntry(s + '',
120, 70, 'User 1', 'User 1 (Default)', null, null, this.getTagsForStencil(gn, '', dt + 'user').join(' ')),
this.createVertexTemplateEntry(s + 'fillColor=#F3E5F5;',
120, 150, 'Infrastructure\nSystem', 'Infrastructure System', null, null, this.getTagsForStencil(gn, '', dt + 'infrastructure system').join(' ')),
this.createVertexTemplateEntry(s + 'fillColor=#EFEBE9;',
120, 200, 'colo / dc /\non-premises', 'colo / dc / on-premises', null, null, this.getTagsForStencil(gn, '', dt + 'colo dc on premises').join(' ')),
this.createVertexTemplateEntry(s + 'fillColor=#F1F8E9;',
120, 70, 'System 1', 'System 1', null, null, this.getTagsForStencil(gn, '', dt + 'system').join(' ')),
this.createVertexTemplateEntry(s + 'fillColor=#FFEBEE;',
120, 70, 'External SaaS\nProviders', 'External SaaS Providers', null, null, this.getTagsForStencil(gn, '', dt + 'external saas providers').join(' ')),
this.createVertexTemplateEntry(s + 'fillColor=#FFF8E1;',
120, 70, 'External Data\nSources', 'External Data Sources', null, null, this.getTagsForStencil(gn, '', dt + 'external data sources').join(' ')),
this.createVertexTemplateEntry(s + 'fillColor=#E0F2F1;',
120, 75, 'External\nInfrastructure\n3<sup>rd</sup> Party', 'External Infrastructure 3rd party', null, null, this.getTagsForStencil(gn, '', dt + 'external infrastructure 3rd party').join(' ')),
this.createVertexTemplateEntry(s + 'fillColor=#E1F5FE;',
120, 75, 'External\nInfrastructure\n1<sup>st</sup> Party', 'External Infrastructure 1st party', null, null, this.getTagsForStencil(gn, '', dt + 'external infrastructure 1st party').join(' ')),
this.addEntry(dt + 'project cloud service provider', function()
{
var bg = new mxCell('Project Zone / Cloud Service Provider', new mxGeometry(0, 0, 530, 490), s + 'fillColor=#F6F6F6;');
bg.vertex = true;
var zone1Cell = new mxCell('Logical Grouping of Services / Instances',
new mxGeometry(0, 0, 250, 180), s + 'fillColor=#E3F2FD;');
zone1Cell.geometry.relative = true;
zone1Cell.geometry.offset = new mxPoint(10, 50);
zone1Cell.vertex = true;
bg.insert(zone1Cell);
var zone2Cell = new mxCell('Zone',
new mxGeometry(0, 0, 230, 120), s + 'fillColor=#FFF3E0;');
zone2Cell.geometry.relative = true;
zone2Cell.geometry.offset = new mxPoint(10, 50);
zone2Cell.vertex = true;
zone1Cell.insert(zone2Cell);
var zone3Cell = new mxCell('SubNetwork',
new mxGeometry(0, 0, 210, 60), s + 'fillColor=#EDE7F6;');
zone3Cell.geometry.relative = true;
zone3Cell.geometry.offset = new mxPoint(10, 50);
zone3Cell.vertex = true;
zone2Cell.insert(zone3Cell);
var zone4Cell = new mxCell('Kubernetes cluster',
new mxGeometry(0, 0, 250, 120), s + 'fillColor=#FCE4EC;');
zone4Cell.geometry.relative = true;
zone4Cell.geometry.offset = new mxPoint(10, 240);
zone4Cell.vertex = true;
bg.insert(zone4Cell);
var zone5Cell = new mxCell('pod',
new mxGeometry(0, 0, 210, 60), s + 'fillColor=#E8F5E9;');
zone5Cell.geometry.relative = true;
zone5Cell.geometry.offset = new mxPoint(10, 50);
zone5Cell.vertex = true;
zone4Cell.insert(zone5Cell);
var zone6Cell = new mxCell('Account',
new mxGeometry(0, 0, 250, 60), s + 'fillColor=#E8EAF6;');
zone6Cell.geometry.relative = true;
zone6Cell.geometry.offset = new mxPoint(10, 370);
zone6Cell.vertex = true;
bg.insert(zone6Cell);
var zone7Cell = new mxCell('Region',
new mxGeometry(0, 0, 250, 310), s + 'fillColor=#ECEFF1;');
zone7Cell.geometry.relative = true;
zone7Cell.geometry.offset = new mxPoint(270, 50);
zone7Cell.vertex = true;
bg.insert(zone7Cell);
var zone8Cell = new mxCell('Zone',
new mxGeometry(0, 0, 230, 250), s + 'fillColor=#FFF3E0;');
zone8Cell.geometry.relative = true;
zone8Cell.geometry.offset = new mxPoint(10, 50);
zone8Cell.vertex = true;
zone7Cell.insert(zone8Cell);
var zone9Cell = new mxCell('Firewall',
new mxGeometry(0, 0, 210, 190), s + 'fillColor=#FBE9E7;');
zone9Cell.geometry.relative = true;
zone9Cell.geometry.offset = new mxPoint(10, 50);
zone9Cell.vertex = true;
zone8Cell.insert(zone9Cell);
var zone10Cell = new mxCell('Instance Group',
new mxGeometry(0, 0, 190, 60), s + 'fillColor=#F9FBE7;');
zone10Cell.geometry.relative = true;
zone10Cell.geometry.offset = new mxPoint(10, 50);
zone10Cell.vertex = true;
zone9Cell.insert(zone10Cell);
var zone11Cell = new mxCell('Replica Pool',
new mxGeometry(0, 0, 190, 60), s + 'fillColor=#E0F7FA;');
zone11Cell.geometry.relative = true;
zone11Cell.geometry.offset = new mxPoint(10, 120);
zone11Cell.vertex = true;
zone9Cell.insert(zone11Cell);
var zone12Cell = new mxCell('Optional Component',
new mxGeometry(0, 0, 250, 60),
'rounded=1;absoluteArcSize=1;arcSize=2;html=1;strokeColor=none;gradientColor=none;shadow=0;dashed=1;strokeColor=#4284F3;fontSize=12;fontColor=#9E9E9E;align=left;verticalAlign=top;spacing=10;spacingTop=-4;fillColor=none;dashPattern=1 2;strokeWidth=2;');
zone12Cell.geometry.relative = true;
zone12Cell.geometry.offset = new mxPoint(270, 370);
zone12Cell.vertex = true;
bg.insert(zone12Cell);
return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Project Zone / Cloud Service Provider');
}),
this.createVertexTemplateEntry('fillColor=#4DA1F5;strokeColor=none;shadow=1;gradientColor=none;fontSize=14;align=left;spacingLeft=50;fontColor=#ffffff;',
1000, 40, 'Architecture: App Engine and Cloud Endpoints', 'Title bar', null, null, this.getTagsForStencil(gn, '', dt + 'title bar').join(' ')),
this.createVertexTemplateEntry('strokeColor=none;shadow=0;gradientColor=none;fontSize=11;align=left;spacing=10;fontColor=#;9E9E9E;verticalAlign=top;spacingTop=100;',
300, 350, 'Use this note to call out\nor clarify parts of a diagram', 'Note', null, null, this.getTagsForStencil(gn, '', dt + 'note').join(' ')),
this.addEntry(dt + 'project', function()
{
var bg = new mxCell('<b>Google </b>Cloud Platform', new mxGeometry(0, 0, 650, 350),
'fillColor=#F6F6F6;strokeColor=none;shadow=0;gradientColor=none;fontSize=14;align=left;spacing=10;fontColor=#717171;9E9E9E;verticalAlign=top;spacingTop=-4;fontStyle=0;spacingLeft=40;html=1;');
bg.vertex = true;
var zone1Cell = new mxCell('',
new mxGeometry(0, 0, 23, 20),
'shape=mxgraph.gcp2.google_cloud_platform;fillColor=#F6F6F6;strokeColor=none;shadow=0;gradientColor=none;');
zone1Cell.geometry.relative = true;
zone1Cell.geometry.offset = new mxPoint(20, 10);
zone1Cell.vertex = true;
bg.insert(zone1Cell);
return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Project Zone');
}),
this.addEntry(dt + 'markers', function()
{
s = 'shape=ellipse;perimeter=ellipsePerimeter;strokeColor=#BDBDBD;strokeWidth=2;shadow=0;gradientColor=none;fontColor=#757575;align=center;html=1;fontStyle=1;spacingTop=-1;';
var icon1 = new mxCell('1', new mxGeometry(0, 0, 20, 20), s);
icon1.vertex = true;
var icon2 = new mxCell('2', new mxGeometry(40, 0, 20, 20), s);
icon2.vertex = true;
var icon3 = new mxCell('3', new mxGeometry(80, 0, 20, 20), s);
icon3.vertex = true;
var icon4 = new mxCell('4', new mxGeometry(120, 0, 20, 20), s);
icon4.vertex = true;
var icon5 = new mxCell('5', new mxGeometry(160, 0, 20, 20), s);
icon5.vertex = true;
var icon6 = new mxCell('6', new mxGeometry(200, 0, 20, 20), s);
icon6.vertex = true;
var icon7 = new mxCell('7', new mxGeometry(240, 0, 20, 20), s);
icon7.vertex = true;
var label1 = new mxCell('Markers to be used with the legend', new mxGeometry(0, 20, 260, 30),
'strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;fontSize=11;');
label1.vertex = true;
return sb.createVertexTemplateFromCells([icon1, icon2, icon3, icon4, icon5, icon6, icon7, label1], 260, 50, 'Markers');
}),
this.addEntry(dt + 'markers', function()
{
var s = 'strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;';
var bg = new mxCell('', new mxGeometry(0, 0, 600, 70),
'strokeColor=#BDBDBD;strokeWidth=1;shadow=0;gradientColor=none;');
bg.vertex = true;
var label1 = new mxCell('1 Commit code', new mxGeometry(0, 0, 200, 30), s);
label1.geometry.relative = true;
label1.vertex = true;
bg.insert(label1);
var label2 = new mxCell('2 Detect code change', new mxGeometry(0, 0, 200, 30), s);
label2.geometry.relative = true;
label2.geometry.offset = new mxPoint(0, 30);
label2.vertex = true;
bg.insert(label2);
var label3 = new mxCell('3 Build immutable image', new mxGeometry(0, 0, 200, 30), s);
label3.geometry.relative = true;
label3.geometry.offset = new mxPoint(200, 0);
label3.vertex = true;
bg.insert(label3);
var label4 = new mxCell('4 Launch test instance from image', new mxGeometry(0, 0, 200, 30), s);
label4.geometry.relative = true;
label4.geometry.offset = new mxPoint(200, 30);
label4.vertex = true;
bg.insert(label4);
var label5 = new mxCell('5 Run tests', new mxGeometry(0, 0, 200, 30), s);
label5.geometry.relative = true;
label5.geometry.offset = new mxPoint(400, 0);
label5.vertex = true;
bg.insert(label5);
var label6 = new mxCell('6 Perform rolling update of image to autoscaler', new mxGeometry(0, 0, 200, 30), s);
label6.geometry.relative = true;
label6.geometry.offset = new mxPoint(400, 30);
label6.vertex = true;
bg.insert(label6);
return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Markers');
})
];
this.addPalette('gcp2Zones', 'GCP / Zones', false, mxUtils.bind(this, function(content)
{
for (var i = 0; i < fns.length; i++)
{
content.appendChild(fns[i](content));
}
}));
};
Sidebar.prototype.addGCP2GeneralIconsPalette = function()
{
var sb = this;
var s = 1;
var n = 'html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.';
var dt = 'gcp google cloud platform general icons icon ';
var gn = 'mxgraph.gcp2';
var fns = [];
var fns = [
this.createVertexTemplateEntry(n + 'biomedical_trio',
s * 100, s * 68, null, 'Biomedical Trio', null, null, this.getTagsForStencil(gn, '', dt + 'biomedical trio').join(' ')),
this.createVertexTemplateEntry(n + 'biomedical_beaker',
s * 69, s * 100, null, 'Biomedical Beaker', null, null, this.getTagsForStencil(gn, '', dt + 'biomedical beaker').join(' ')),
this.createVertexTemplateEntry(n + 'biomedical_test_tube',
s * 31, s * 100, null, 'Biomedical Test Tube', null, null, this.getTagsForStencil(gn, '', dt + 'biomedical test tube').join(' ')),
this.createVertexTemplateEntry(n + 'check_available',
s * 100, s * 87, null, 'Check Available', null, null, this.getTagsForStencil(gn, '', dt + 'check available').join(' ')),
this.createVertexTemplateEntry(n + 'cloud_monitoring',
s * 90, s * 100, null, 'Cloud Monitoring', null, null, this.getTagsForStencil(gn, '', dt + 'cloud monitoring').join(' ')),
this.createVertexTemplateEntry(n + 'repository',
s * 60, s * 100, null, 'Repository', null, null, this.getTagsForStencil(gn, '', dt + 'repository').join(' ')),
this.createVertexTemplateEntry(n + 'compute_engine_2',
s * 54, s * 100, null, 'Compute Engine', null, null, this.getTagsForStencil(gn, '', dt + 'compute engine').join(' ')),
this.createVertexTemplateEntry(n + 'capabilities',
s * 100, s * 76, null, 'Capabilities', null, null, this.getTagsForStencil(gn, '', dt + 'capabilities thumbs up gear').join(' ')),
this.createVertexTemplateEntry(n + 'globe_world',
s * 100, s * 95, null, 'World Network', null, null, this.getTagsForStencil(gn, '', dt + 'globe global world network upload anywhere').join(' ')),
this.createVertexTemplateEntry(n + 'process',
s * 84, s * 100, null, 'Process', null, null, this.getTagsForStencil(gn, '', dt + 'process').join(' ')),
this.createVertexTemplateEntry(n + 'arrow_cycle',
s * 100, s * 95, null, 'Arrow Cycle', null, null, this.getTagsForStencil(gn, '', dt + 'arrow cycle').join(' ')),
this.createVertexTemplateEntry(n + 'arrows_system',
s * 100, s * 95, null, 'Arrows System', null, null, this.getTagsForStencil(gn, '', dt + 'arrows system').join(' ')),
this.createVertexTemplateEntry(n + 'half_cloud',
s * 100, s * 50, null, 'Half Cloud', null, null, this.getTagsForStencil(gn, '', dt + 'half cloud').join(' ')),
this.createVertexTemplateEntry(n + 'cloud',
s * 100, s * 69, null, 'Cloud', null, null, this.getTagsForStencil(gn, '', dt + 'cloud').join(' ')),
this.createVertexTemplateEntry(n + 'speed',
s * 100, s * 57, null, 'Speed', null, null, this.getTagsForStencil(gn, '', dt + 'speed').join(' ')),
this.createVertexTemplateEntry(n + 'time_clock',
s * 86, s * 100, null, 'Overtime', null, null, this.getTagsForStencil(gn, '', dt + 'time clock frozen cold overtime').join(' ')),
this.createVertexTemplateEntry(n + 'loading',
s * 100, s * 100, null, 'Loading', null, null, this.getTagsForStencil(gn, '', dt + 'loading').join(' ')),
this.createVertexTemplateEntry(n + 'clock',
s * 100, s * 100, null, 'Clock', null, null, this.getTagsForStencil(gn, '', dt + 'clock').join(' ')),
this.createVertexTemplateEntry(n + 'check',
s * 100, s * 80, null, 'Check', null, null, this.getTagsForStencil(gn, '', dt + 'check').join(' ')),
this.createVertexTemplateEntry('html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#F4AF20;shape=mxgraph.gcp2.check',
s * 100, s * 80, null, 'Check (yellow)', null, null, this.getTagsForStencil(gn, '', dt + 'check').join(' ')),
this.createVertexTemplateEntry('html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#2D9C5E;shape=mxgraph.gcp2.check',
s * 100, s * 80, null, 'Check (green)', null, null, this.getTagsForStencil(gn, '', dt + 'check').join(' ')),
this.createVertexTemplateEntry(n + 'lock',
s * 78, s * 100, null, 'Lock', null, null, this.getTagsForStencil(gn, '', dt + 'lock').join(' ')),
this.createVertexTemplateEntry(n + 'cloud_security',
s * 100, s * 70, null, 'Cloud Security', null, null, this.getTagsForStencil(gn, '', dt + 'cloud security').join(' ')),
this.createVertexTemplateEntry(n + 'cloud_checkmark',
s * 100, s * 67, null, 'Cloud Checkmark', null, null, this.getTagsForStencil(gn, '', dt + 'cloud checkmark').join(' ')),
this.createVertexTemplateEntry(n + 'key',
s * 100, s * 47, null, 'Key', null, null, this.getTagsForStencil(gn, '', dt + 'key').join(' ')),
this.createVertexTemplateEntry(n + 'aspect_ratio',
s * 100, s * 92, null, 'Aspect Ratio', null, null, this.getTagsForStencil(gn, '', dt + 'aspect ratio').join(' ')),
this.createVertexTemplateEntry(n + 'scale',
s * 100, s * 92, null, 'Check', null, null, this.getTagsForStencil(gn, '', dt + 'check scale aspect ratio').join(' ')),
this.createVertexTemplateEntry(n + 'big_query',
s * 99, s * 100, null, 'Big Query', null, null, this.getTagsForStencil(gn, '', dt + 'big query').join(' ')),
this.createVertexTemplateEntry(n + 'search',
s * 99, s * 100, null, 'Search', null, null, this.getTagsForStencil(gn, '', dt + 'search').join(' ')),
this.createVertexTemplateEntry('html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#2D9C5E;shape=mxgraph.gcp2.search',
s * 99, s * 100, null, 'Search (green)', null, null, this.getTagsForStencil(gn, '', dt + 'search').join(' ')),
this.createVertexTemplateEntry(n + 'solution',
s * 99, s * 100, null, 'Solution', null, null, this.getTagsForStencil(gn, '', dt + 'solution').join(' ')),
this.createVertexTemplateEntry(n + 'visibility',
s * 100, s * 94, null, 'Visibility', null, null, this.getTagsForStencil(gn, '', dt + 'visibility').join(' ')),
this.createVertexTemplateEntry(n + 'anomaly_detection',
s * 78, s * 100, null, 'Anomaly Detection', null, null, this.getTagsForStencil(gn, '', dt + 'anomaly detection').join(' ')),
this.createVertexTemplateEntry(n + 'view_list',
s * 81, s * 100, null, 'View List', null, null, this.getTagsForStencil(gn, '', dt + 'view list').join(' ')),
this.createVertexTemplateEntry(n + 'connected',
s * 100, s * 72, null, 'Admin', null, null, this.getTagsForStencil(gn, '', dt + 'admin system connected').join(' ')),
this.createVertexTemplateEntry(n + 'cloud_server',
s * 100, s * 89, null, 'Cloud Server', null, null, this.getTagsForStencil(gn, '', dt + 'cloud server').join(' ')),
this.createVertexTemplateEntry(n + 'primary',
s * 100, s * 15, null, 'Primary', null, null, this.getTagsForStencil(gn, '', dt + 'primary').join(' ')),
this.createVertexTemplateEntry(n + 'monitor',
s * 100, s * 85, null, 'Monitor', null, null, this.getTagsForStencil(gn, '', dt + 'monitor save help').join(' ')),
this.createVertexTemplateEntry(n + 'monitor_2',
s * 100, s * 85, null, 'Monitor', null, null, this.getTagsForStencil(gn, '', dt + 'monitor').join(' ')),
this.createVertexTemplateEntry(n + 'website',
s * 100, s * 97, null, 'Website', null, null, this.getTagsForStencil(gn, '', dt + 'website').join(' ')),
this.createVertexTemplateEntry(n + 'safety',
s * 100, s * 96, null, 'Safety', null, null, this.getTagsForStencil(gn, '', dt + 'safety').join(' ')),
this.createVertexTemplateEntry(n + 'gear_load',
s * 100, s * 92, null, 'Gear Load', null, null, this.getTagsForStencil(gn, '', dt + 'gear load').join(' ')),
this.createVertexTemplateEntry(n + 'files',
s * 100, s * 97, null, 'Files', null, null, this.getTagsForStencil(gn, '', dt + 'files data sharing').join(' ')),
this.createVertexTemplateEntry(n + 'play_gear',
s * 100, s * 100, null, 'Play Gear', null, null, this.getTagsForStencil(gn, '', dt + 'play gear').join(' ')),
this.createVertexTemplateEntry(n + 'play_start',
s * 100, s * 100, null, 'Play Start', null, null, this.getTagsForStencil(gn, '', dt + 'play start').join(' ')),
this.createVertexTemplateEntry(n + 'replication_controller',
s * 100, s * 91, null, 'Replication Controller', null, null, this.getTagsForStencil(gn, '', dt + 'replication controller').join(' ')),
this.createVertexTemplateEntry(n + 'replication_controller_2',
s * 100, s * 91, null, 'Replication Controller', null, null, this.getTagsForStencil(gn, '', dt + 'replication controller').join(' ')),
this.createVertexTemplateEntry(n + 'replication_controller_3',
s * 100, s * 66, null, 'Replication Controller', null, null, this.getTagsForStencil(gn, '', dt + 'replication controller').join(' ')),
this.createVertexTemplateEntry(n + 'repository_2',
s * 94, s * 100, null, 'Repository', null, null, this.getTagsForStencil(gn, '', dt + 'repository upload swap').join(' ')),
this.createVertexTemplateEntry(n + 'repository_3',
s * 100, s * 100, null, 'Repository', null, null, this.getTagsForStencil(gn, '', dt + 'repository').join(' ')),
this.createVertexTemplateEntry(n + 'repository_primary',
s * 100, s * 100, null, 'Repository', null, null, this.getTagsForStencil(gn, '', dt + 'repository primary').join(' ')),
this.createVertexTemplateEntry(n + 'database_3',
s * 70, s * 100, null, 'Database', null, null, this.getTagsForStencil(gn, '', dt + 'database db files').join(' ')),
this.createVertexTemplateEntry(n + 'database_uploading',
s * 100, s * 84, null, 'Database Uploading', null, null, this.getTagsForStencil(gn, '', dt + 'database db uploading').join(' ')),
this.createVertexTemplateEntry(n + 'servers_stacked',
s * 100, s * 100, null, 'Servers Stacked', null, null, this.getTagsForStencil(gn, '', dt + 'servers stacked').join(' ')),
this.createVertexTemplateEntry(n + 'segments',
s * 100, s * 100, null, 'Segments', null, null, this.getTagsForStencil(gn, '', dt + 'segments').join(' ')),
this.createVertexTemplateEntry(n + 'segments_2',
s * 100, s * 92, null, 'Segments', null, null, this.getTagsForStencil(gn, '', dt + 'segments').join(' ')),
this.createVertexTemplateEntry(n + 'segments_overlap',
s * 100, s * 100, null, 'Segments Overlap', null, null, this.getTagsForStencil(gn, '', dt + 'segments overlap').join(' ')),
this.createVertexTemplateEntry(n + 'cost_savings',
s * 66, s * 100, null, 'Cost Savings', null, null, this.getTagsForStencil(gn, '', dt + 'cost savings').join(' ')),
this.createVertexTemplateEntry(n + 'enhance_ui',
s * 76, s * 100, null, 'Enhance UI', null, null, this.getTagsForStencil(gn, '', dt + 'enhance ui').join(' ')),
this.createVertexTemplateEntry(n + 'phone_android',
s * 56, s * 100, null, 'Phone', null, null, this.getTagsForStencil(gn, '', dt + 'phone android').join(' ')),
this.createVertexTemplateEntry(n + 'cost_arrows',
s * 76, s * 100, null, 'Cost Arrows', null, null, this.getTagsForStencil(gn, '', dt + 'cost arrows').join(' ')),
this.createVertexTemplateEntry(n + 'increase_cost_arrows',
s * 100, s * 92, null, 'Increase Cost Arrows', null, null, this.getTagsForStencil(gn, '', dt + 'increase cost arrows').join(' ')),
this.createVertexTemplateEntry(n + 'cost',
s * 85, s * 100, null, 'Cost File', null, null, this.getTagsForStencil(gn, '', dt + 'cost file').join(' ')),
this.createVertexTemplateEntry(n + 'database_2',
s * 78, s * 100, null, 'Database', null, null, this.getTagsForStencil(gn, '', dt + 'database db').join(' ')),
this.createVertexTemplateEntry(n + 'database_speed',
s * 69, s * 100, null, 'Database Speed', null, null, this.getTagsForStencil(gn, '', dt + 'database db speed').join(' ')),
this.createVertexTemplateEntry(n + 'data_access',
s * 93, s * 100, null, 'Data Access', null, null, this.getTagsForStencil(gn, '', dt + 'data access file gear').join(' ')),
this.createVertexTemplateEntry(n + 'database_cycle',
s * 100, s * 98, null, 'Database Cycle', null, null, this.getTagsForStencil(gn, '', dt + 'database db cycle').join(' ')),
this.createVertexTemplateEntry(n + 'data_increase',
s * 78, s * 100, null, 'Data Increase', null, null, this.getTagsForStencil(gn, '', dt + 'data increase').join(' ')),
this.createVertexTemplateEntry(n + 'data_storage_cost',
s * 78, s * 100, null, 'Data Storage Cost', null, null, this.getTagsForStencil(gn, '', dt + 'data storage cost').join(' ')),
this.createVertexTemplateEntry(n + 'gear',
s * 100, s * 100, null, 'Gear', null, null, this.getTagsForStencil(gn, '', dt + 'gear').join(' ')),
this.createVertexTemplateEntry(n + 'gear_chain',
s * 100, s * 100, null, 'Gear Chain', null, null, this.getTagsForStencil(gn, '', dt + 'gear chain').join(' ')),
this.createVertexTemplateEntry(n + 'bucket_scale',
s * 100, s * 81, null, 'Bucket Scale', null, null, this.getTagsForStencil(gn, '', dt + 'bucket scale').join(' ')),
this.createVertexTemplateEntry(n + 'a7_power',
s * 100, s * 100, null, 'A7 Power', null, null, this.getTagsForStencil(gn, '', dt + 'a7 power').join(' ')),
this.createVertexTemplateEntry(n + 'gear_arrow',
s * 100, s * 61, null, 'Gear Arrow', null, null, this.getTagsForStencil(gn, '', dt + 'gear arrow').join(' ')),
this.createVertexTemplateEntry(n + 'swap',
s * 100, s * 51, null, 'Swap', null, null, this.getTagsForStencil(gn, '', dt + 'swap').join(' ')),
this.createVertexTemplateEntry(n + 'save',
s * 100, s * 84, null, 'Save', null, null, this.getTagsForStencil(gn, '', dt + 'save').join(' ')),
this.createVertexTemplateEntry(n + 'social_media_time',
s * 97, s * 100, null, 'Social Media Time', null, null, this.getTagsForStencil(gn, '', dt + 'social media time').join(' ')),
this.createVertexTemplateEntry(n + 'tape_record',
s * 100, s * 71, null, 'Tape Record', null, null, this.getTagsForStencil(gn, '', dt + 'tape record').join(' ')),
this.createVertexTemplateEntry(n + 'folders',
s * 100, s * 85, null, 'Folders', null, null, this.getTagsForStencil(gn, '', dt + 'folders extensible').join(' ')),
this.createVertexTemplateEntry(n + 'maps_api',
s * 61, s * 100, null, 'Maps API', null, null, this.getTagsForStencil(gn, '', dt + 'maps api application programming interface').join(' ')),
this.createVertexTemplateEntry(n + 'enhance_ui_2',
s * 100, s * 91, null, 'Enhance UI', null, null, this.getTagsForStencil(gn, '', dt + 'enhance ui user interface').join(' ')),
this.createVertexTemplateEntry(n + 'certified_industry_standard',
s * 100, s * 78, null, 'Certified Industry Standard', null, null, this.getTagsForStencil(gn, '', dt + 'certified industry standard').join(' ')),
this.createVertexTemplateEntry(n + 'calculator',
s * 100, s * 74, null, 'Calculator', null, null, this.getTagsForStencil(gn, '', dt + 'calculator').join(' ')),
this.createVertexTemplateEntry(n + 'network',
s * 100, s * 100, null, 'Network', null, null, this.getTagsForStencil(gn, '', dt + 'network').join(' ')),
this.createVertexTemplateEntry(n + 'cloud_computer',
s * 100, s * 88, null, 'Cloud Computer', null, null, this.getTagsForStencil(gn, '', dt + 'cloud computer').join(' ')),
this.createVertexTemplateEntry(n + 'cloud_connected_insight',
s * 100, s * 91, null, 'Cloud Connected Insight', null, null, this.getTagsForStencil(gn, '', dt + 'cloud connected insight').join(' ')),
this.createVertexTemplateEntry(n + 'cloud_information',
s * 100, s * 79, null, 'Cloud Information Portable', null, null, this.getTagsForStencil(gn, '', dt + 'cloud information portable').join(' ')),
this.createVertexTemplateEntry(n + 'lifecycle',
s * 100, s * 100, null, 'Lifecycle', null, null, this.getTagsForStencil(gn, '', dt + 'lifecycle time folder loading').join(' ')),
this.createVertexTemplateEntry(n + 'thumbs_up',
s * 100, s * 100, null, 'Thumbs Up', null, null, this.getTagsForStencil(gn, '', dt + 'thumbs up').join(' ')),
this.createVertexTemplateEntry(n + 'loading_2',
s * 93, s * 100, null, 'Loading', null, null, this.getTagsForStencil(gn, '', dt + 'loading').join(' ')),
this.createVertexTemplateEntry(n + 'internet_connection',
s * 100, s * 83, null, 'Internet Connection', null, null, this.getTagsForStencil(gn, '', dt + 'internet connection').join(' ')),
this.createVertexTemplateEntry(n + 'check_scale',
s * 100, s * 75, null, 'Check Scale', null, null, this.getTagsForStencil(gn, '', dt + 'check scale').join(' ')),
this.createVertexTemplateEntry(n + 'load_balancing',
s * 100, s * 26, null, 'Load Balancing', null, null, this.getTagsForStencil(gn, '', dt + 'load balancing').join(' ')),
this.createVertexTemplateEntry(n + 'cloud_messaging',
s * 100, s * 64, null, 'Cloud Messaging', null, null, this.getTagsForStencil(gn, '', dt + 'cloud messaging').join(' ')),
this.createVertexTemplateEntry(n + 'memory_card',
s * 93, s * 100, null, 'Memory Card', null, null, this.getTagsForStencil(gn, '', dt + 'memory card').join(' ')),
this.createVertexTemplateEntry(n + 'admin_connected',
s * 100, s * 100, null, 'Admin Connected', null, null, this.getTagsForStencil(gn, '', dt + 'admin connected').join(' ')),
this.createVertexTemplateEntry('html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=ellipse',
s * 100, s * 100, null, 'Images Service', null, null, this.getTagsForStencil(gn, '', dt + 'images service').join(' ')),
this.createVertexTemplateEntry(n + 'task_queues_2',
s * 100, s * 61, null, 'Task Queues', null, null, this.getTagsForStencil(gn, '', dt + 'task queues').join(' ')),
this.createVertexTemplateEntry(n + 'systems_check',
s * 99, s * 100, null, 'Systems Check', null, null, this.getTagsForStencil(gn, '', dt + 'systems check').join(' ')),
this.createVertexTemplateEntry(n + 'google_network',
s * 100, s * 100, null, 'Google Network', null, null, this.getTagsForStencil(gn, '', dt + 'google network').join(' ')),
this.createVertexTemplateEntry(n + 'check_2',
s * 100, s * 100, null, 'Check', null, null, this.getTagsForStencil(gn, '', dt + 'check').join(' ')),
this.createVertexTemplateEntry(n + 'people_security_management',
s * 100, s * 100, null, 'People Security Management', null, null, this.getTagsForStencil(gn, '', dt + 'people security management').join(' ')),
this.createVertexTemplateEntry(n + 'search_api',
s * 100, s * 100, null, 'Search API', null, null, this.getTagsForStencil(gn, '', dt + 'search api application programming interface').join(' ')),
this.createVertexTemplateEntry(n + 'management_security',
s * 100, s * 100, null, 'Management Security', null, null, this.getTagsForStencil(gn, '', dt + 'management security').join(' ')),
this.createVertexTemplateEntry(n + 'loading_3',
s * 100, s * 100, null, 'Loading', null, null, this.getTagsForStencil(gn, '', dt + 'loading').join(' ')),
this.createVertexTemplateEntry(n + 'stacked_ownership',
s * 100, s * 100, null, 'Stacked Ownership', null, null, this.getTagsForStencil(gn, '', dt + 'stacked ownership').join(' ')),
this.createVertexTemplateEntry(n + 'vpn',
s * 100, s * 50, null, 'VPN', null, null, this.getTagsForStencil(gn, '', dt + 'vpn virtual private network').join(' ')),
this.createVertexTemplateEntry(n + 'node',
s * 80, s * 100, null, 'Node', null, null, this.getTagsForStencil(gn, '', dt + 'node').join(' ')),
this.createVertexTemplateEntry(n + 'service',
s * 70, s * 100, null, 'Service', null, null, this.getTagsForStencil(gn, '', dt + 'service').join(' ')),
this.createVertexTemplateEntry('html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#2D9C5E;shape=mxgraph.gcp2.external_data_center',
s * 77, s * 100, null, 'External Data Center', null, null, this.getTagsForStencil(gn, '', dt + 'external data center').join(' ')),
this.createVertexTemplateEntry('html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#2D9C5E;shape=mxgraph.gcp2.external_data_resource',
s * 79, s * 100, null, 'External Data Resource', null, null, this.getTagsForStencil(gn, '', dt + 'external data resource').join(' ')),
this.createVertexTemplateEntry('html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#2D9C5E;shape=mxgraph.gcp2.legacy_cloud',
s * 100, s * 69, null, 'Legacy Cloud', null, null, this.getTagsForStencil(gn, '', dt + 'legacy cloud').join(' ')),
this.createVertexTemplateEntry('html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#2D9C5E;shape=mxgraph.gcp2.legacy_cloud_2',
s * 100, s * 69, null, 'Legacy Cloud', null, null, this.getTagsForStencil(gn, '', dt + 'legacy cloud').join(' ')),
this.createVertexTemplateEntry(n + 'mem_instances',
s * 100, s * 87, null, 'Mem Instances', null, null, this.getTagsForStencil(gn, '', dt + 'mem instances').join(' '))
];
this.addPalette('gcp2General Icons', 'GCP / General Icons', false, mxUtils.bind(this, function(content)
{
for (var i = 0; i < fns.length; i++)
{
content.appendChild(fns[i](content));
}
}));
};
Sidebar.prototype.addGCP2ServiceCardsPalette = function()
{
var dt = 'gcp google cloud platform service cards ';
var fns = [];
this.addGCP2ServiceCard('Gateway', 'gateway', 100, 44, dt + 'gateway', fns);
this.addGCP2ServiceCard('Memcache', 'memcache', 110, 44, dt + 'memcache', fns);
this.addGCP2ServiceCard('Logs API', 'logs_api', 100, 44, dt + 'logs api application programming interface', fns);
this.addGCP2ServiceCard('Cluster', 'cluster', 90, 44, dt + 'cluster', fns);//TODO fix parser or source
this.addGCP2ServiceCard('NAT', 'nat', 80, 44, dt + 'nat network address translation', fns);
this.addGCP2ServiceCard('Squid Proxy', 'squid_proxy', 120, 44, dt + 'squid proxy', fns);
this.addGCP2ServiceCard('Bucket', 'bucket', 100, 44, dt + 'bucket', fns);
this.addGCP2ServiceCard('Service Discovery', 'service_discovery', 150, 44, dt + 'service discovery', fns);
this.addGCP2ServiceCard('Task\nQueues', 'task_queues', 90, 44, dt + 'task queues', fns);
this.addGCP2ServiceCard('Image\nServices', 'image_services', 100, 44, dt + 'image services', fns);
this.addGCP2ServiceCard('Dedicated\nGame Server', 'dedicated_game_server', 120, 44, dt + 'dedicated game server', fns);
this.addGCP2ServiceCard('Frontend\nPlatform Services', 'frontend_platform_services', 150, 44, dt + 'frontend platform services', fns);
this.addGCP2ServiceCard('Google\nEdge POP', 'google_network_edge_cache', 110, 56, dt + 'google edge pop point of presence', fns);
this.addGCP2ServiceCard('External\nPayment Form', 'external_payment_form', 130, 44, dt + 'external payment form', fns);
this.addGCP2ServiceCard('Internal Payment\nAuthorization', 'internal_payment_authorization', 150, 44, dt + 'internal payment authorization', fns);
this.addGCP2ServiceCard('VPN Gateway', 'gateway', 130, 44, dt + 'vpn gateway virtual private network', fns);
this.addGCP2ServiceCard('Application\nSystem(s)', 'application_system', 110, 44, dt + 'application system systems', fns);
this.addGCP2ServiceCard('Virtual\nFile System', 'virtual_file_system', 110, 44, dt + 'virtual file system', fns);
this.addGCP2ServiceCard('CDN\nInterconnect', 'google_network_edge_cache', 120, 44, dt + 'cdn content delivery network interconnect', fns);
this.addGCP2ServiceCard('Scheduled\nTasks', 'scheduled_tasks', 110, 44, dt + 'scheduled tasks', fns);
this.addGCP2ServiceCard('HTTPS\nLoad Balancer', 'network_load_balancer', 130, 44, dt + 'https secure load balancer', fns);
this.addGCP2ServiceCard('Persistent\nDisk Snapshot', 'persistent_disk_snapshot', 130, 44, dt + 'persistent disk snapshot', fns);
this.addGCP2ServiceCard('Persistent\nDisk', 'persistent_disk_snapshot', 110, 44, dt + 'persistent disk', fns);
this.addGCP2ServiceCard('Network\nLoad\nBalancer', 'network_load_balancer', 100, 56, dt + 'network load balancer', fns);
this.addGCP2ServiceCard('Google\n Network W/\nEdge Cache', 'google_network_edge_cache', 120, 56, dt + 'google network witch edge cache', fns);
this.addGCP2ServiceCard('Push\nNotification\nService', 'push_notification_service', 110, 56, dt + 'push notification service', fns);
this.addGCP2ServiceCard('Blank One Line', 'blank', 140, 44, dt + 'blank one line', fns);
fns.push(
this.addEntry(dt + 'blank one line', function()
{
var bg = new mxCell('Blank One Line', new mxGeometry(0, 0, 100, 44), 'dashed=0;strokeColor=#dddddd;shadow=1;strokeWidth=1;labelPosition=center;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontSize=12;');
bg.vertex = true;
return sb.createVertexTemplateFromCells([bg], 100, 44, 'Blank One Line');
})
);
this.addGCP2ServiceCard('Blank Two\n\& Three Line', 'blank', 120, 44, dt + 'blank two and three line', fns);
fns.push(
this.addEntry(dt + 'blank two and three line', function()
{
var bg = new mxCell('Blank Two\n\& Three Line', new mxGeometry(0, 0, 90, 44), 'dashed=0;strokeColor=#dddddd;shadow=1;strokeWidth=1;labelPosition=center;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontSize=12;');
bg.vertex = true;
return sb.createVertexTemplateFromCells([bg], 100, 44, 'Blank One Line');
})
);
this.addPalette('gcp2Service Cards', 'GCP / Service Cards', false, mxUtils.bind(this, function(content)
{
for (var i = 0; i < fns.length; i++)
{
content.appendChild(fns[i](content));
}
}));
};
Sidebar.prototype.addGCP2ComputePalette = function()
{
var dt = 'gcp google cloud platform compute ';
var fns = [];
this.addGCP2CardSet('Compute\nEngine', 'compute_engine', 110, 160, dt + 'compute engine', fns);
this.addGCP2CardSet('GPU', 'gpu', 90, 100, dt + 'gpu graphics processing unit', fns);
this.addGCP2CardSet('App\nEngine', 'app_engine', 100, 130, dt + 'app engine application', fns);
this.addGCP2CardSet('Cloud\nFunctions', 'cloud_functions', 120, 150, dt + 'functions', fns);
this.addGCP2CardSet('Kubernetes\nEngine', 'container_engine', 130, 170, dt + 'kubernetes engine', fns);
this.addGCP2CardSet('Container-\nOptimized OS', 'container_optimized_os', 140, 200, dt + 'container optimized os operating system', fns);
this.addGCP2CardSet('Cloud Run', 'cloud_run', 120, 120, dt + 'cloud run', fns);
this.addGCP2CardSet('GKE-on-Prem', 'gke_on_prem', 140, 140, dt + 'gke on prem premise', fns);
this.addPalette('gcp2Compute', 'GCP / Compute', false, mxUtils.bind(this, function(content)
{
for (var i = 0; i < fns.length; i++)
{
content.appendChild(fns[i](content));
}
}));
};
Sidebar.prototype.addGCP2APIManagementPalette = function()
{
var dt = 'gcp google cloud platform api management ';
var fns = [];
this.addGCP2CardSet('API\nAnalytics', 'api_analytics', 110, 140, dt + 'api analytics application programming interface', fns);
this.addGCP2CardSet('Apigee\nSense', 'apigee_sense', 100, 140, dt + 'apigee sense', fns);
this.addGCP2CardSet('API\nMonetization', 'api_monetization', 130, 160, dt + 'api monetization application programming interface', fns);
this.addGCP2CardSet('Cloud\nEndpoints', 'cloud_endpoints', 120, 150, dt + 'cloud endpoints', fns);
this.addGCP2CardSet('Apigee API\nPlatform', 'apigee_api_platform', 130, 170, dt + 'apigee api platform application programming interface', fns);
this.addGCP2CardSet('Developer\nPortal', 'developer_portal', 120, 160, dt + 'developer portal', fns);
this.addPalette('gcp2API Management', 'GCP / API Management', false, mxUtils.bind(this, function(content)
{
for (var i = 0; i < fns.length; i++)
{
content.appendChild(fns[i](content));
}
}));
};
Sidebar.prototype.addGCP2SecurityPalette = function()
{
var dt = 'gcp google cloud platform security ';
var fns = [];
this.addGCP2CardSet('Cloud\nIAM', 'cloud_iam', 100, 120, dt + 'cloud iam', fns);
this.addGCP2CardSet('BeyondCorp', 'beyondcorp', 130, 130, dt + 'beyondcorp', fns);
this.addGCP2CardSet('Cloud Resource\nManager', 'cloud_iam', 150, 200, dt + 'cloud resource manager', fns);
this.addGCP2CardSet('Data Loss\nPrevention API', 'data_loss_prevention_api', 140, 200, dt + 'data loss prevention api application programming interface', fns);
this.addGCP2CardSet('Cloud Security\nScanner', 'cloud_security_scanner', 140, 190, dt + 'cloud security scanner', fns);
this.addGCP2CardSet('Key Management\nService', 'key_management_service', 160, 200, dt + 'key management service', fns);
this.addGCP2CardSet('Identity-Aware\nProxy', 'identity_aware_proxy', 140, 180, dt + 'identity aware proxy', fns);
this.addGCP2CardSet('Cloud Security\nCommand Center', 'cloud_security_command_center', 160, 240, dt + 'cloud security command center', fns);
this.addGCP2CardSet('Security Key\nEnforcement', 'security_key_enforcement', 130, 200, dt + 'security key enforcement', fns);
this.addPalette('gcp2Security', 'GCP / Security', false, mxUtils.bind(this, function(content)
{
for (var i = 0; i < fns.length; i++)
{
content.appendChild(fns[i](content));
}
}));
};
Sidebar.prototype.addGCP2DataAnalyticsPalette = function()
{
var dt = 'gcp google cloud platform data analytics ';
var fns = [];
this.addGCP2CardSet('BigQuery', 'bigquery', 120, 120, dt + 'bigquery', fns);
this.addGCP2CardSet('Cloud\nDatalab', 'cloud_datalab', 110, 140, dt + 'datalab', fns);
this.addGCP2CardSet('Cloud\nDataflow', 'cloud_dataflow', 110, 150, dt + 'dataflow', fns);
this.addGCP2CardSet('Cloud\nPub/Sub', 'cloud_pubsub', 110, 150, dt + 'pub sub', fns);
this.addGCP2CardSet('Cloud\nDataproc', 'cloud_dataproc', 110, 150, dt + 'dataproc', fns);
this.addGCP2CardSet('Genomics', 'genomics', 120, 120, dt + 'genomics', fns);
this.addGCP2CardSet('Cloud\nDataprep', 'cloud_dataprep', 110, 150, dt + 'dataprep', fns);
this.addGCP2CardSet('Cloud\nComposer', 'cloud_composer', 120, 150, dt + 'cloud composer', fns);
this.addGCP2CardSet('Cloud Data Catalog', 'cloud_data_catalog', 170, 170, dt + 'cloud data catalog', fns);
this.addGCP2CardSet('Cloud Data Fusion', 'cloud_data_fusion', 160, 160, dt + 'cloud data fusion', fns);
this.addPalette('gcp2Data Analytics', 'GCP / Data Analytics', false, mxUtils.bind(this, function(content)
{
for (var i = 0; i < fns.length; i++)
{
content.appendChild(fns[i](content));
}
}));
};
Sidebar.prototype.addGCP2DataTransferPalette = function()
{
var dt = 'gcp google cloud platform data transfer ';
var fns = [];
this.addGCP2CardSet('Transfer\nAppliance', 'transfer_appliance', 120, 170, dt + 'appliance', fns);
this.addPalette('gcp2Data Transfer', 'GCP / Data Transfer', false, mxUtils.bind(this, function(content)
{
for (var i = 0; i < fns.length; i++)
{
content.appendChild(fns[i](content));
}
}));
};
Sidebar.prototype.addGCP2CloudAIPalette = function()
{
var dt = 'gcp google cloud platform ai artificial intelligence ';
var fns = [];
this.addGCP2CardSet('Cloud Machine\nLearning', 'cloud_machine_learning', 150, 200, dt + 'cloud machine learning', fns);
this.addGCP2CardSet('Natural\nLanguage API', 'cloud_natural_language_api', 140, 180, dt + 'natural language api application programming interface', fns);
this.addGCP2CardSet('Vision\nAPI', 'cloud_vision_api', 100, 120, dt + 'vision api application programming interface', fns);
this.addGCP2CardSet('Translation\nAPI', 'cloud_translation_api', 120, 150, dt + 'translation api application programming interface', fns);
this.addGCP2CardSet('Speech\nAPI', 'cloud_speech_api', 110, 130, dt + 'speech api application programming interface', fns);
this.addGCP2CardSet('Jobs\nAPI', 'cloud_jobs_api', 90, 110, dt + 'jobs api application programming interface', fns);
this.addGCP2CardSet('Cloud Video\nIntelligence API', 'cloud_video_intelligence_api', 150, 220, dt + 'cloud video intelligence api application programming interface', fns);
this.addGCP2CardSet('Advanced\nSolutions Lab', 'advanced_solutions_lab', 140, 200, dt + 'advanced solutions lab', fns);
this.addPalette('gcp2Cloud AI', 'GCP / Cloud AI', false, mxUtils.bind(this, function(content)
{
for (var i = 0; i < fns.length; i++)
{
content.appendChild(fns[i](content));
}
}));
};
Sidebar.prototype.addGCP2InternetOfThingsPalette = function()
{
var dt = 'gcp google cloud platform iot internet of things ';
var fns = [];
this.addGCP2CardSet('Cloud\nIoT Core', 'cloud_iot_core', 110, 150, dt + 'core', fns);
this.addPalette('gcp2Internet of Things', 'GCP / Internet of Things', false, mxUtils.bind(this, function(content)
{
for (var i = 0; i < fns.length; i++)
{