Sidebar-CiscoSafe.js
104 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
(function()
{
// Adds Cisco Safe stencils
Sidebar.prototype.addCiscoSafePalette = function()
{
this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeArchitecture');
this.addCiscoSafeArchitecturePalette();
this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeBusiness Icons');
this.addCiscoSafeBusinessIconsPalette();
this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeCapability');
this.addCiscoSafeCapabilityPalette();
this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeDesign');
this.addCiscoSafeDesignPalette();
this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeIoT Things Icons');
this.addCiscoSafeIoTThingsIconsPalette();
this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safePeople Places Things Icons');
this.addCiscoSafePeoplePlacesThingsIconsPalette();
this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeSecurity Icons');
this.addCiscoSafeSecurityIconsPalette();
this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeTechnology Icons');
this.addCiscoSafeTechnologyIconsPalette();
this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeThreat');
this.addCiscoSafeThreatPalette();
this.setCurrentSearchEntryLibrary();
};
Sidebar.prototype.addCiscoSafeArchitecturePalette = function()
{
var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#6ABD46;strokeColor=#ffffff;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;align=center;' +
'points=[[0.085,0.085,0],[0.915,0.085,0],[0.915,0.915,0],[0.085,0.915,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];pointerEvents=1;' + mxConstants.STYLE_SHAPE + "=mxgraph.cisco_safe.";
var gn = 'mxgraph.cisco_safe.architecture';
var dt = 'cisco safe architecture';
var w = 50;
this.addPaletteFunctions('cisco_safeArchitecture', 'Cisco Safe / Architecture', false,
[
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.switch;',
w, w, '', 'Access Switch', null, null, this.getTagsForStencil(gn, 'access switch', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_controller;',
w, w, '', 'ACI Controller', null, null, this.getTagsForStencil(gn, 'aci controller', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_leaf_switch;',
w, w, '', 'ACI Leaf Switch', null, null, this.getTagsForStencil(gn, 'aci leaf switch', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_spine_switch;',
w, w, '', 'ACI Spine Switch', null, null, this.getTagsForStencil(gn, 'aci spine switch', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.actuator;',
w, w, '', 'Actuator', null, null, this.getTagsForStencil(gn, 'actuator', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.adaptive_security_appliance;',
w, w, '', 'Adaptive Security Appliance', null, null, this.getTagsForStencil(gn, 'adaptive security appliance', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.automated_system;',
w, w, '', 'Automated System', null, null, this.getTagsForStencil(gn, 'automated system', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.blade_server;',
w, w, '', 'Blade Server', null, null, this.getTagsForStencil(gn, 'blade server', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.catalyst_switch;',
w, w, '', 'Catalyst Switch', null, null, this.getTagsForStencil(gn, 'catalyst switch', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.cisco_appliance;',
w, w, '', 'Cisco Appliance', null, null, this.getTagsForStencil(gn, 'cisco appliance', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.l3_switch;',
w, w, '', 'Core Switch', null, null, this.getTagsForStencil(gn, 'core switch', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.corporate_device1;',
w, w, '', 'Corporate Device', null, null, this.getTagsForStencil(gn, 'corporate device', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.corporate_device;',
w, w, '', 'Corporate Wireless Device', null, null, this.getTagsForStencil(gn, 'corporate wireless device', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.ddos_protection_appliance;',
w, w, '', 'DDOS Protection Appliance', null, null, this.getTagsForStencil(gn, 'ddos protection appliance', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.stacked_switch;',
w, w, '', 'Distribution Switch', null, null, this.getTagsForStencil(gn, 'distribution switch', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.email_security;',
w, w, '', 'Email Security', null, null, this.getTagsForStencil(gn, 'email security', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.endpoint_concentrator;',
w, w, '', 'Endpoint Concentrator', null, null, this.getTagsForStencil(gn, 'endpoint concentrator', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.fabric_switch;',
w, w, '', 'Fabric Switch', null, null, this.getTagsForStencil(gn, 'fabric switch', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.firepower_appliance;',
w, w, '', 'Firepower Appliance', null, null, this.getTagsForStencil(gn, 'firepower appliance', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.firepower_management_center;',
w, w, '', 'Firepower Management Center', null, null, this.getTagsForStencil(gn, 'firepower management center', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.firewall;',
w, w, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.flow_collector;',
w, w, '', 'Flow Collector', null, null, this.getTagsForStencil(gn, 'flow collector', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.flow_sensor;',
w, w, '', 'Flow Sensor', null, null, this.getTagsForStencil(gn, 'flow sensor', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.generic_appliance;',
w, w, '', 'Generic Appliance', null, null, this.getTagsForStencil(gn, 'generic appliance', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.identity_directory;',
w, w, '', 'Identity Directory', null, null, this.getTagsForStencil(gn, 'identity directory', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.intrusion_detection;',
w, w, '', 'Intrusion Detection', null, null, this.getTagsForStencil(gn, 'intrusion detection', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.intrusion_detection;',
w, w, '', 'Intrusion Prevention', null, null, this.getTagsForStencil(gn, 'intrusion prevention', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.l3_switch;',
w, w, '', 'L3 Switch', null, null, this.getTagsForStencil(gn, 'l3 switch', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_leaf_switch;',
w, w, '', 'Leaf Switch', null, null, this.getTagsForStencil(gn, 'leaf switch', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.load_balancer;',
w, w, '', 'Load Balancer', null, null, this.getTagsForStencil(gn, 'load balancer', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.log_collector;',
w, w, '', 'Log Collector', null, null, this.getTagsForStencil(gn, 'log collector', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.mgmt_console;',
w, w, '', 'Management Console', null, null, this.getTagsForStencil(gn, 'mgmt management console', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.mdm;',
w, w, '', 'MDM', null, null, this.getTagsForStencil(gn, 'mdm', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.mobile;',
w, w, '', 'Mobile', null, null, this.getTagsForStencil(gn, 'mobile', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.monitoring;',
w, w, '', 'Monitoring', null, null, this.getTagsForStencil(gn, 'monitoring', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.nexus_1kv;',
w, w, '', 'Nexus 1kv', null, null, this.getTagsForStencil(gn, 'nexus 1kv', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.nexus_data_center_switch;',
w, w, '', 'Nexus Data Center Switch', null, null, this.getTagsForStencil(gn, 'nexus data center switch', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.nexus_fabric_switch;',
w, w, '', 'Nexus Fabric Switch', null, null, this.getTagsForStencil(gn, 'nexus fabric switch', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.nexus_switch;',
w, w, '', 'Nexus Switch', null, null, this.getTagsForStencil(gn, 'nexus switch', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.ntp;',
w, w, '', 'NTP', null, null, this.getTagsForStencil(gn, 'ntp', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.phone;',
w, w, '', 'Phone', null, null, this.getTagsForStencil(gn, 'phone', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.policy;',
w, w, '', 'Policy', null, null, this.getTagsForStencil(gn, 'policy', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.radware_appliance;',
w, w, '', 'Radware Appliance', null, null, this.getTagsForStencil(gn, 'radware appliance', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.router;',
w, w, '', 'Router', null, null, this.getTagsForStencil(gn, 'router', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.sandbox_appliance;',
w, w, '', 'Sandbox Appliance', null, null, this.getTagsForStencil(gn, 'sandbox appliance', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_controller;',
w, w, '', 'SD Controller', null, null, this.getTagsForStencil(gn, 'sd controller', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.sd_wan;',
w, w, '', 'SD WAN', null, null, this.getTagsForStencil(gn, 'sd wan wireless area network', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.sd_wan_2;',
w, w, '', 'SD WAN', null, null, this.getTagsForStencil(gn, 'sd wan wireless area network', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.secure_dns;',
w, w, '', 'Secure DNS', null, null, this.getTagsForStencil(gn, 'secure dns domain name server', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.secure_server;',
w, w, '', 'Secure Server', null, null, this.getTagsForStencil(gn, 'secure server', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.sensor;',
w, w, '', 'Sensor', null, null, this.getTagsForStencil(gn, 'sensor', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.server;',
w, w, '', 'Server', null, null, this.getTagsForStencil(gn, 'server', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.siem;',
w, w, '', 'SIEM', null, null, this.getTagsForStencil(gn, 'siem', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_spine_switch;',
w, w, '', 'Spine Switch', null, null, this.getTagsForStencil(gn, 'spine switch', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.stacked_switch;',
w, w, '', 'Stacked Switch', null, null, this.getTagsForStencil(gn, 'stacked switch', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.storage;',
w, w, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.switch;',
w, w, '', 'Switch', null, null, this.getTagsForStencil(gn, 'switch', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.tetration_analytics;',
w, w, '', 'Tetration Analytics', null, null, this.getTagsForStencil(gn, 'tetration analytics', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.tls_appliance;',
w, w, '', 'TLS Appliance', null, null, this.getTagsForStencil(gn, 'tls appliance', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.unified_access_switch;',
w, w, '', 'Unified Access Switch', null, null, this.getTagsForStencil(gn, 'unified access switch', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.udp_director;',
w, w, '', 'UDP Director', null, null, this.getTagsForStencil(gn, 'udp director', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.video_endpoint;',
w, w, '', 'Video Endpoint', null, null, this.getTagsForStencil(gn, 'video endpoint', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.vpn_concentrator;',
w, w, '', 'VPN Concentrator', null, null, this.getTagsForStencil(gn, 'vpn virtual private network concentrator', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.vulnerability_management;',
w, w, '', 'Vulnerability Management', null, null, this.getTagsForStencil(gn, 'vulnerability management', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.web_application_firewall;',
w, w, '', 'Web Application Firewall', null, null, this.getTagsForStencil(gn, 'web application firewall', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.web_application_firewall_2;',
w, w, '', 'Web Application Firewall', null, null, this.getTagsForStencil(gn, 'web application firewall', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.web_filtering;',
w, w, '', 'Web Filtering', null, null, this.getTagsForStencil(gn, 'web filtering', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.web_security;',
w, w, '', 'Web Security', null, null, this.getTagsForStencil(gn, 'web security', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.wide_area_application_engine;',
w, w, '', 'Wide Area Application Engine', null, null, this.getTagsForStencil(gn, 'wide area application engine', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.wireless_access_point;',
w, w, '', 'Wireless Access Point', null, null, this.getTagsForStencil(gn, 'wireless access point', dt).join(' ')),
this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.wireless_lan_controller;',
w, w, '', 'Wireless LAN Controller', null, null, this.getTagsForStencil(gn, 'wireless lan controller', dt).join(' '))
]);
};
Sidebar.prototype.addCiscoSafeBusinessIconsPalette = function()
{
var w = 50;
var h = 50;
var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#282828;strokeColor=none;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.business_icons.';
var gn = 'mxgraph.cisco_safe.business_icons';
var dt = 'cisco safe business';
this.addPaletteFunctions('cisco_safeBusiness Icons', 'Cisco Safe / Business Icons', false,
[
this.createVertexTemplateEntry(s + 'icon1;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon2;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon3;',
w * 0.9, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon4;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon5;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon6;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon7;',
w, h * 0.7, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon8;',
w * 0.77, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon9;',
w * 0.81, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon10;',
w, h * 0.88, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon11;',
w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon12;',
w, h * 0.89, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon13;',
w, h * 0.56, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon14;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon15;',
w * 0.76, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon16;',
w, h * 0.75, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon17;',
w, h * 0.69, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon18;',
w * 0.82, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon19;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon20;',
w * 0.89, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon21;',
w * 0.99, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon22;',
w * 0.93, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon23;',
w * 0.87, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon24;',
w, h * 0.62, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon25;',
w, h * 0.81, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon26;',
w, h * 0.71, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon27;',
w, h * 0.99, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon28;',
w * 0.94, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon29;',
w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon30;',
w, h * 0.97, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' '))
]);
};
Sidebar.prototype.addCiscoSafeCapabilityPalette = function()
{
var ptss = 'points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];';
var n2 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;strokeColor=#ffffff;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;align=center;' +
ptss + 'pointerEvents=1;' + mxConstants.STYLE_SHAPE + "=mxgraph.cisco_safe.";
var n3 = 'fillColor=#6ABD46;' + n2;
var n4 = 'fillColor=#999999;' + n2;
var n2 = 'fillColor=#28A8E0;' + n2;
var gn = 'mxgraph.cisco_safe.capability';
var dt = 'cisco safe capability';
var w = 43;
this.addPaletteFunctions('cisco_safeCapability', 'Cisco Safe / Capability', false,
[
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.access_control_using_trustsec;',
w, w, '', 'Access Control Using TrustSec', null, null, this.getTagsForStencil(gn, 'access control using trustsec', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.analysis_correlation;',
w, w, '', 'Analysis Correlation', null, null, this.getTagsForStencil(gn, 'analysis correlation', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.anomaly_detection;',
w, w, '', 'Anomaly Detection', null, null, this.getTagsForStencil(gn, 'anomaly detection', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.anti_malware;',
w, w, '', 'Anti-Malware', null, null, this.getTagsForStencil(gn, 'anti malware', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.anti_spam;',
w, w, '', 'Anti-Spam', null, null, this.getTagsForStencil(gn, 'anti spam', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.anti_virus;',
w, w, '', 'Anti-Virus', null, null, this.getTagsForStencil(gn, 'anti virus', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.application;',
w, w, '', 'Application', null, null, this.getTagsForStencil(gn, 'application', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.application_visibility_control;',
w, w, '', 'Application Visibility Control', null, null, this.getTagsForStencil(gn, 'application visibility control', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.casb;',
w, w, '', 'CASB', null, null, this.getTagsForStencil(gn, 'casb', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.client_based_security;',
w, w, '', 'Client-Based Security', null, null, this.getTagsForStencil(gn, 'client based security', dt).join(' ')),
this.createVertexTemplateEntry(n3 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.block;',
w, w, '', 'Block', null, null, this.getTagsForStencil(gn, 'block', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.cloud_web_security;',
w, w, '', 'Cloud Web Security', null, null, this.getTagsForStencil(gn, 'cloud web security', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.conference_bridge;',
w, w, '', 'Conference Bridge', null, null, this.getTagsForStencil(gn, 'conference bridge', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.database;',
w, w, '', 'Database', null, null, this.getTagsForStencil(gn, 'database', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.data_loss_prevention;',
w, w, '', 'Data Loss Prevention', null, null, this.getTagsForStencil(gn, 'data loss prevention', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.device_profiling;',
w, w, '', 'Device Profiling', null, null, this.getTagsForStencil(gn, 'device profiling', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.device_trajectory;',
w, w, '', 'Device Trajectory', null, null, this.getTagsForStencil(gn, 'device trajectory', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.disk_encryption;',
w, w, '', 'Disk Encryption', null, null, this.getTagsForStencil(gn, 'disk encryption', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.distributed_denial_of_service_protection;',
w, w, '', 'Distributed Denial of Service Protection', null, null, this.getTagsForStencil(gn, 'distributed denial of service protection', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.dns;',
w, w, '', 'DNS', null, null, this.getTagsForStencil(gn, 'dns', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.dns_security;',
w, w, '', 'DNS Security', null, null, this.getTagsForStencil(gn, 'dns security', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.email_encryption;',
w, w, '', 'Email Encryption', null, null, this.getTagsForStencil(gn, 'email encryption', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.email_security;',
w, w, '', 'Email Security', null, null, this.getTagsForStencil(gn, 'email security', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.file_trajectory;',
w, w, '', 'File Trajectory', null, null, this.getTagsForStencil(gn, 'file trajectory', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.fabric_switching;',
w, w, '', 'Fabric Switching', null, null, this.getTagsForStencil(gn, 'fabric switching', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.firewall;',
w, w, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.flow_analytics;',
w, w, '', 'Flow Analytics', null, null, this.getTagsForStencil(gn, 'flow analytics', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.identity_authorization;',
w, w, '', 'Identity Authorization', null, null, this.getTagsForStencil(gn, 'identity authorization', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.identity_authorization_alt;',
w, w, '', 'Identity Authorization (alternative)', null, null, this.getTagsForStencil(gn, 'identity authorization alt alternative', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.intrusion_detection;',
w, w, '', 'Intrusion Detection', null, null, this.getTagsForStencil(gn, 'intrusion detection', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.intrusion_prevention;',
w, w, '', 'Intrusion Prevention', null, null, this.getTagsForStencil(gn, 'intrusion prevention', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_l3_network;',
w, w, '', 'L2 L3 Network', null, null, this.getTagsForStencil(gn, 'l2 l3 network', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_l3_network_virtual;',
w, w, '', 'L2 L3 Network (virtual)', null, null, this.getTagsForStencil(gn, 'l2 l3 network virtual', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_switching;',
w, w, '', 'L2 Switching', null, null, this.getTagsForStencil(gn, 'l2 switching', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l3_switching;',
w, w, '', 'L3 Switching', null, null, this.getTagsForStencil(gn, 'l3 switching', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.load_balancer;',
w, w, '', 'Load Balancer', null, null, this.getTagsForStencil(gn, 'load balancer', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.logging_reporting;',
w, w, '', 'Logging Reporting', null, null, this.getTagsForStencil(gn, 'logging reporting', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.malware_sandbox;',
w, w, '', 'Malware Sandbox', null, null, this.getTagsForStencil(gn, 'malware sandbox', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.micro_segmentation;',
w, w, '', 'Micro-Segmentation', null, null, this.getTagsForStencil(gn, 'micro segmentation', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.mobile_device_manager;',
w, w, '', 'Mobile Device Manager', null, null, this.getTagsForStencil(gn, 'mobile device manager', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.multi_factor_identification;',
w, w, '', 'Multi-Factor Identification', null, null, this.getTagsForStencil(gn, 'multi factor identification', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.monitoring;',
w, w, '', 'Monitoring', null, null, this.getTagsForStencil(gn, 'monitoring', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.policy_configuration;',
w, w, '', 'Policy Configuration', null, null, this.getTagsForStencil(gn, 'policy configuration', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.posture_assessment;',
w, w, '', 'Posture Assessment', null, null, this.getTagsForStencil(gn, 'posture assessment', dt).join(' ')),
this.createVertexTemplateEntry(n3 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.quarantine;',
w, w, '', 'Quarantine', null, null, this.getTagsForStencil(gn, 'quarantine', dt).join(' ')),
this.createVertexTemplateEntry(n3 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.remediate;',
w, w, '', 'Remediate', null, null, this.getTagsForStencil(gn, 'remediate', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.routing;',
w, w, '', 'Routing', null, null, this.getTagsForStencil(gn, 'routing', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.server_based_security;',
w, w, '', 'Server Based Security', null, null, this.getTagsForStencil(gn, 'server based security', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.tagging;',
w, w, '', 'Tagging', null, null, this.getTagsForStencil(gn, 'tagging', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.ssl_tls_offload;',
w, w, '', 'SSL TLS Offload', null, null, this.getTagsForStencil(gn, 'ssl tls offload', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.storage;',
w, w, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.threat_intelligence;',
w, w, '', 'Threat Intelligence', null, null, this.getTagsForStencil(gn, 'threat intelligence', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.time_synchronization;',
w, w, '', 'Time Synchronization', null, null, this.getTagsForStencil(gn, 'time synchronization', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.user;',
w, w, '', 'User', null, null, this.getTagsForStencil(gn, 'user', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.video;',
w, w, '', 'Video', null, null, this.getTagsForStencil(gn, 'video', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.virtualized_capability;',
w, w, '', 'Virtualized Capability', null, null, this.getTagsForStencil(gn, 'virtualized capability', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.virtual_firewall;',
w, w, '', 'Virtual Firewall', null, null, this.getTagsForStencil(gn, 'virtual firewall', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.virtual_l2_switching;',
w, w, '', 'Virtual L2 Switching', null, null, this.getTagsForStencil(gn, 'virtual l2 switching', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.virtual_private_network;',
w, w, '', 'Virtual Private Network', null, null, this.getTagsForStencil(gn, 'virtual private network vpn', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.voice;',
w, w, '', 'Voice', null, null, this.getTagsForStencil(gn, 'voice', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.vpn_concentrator;',
w, w, '', 'VPN Concentrator', null, null, this.getTagsForStencil(gn, 'vpn concentrator virtual private network', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.vulnerability_management;',
w, w, '', 'Vulnerability Management', null, null, this.getTagsForStencil(gn, 'vulnerability management', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.web_application_firewall;',
w, w, '', 'Web Application Firewall', null, null, this.getTagsForStencil(gn, 'web application firewall', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.web_reputation_filtering_dcs;',
w, w, '', 'Web Reputation Filtering DCS', null, null, this.getTagsForStencil(gn, 'web reputation filtering dcs', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.web_security;',
w, w, '', 'Web Security', null, null, this.getTagsForStencil(gn, 'web security', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_connection;',
w, w, '', 'Wireless Connection', null, null, this.getTagsForStencil(gn, 'wireless connection', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_intrusion_detection_system;',
w, w, '', 'Wireless Intrusion Detection System', null, null, this.getTagsForStencil(gn, 'wireless intrusion detection system', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_intrusion_prevention_system;',
w, w, '', 'Wireless Intrusion Prevention System', null, null, this.getTagsForStencil(gn, 'wireless intrusion prevention system', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_rogue_detection;',
w, w, '', 'Wireless Rogue Detection', null, null, this.getTagsForStencil(gn, 'wireless rogue detection', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.routing;',
w, w, '', 'Routing', null, null, this.getTagsForStencil(gn, 'routing', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_switching;',
w, w, '', 'L2 Switching', null, null, this.getTagsForStencil(gn, 'l2 switching', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l3_switching;',
w, w, '', 'L3 Switching', null, null, this.getTagsForStencil(gn, 'l3 switching', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.fabric_switching;',
w, w, '', 'Fabric Switching', null, null, this.getTagsForStencil(gn, 'fabric switching', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_l3_network;',
w, w, '', 'L2 L3 Network', null, null, this.getTagsForStencil(gn, 'l2 l3 network', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_connection;',
w, w, '', 'Wireless Connection', null, null, this.getTagsForStencil(gn, 'wireless connection', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.application_optimization;',
w, w, '', 'Application Optimization', null, null, this.getTagsForStencil(gn, 'application optimization', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.quality_of_service;',
w, w, '', 'Quality of Service', null, null, this.getTagsForStencil(gn, 'quality of service', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.path_control;',
w, w, '', 'Path Control', null, null, this.getTagsForStencil(gn, 'path control', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.database;',
w, w, '', 'Database', null, null, this.getTagsForStencil(gn, 'database', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.storage;',
w, w, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.secure_server;',
w, w, '', 'Secure Server', null, null, this.getTagsForStencil(gn, 'secure server', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.voice;',
w, w, '', 'Voice', null, null, this.getTagsForStencil(gn, 'voice', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.video;',
w, w, '', 'Video', null, null, this.getTagsForStencil(gn, 'video', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.load_balancer;',
w, w, '', 'Load Balancer', null, null, this.getTagsForStencil(gn, 'load balancer', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.host_context;',
w, w, '', 'Host Context', null, null, this.getTagsForStencil(gn, 'host context', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.application;',
w, w, '', 'Business Application', null, null, this.getTagsForStencil(gn, 'business application', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.infrastructure_redundancy;',
w, w, '', 'Infrastructure Redundancy', null, null, this.getTagsForStencil(gn, 'infrastructure redundancy', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.standardized_system_images;',
w, w, '', 'Standardized System Images', null, null, this.getTagsForStencil(gn, 'standardized_system_images', dt).join(' '))
]);
};
Sidebar.prototype.addCiscoSafeDesignPalette = function()
{
var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#A153A0;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;' +
'points=[[0,0.5,0],[0.125,0.25,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[0.875,0.25,0],[1,0.5,0],[0.875,0.75,0],[0.75,1,0],[0.5,1,0],[0.125,0.75,0]];shape=mxgraph.cisco_safe.design.';
var s2 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#A153A0;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;align=center;pointerEvents=1;shape=mxgraph.cisco_safe.design.';
var n = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#A153A0;strokeColor=#ffffff;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;align=center;' +
'points=[[0,0.5,0],[0.125,0.25,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[0.875,0.25,0],[1,0.5,0],[0.875,0.75,0],[0.75,1,0],[0.5,1,0],[0.125,0.75,0]];pointerEvents=1;' + mxConstants.STYLE_SHAPE + "=mxgraph.cisco_safe.";
var gn = 'mxgraph.cisco_safe.design';
var dt = 'cisco safe design';
var w = 50;
this.addPaletteFunctions('cisco_safeDesign', 'Cisco Safe / Design', false,
[
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.access_point;',
w, w * 0.9, '', 'Access Point', null, null, this.getTagsForStencil(gn, 'access point', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.access_switch_2;',
w, w * 0.9, '', 'Access Switch', null, null, this.getTagsForStencil(gn, 'access switch', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.aci_controller;',
w, w * 0.9, '', 'ACI Controller', null, null, this.getTagsForStencil(gn, 'aci controller', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.aci_controller_2;',
w, w * 0.9, '', 'ACI Controller', null, null, this.getTagsForStencil(gn, 'aci controller', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.aci_leaf_switch;',
w, w * 0.9, '', 'ACI Leaf Switch', null, null, this.getTagsForStencil(gn, 'aci leaf switch', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.aci_spine_switch;',
w, w * 0.9, '', 'ACI Spine Switch', null, null, this.getTagsForStencil(gn, 'aci spine switch', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'actor_1;',
w * 0.47, w, '', 'Actor (female)', null, null, this.getTagsForStencil(gn, 'actor female', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'actor_2;',
w * 0.38, w, '', 'Actor (male)', null, null, this.getTagsForStencil(gn, 'actuator', dt).join(' ')),
this.createVertexTemplateEntry(s2 + 'actuator;',
w, w * 0.9, '', 'Actuator', null, null, this.getTagsForStencil(gn, 'actuator', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.adaptive_security_appliance;',
w, w * 0.9, '', 'Adaptive Security Appliance', null, null, this.getTagsForStencil(gn, 'adaptive security appliance', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.adaptive_security_appliance_2;',
w, w * 0.9, '', 'Adaptive Security Appliance', null, null, this.getTagsForStencil(gn, 'adaptive security appliance', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.automated_system;',
w, w * 0.9, '', 'Automated System', null, null, this.getTagsForStencil(gn, 'automated system', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.blade_server;',
w, w * 0.9, '', 'Blade Server', null, null, this.getTagsForStencil(gn, 'blade server', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.blade_server_2;',
w, w * 0.9, '', 'Blade Server', null, null, this.getTagsForStencil(gn, 'blade server', dt).join(' ')),
this.createVertexTemplateEntry(s + 'blank_device;',
w, w * 0.9, '', 'Blank Device', null, null, this.getTagsForStencil(gn, 'blank device', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.blank_service;',
w, w * 0.9, '', 'Blank Service', null, null, this.getTagsForStencil(gn, 'blank service', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.call_manager;',
w, w * 0.9, '', 'Call Manager', null, null, this.getTagsForStencil(gn, 'call manager', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.catalyst_data_center_switch;',
w, w * 0.9, '', 'Catalyst Data Center Switch', null, null, this.getTagsForStencil(gn, 'catalyst data center switch', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.catalyst_switch_stack;',
w, w * 0.9, '', 'Catalyst Switch Stack', null, null, this.getTagsForStencil(gn, 'catalyst switch stack', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.cisco_amp;',
w, w * 0.9, '', 'Cisco Amp', null, null, this.getTagsForStencil(gn, 'cisco amp amplifier', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.cisco_anyconnect;',
w, w * 0.9, '', 'Cisco AnyConnect', null, null, this.getTagsForStencil(gn, 'cisco anyconnect', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.cisco_cloud_web_security;',
w, w * 0.9, '', 'Cisco Cloud Web Security', null, null, this.getTagsForStencil(gn, 'cisco cloud web security', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.client_firewall;',
w, w * 0.9, '', 'Client Firewall', null, null, this.getTagsForStencil(gn, 'client firewall', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.l3_switch;',
w, w * 0.9, '', 'Core Switch', null, null, this.getTagsForStencil(gn, 'core switch', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.corporate_device;',
w, w * 0.9, '', 'Corporate Device', null, null, this.getTagsForStencil(gn, 'corporate device', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.corporate_device;',
w, w * 0.9, '', 'Corporate Wireless Device', null, null, this.getTagsForStencil(gn, 'corporate device_2', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.ddos_protection;',
w, w * 0.9, '', 'DDOS Protection', null, null, this.getTagsForStencil(gn, 'ddos protection', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.ddos_protection_2;',
w, w * 0.9, '', 'DDOS Protection', null, null, this.getTagsForStencil(gn, 'ddos protection', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.distribution_switch;',
w, w * 0.9, '', 'Distribution Switch', null, null, this.getTagsForStencil(gn, 'distribution switch', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.email_security;',
w, w * 0.9, '', 'Email Security', null, null, this.getTagsForStencil(gn, 'email security', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.encryption_offload;',
w, w * 0.9, '', 'Encryption Offload', null, null, this.getTagsForStencil(gn, 'encryption offload', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.endpoint_concentrator;',
w, w * 0.9, '', 'Endpoint Concentrator', null, null, this.getTagsForStencil(gn, 'endpoint concentrator', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.endpoint_concentrator_2;',
w, w * 0.9, '', 'Endpoint Concentrator', null, null, this.getTagsForStencil(gn, 'endpoint concentrator', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.fabric_switch;',
w, w * 0.9, '', 'Fabric Switch', null, null, this.getTagsForStencil(gn, 'fabric switch', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.firepower_appliance;',
w, w * 0.9, '', 'Firepower Appliance', null, null, this.getTagsForStencil(gn, 'firepower appliance', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.firepower_appliance_2;',
w, w * 0.9, '', 'Firepower Appliance', null, null, this.getTagsForStencil(gn, 'firepower appliance', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.firepower_management_center;',
w, w * 0.9, '', 'Firepower Management Center', null, null, this.getTagsForStencil(gn, 'firepower management center', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.firepower_management_center_2;',
w, w * 0.9, '', 'Firepower Management Center', null, null, this.getTagsForStencil(gn, 'firepower management center', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.firewall;',
w, w * 0.9, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.firewall_2;',
w, w * 0.9, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.flow_collector;',
w, w * 0.9, '', 'Flow Collector', null, null, this.getTagsForStencil(gn, 'flow collector', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.flow_collector_2;',
w, w * 0.9, '', 'Flow Collector', null, null, this.getTagsForStencil(gn, 'flow collector', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.flow_sensor;',
w, w * 0.9, '', 'Flow Sensor', null, null, this.getTagsForStencil(gn, 'flow sensor', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.flow_sensor_2;',
w, w * 0.9, '', 'Flow Sensor', null, null, this.getTagsForStencil(gn, 'flow sensor', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.intrusion_detection;',
w, w * 0.9, '', 'Intrusion Prevention', null, null, this.getTagsForStencil(gn, 'intrusion detection', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.intrusion_prevention_2;',
w, w * 0.9, '', 'Intrusion Prevention', null, null, this.getTagsForStencil(gn, 'intrusion detection', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.identity_directory;',
w, w * 0.9, '', 'Identity Directory', null, null, this.getTagsForStencil(gn, 'identity directory', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.l2_switch;',
w, w * 0.9, '', 'L2 Switch', null, null, this.getTagsForStencil(gn, 'l2 switch', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.l3_switch;',
w, w * 0.9, '', 'L3 Switch', null, null, this.getTagsForStencil(gn, 'l3 switch', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.load_balancer;',
w, w * 0.9, '', 'Load Balancer', null, null, this.getTagsForStencil(gn, 'load balancer', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.load_balancer_2;',
w, w * 0.9, '', 'Load Balancer', null, null, this.getTagsForStencil(gn, 'load balancer', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.log_collector;',
w, w * 0.9, '', 'Log collector', null, null, this.getTagsForStencil(gn, 'log collector', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.log_collector_2;',
w, w * 0.9, '', 'Log collector', null, null, this.getTagsForStencil(gn, 'log collector', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.mgmt_console;',
w, w * 0.9, '', 'Management Console', null, null, this.getTagsForStencil(gn, 'management console', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.mgmt_console_2;',
w, w * 0.9, '', 'Management Console', null, null, this.getTagsForStencil(gn, 'management console', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.mdm;',
w, w * 0.9, '', 'MDM', null, null, this.getTagsForStencil(gn, 'mdm', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.mdm_2;',
w, w * 0.9, '', 'MDM', null, null, this.getTagsForStencil(gn, 'mdm', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.mobile_device;',
w, w * 0.9, '', 'Mobile Device', null, null, this.getTagsForStencil(gn, 'mobile device', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.monitoring;',
w, w * 0.9, '', 'Monitoring', null, null, this.getTagsForStencil(gn, 'monitoring', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.monitoring_2;',
w, w * 0.9, '', 'Monitoring', null, null, this.getTagsForStencil(gn, 'monitoring', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.ms_active_directory;',
w, w * 0.9, '', 'MS Active Directory', null, null, this.getTagsForStencil(gn, 'ms active directory', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.ms_active_directory_2;',
w, w * 0.9, '', 'MS Active Directory', null, null, this.getTagsForStencil(gn, 'ms active directory', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.nexus_1kv;',
w, w * 0.9, '', 'Nexus 1kv', null, null, this.getTagsForStencil(gn, 'nexus 1kv', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.nexus_data_center_switch;',
w, w * 0.9, '', 'Nexus Data Center Switch', null, null, this.getTagsForStencil(gn, 'nexus data center switch', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.nexus_fabric_switch;',
w, w * 0.9, '', 'Nexus Fabric Switch', null, null, this.getTagsForStencil(gn, 'nexus fabric switch', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.nexus_switch;',
w, w * 0.9, '', 'Nexus Switch', null, null, this.getTagsForStencil(gn, 'nexus switch', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.ntp;',
w, w * 0.9, '', 'NTP', null, null, this.getTagsForStencil(gn, 'ntp', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.ntp_2;',
w, w * 0.9, '', 'NTP', null, null, this.getTagsForStencil(gn, 'ntp', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.phone;',
w, w * 0.9, '', 'Phone', null, null, this.getTagsForStencil(gn, 'phone', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.policy;',
w, w * 0.9, '', 'Policy', null, null, this.getTagsForStencil(gn, 'policy', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.policy_2;',
w, w * 0.9, '', 'Policy', null, null, this.getTagsForStencil(gn, 'policy', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.radware;',
w, w * 0.9, '', 'Radware Appliance', null, null, this.getTagsForStencil(gn, 'radware', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.radware_2;',
w, w * 0.9, '', 'Radware Appliance', null, null, this.getTagsForStencil(gn, 'radware', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.router;',
w, w * 0.9, '', 'Router', null, null, this.getTagsForStencil(gn, 'router', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.router_2;',
w, w * 0.9, '', 'Router', null, null, this.getTagsForStencil(gn, 'router', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.sd_wan;',
w, w * 0.9, '', 'SD-WAN', null, null, this.getTagsForStencil(gn, 'sd wan', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.sd_wan_2;',
w, w * 0.9, '', 'SD-WAN', null, null, this.getTagsForStencil(gn, 'sd wan', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.secure_dns;',
w, w * 0.9, '', 'Secure DNS', null, null, this.getTagsForStencil(gn, 'secure dns', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.secure_dns_2;',
w, w * 0.9, '', 'Secure DNS', null, null, this.getTagsForStencil(gn, 'secure dns', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.sensor;',
w, w * 0.9, '', 'Sensor', null, null, this.getTagsForStencil(gn, 'sensor', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.server_1;',
w, w * 0.9, '', 'Server', null, null, this.getTagsForStencil(gn, 'server', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.server_3;',
w, w * 0.9, '', 'Server', null, null, this.getTagsForStencil(gn, 'server', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.server_2;',
w, w * 0.9, '', 'Server', null, null, this.getTagsForStencil(gn, 'server', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.server_4;',
w, w * 0.9, '', 'Server', null, null, this.getTagsForStencil(gn, 'server', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.siem;',
w, w * 0.9, '', 'SIEM', null, null, this.getTagsForStencil(gn, 'siem', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.siem_2;',
w, w * 0.9, '', 'SIEM', null, null, this.getTagsForStencil(gn, 'siem', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.storage_1;',
w, w * 0.9, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.storage;',
w, w * 0.9, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.switch_stack;',
w, w * 0.9, '', 'Switch Stack', null, null, this.getTagsForStencil(gn, 'switch stack', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.tetration_agent;',
w, w * 0.9, '', 'Tetration Agent', null, null, this.getTagsForStencil(gn, 'tetration agent', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.tls_appliance;',
w, w * 0.9, '', 'TLS Appliance', null, null, this.getTagsForStencil(gn, 'tls appliance', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.encryption_offload;',
w, w * 0.9, '', 'TLS Appliance', null, null, this.getTagsForStencil(gn, 'tls appliance', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.udp_director;',
w, w * 0.9, '', 'UDP Director', null, null, this.getTagsForStencil(gn, 'udp director', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.udp_director_2;',
w, w * 0.9, '', 'UDP Director', null, null, this.getTagsForStencil(gn, 'udp director', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.user;',
w, w, '', 'User', null, null, this.getTagsForStencil(gn, 'user', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.users;',
w, w, '', 'Users', null, null, this.getTagsForStencil(gn, 'users', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.video_endpoint;',
w, w, '', 'Video Endpoint', null, null, this.getTagsForStencil(gn, 'video endpoint', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.virtual_secure_server;',
w, w * 0.9, '', 'Virtual Secure Server', null, null, this.getTagsForStencil(gn, 'virtual secure server', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vload_balancer;',
w, w * 0.9, '', 'vLoad Balancer', null, null, this.getTagsForStencil(gn, 'vload balancer', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vpn_concentrator;',
w, w * 0.9, '', 'VPN Concentrator', null, null, this.getTagsForStencil(gn, 'vpn concentrator', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vpn_concentrator_2;',
w, w * 0.9, '', 'VPN Concentrator', null, null, this.getTagsForStencil(gn, 'vpn concentrator', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vulnerability_management;',
w, w * 0.9, '', 'Vulnerability Management', null, null, this.getTagsForStencil(gn, 'vulnerability management', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vulnerability_management_2;',
w, w * 0.9, '', 'Vulnerability Management', null, null, this.getTagsForStencil(gn, 'vulnerability management', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vwaf_security;',
w, w * 0.9, '', 'vWAF Security', null, null, this.getTagsForStencil(gn, 'vwaf security', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vweb_security;',
w, w * 0.9, '', 'vWeb Security', null, null, this.getTagsForStencil(gn, 'vweb security', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vwlan_controller;',
w, w * 0.9, '', 'vWLAN Controller', null, null, this.getTagsForStencil(gn, 'vwlan controller', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.web_application_firewall;',
w, w * 0.9, '', 'Web Application Firewall', null, null, this.getTagsForStencil(gn, 'web application firewall', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.web_application_firewall_2;',
w, w * 0.9, '', 'Web Application Firewall', null, null, this.getTagsForStencil(gn, 'web application firewall', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.web_filtering;',
w, w * 0.9, '', 'Web Filtering', null, null, this.getTagsForStencil(gn, 'web filtering', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.web_filtering_2;',
w, w * 0.9, '', 'Web Filtering', null, null, this.getTagsForStencil(gn, 'web filtering', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.web_security;',
w, w * 0.9, '', 'Web Security', null, null, this.getTagsForStencil(gn, 'web security', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.wide_area_application_engine;',
w, w * 0.9, '', 'Wide Area Application Engine', null, null, this.getTagsForStencil(gn, 'wide area application engine', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.wide_area_application_engine_2;',
w, w * 0.9, '', 'Wide Area Application Engine', null, null, this.getTagsForStencil(gn, 'wide area application engine', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.wireless_corporate_device;',
w, w * 0.9, '', 'Wireless Corporate Device', null, null, this.getTagsForStencil(gn, 'wireless corporate device', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.wireless_switch;',
w, w * 0.9, '', 'Wireless Switch', null, null, this.getTagsForStencil(gn, 'wireless switch', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.wlan_controller;',
w, w * 0.9, '', 'Wireless LAN Controller', null, null, this.getTagsForStencil(gn, 'wlan wireless lan controller', dt).join(' ')),
this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vwlan_controller;',
w, w * 0.9, '', 'Wireless LAN Controller', null, null, this.getTagsForStencil(gn, 'wlan wireless lan controller', dt).join(' '))
]);
};
Sidebar.prototype.addCiscoSafeIoTThingsIconsPalette = function()
{
var w = 50;
var h = 50;
var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#282828;strokeColor=none;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.iot_things_icons.';
var gn = 'mxgraph.cisco_safe.iot_things_icons';
var dt = 'cisco safe iot things icons internet';
var sc = 1;
var w2 = sc * 50;
this.addPaletteFunctions('cisco_safeIoT Things Icons', 'Cisco Safe / IoT Things Icons', false,
[
this.createVertexTemplateEntry(s + 'icon1;',
w * 0.97, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon2;',
w, h * 0.96, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon3;',
w, h * 0.48, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon4;',
w, h * 0.78, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon5;',
w * 0.58, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon6;',
w, h * 0.99, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon7;',
w * 0.82, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon8;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon9;',
w, h * 0.77, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon10;',
w * 0.5, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon11;',
w, h * 0.97, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon12;',
w, h * 0.65, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon13;',
w, h * 0.56, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon14;',
w * 0.37, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon15;',
w, h * 0.65, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon16;',
w, h * 0.92, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon17;',
w * 0.7, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon18;',
w, h * 0.75, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon19;',
w, h * 0.77, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon20;',
w * 0.91, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon21;',
w, h * 0.97, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon22;',
w, h * 0.73, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon23;',
w, h * 0.9, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon24;',
w, h * 0.87, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon25;',
w, h * 0.22, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon26;',
w, h * 0.63, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon27;',
w, h * 0.5, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon28;',
w, h * 0.74, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon29;',
w, h * 0.74, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon30;',
w, h * 0.71, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon31;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon32;',
w, h * 0.56, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon33;',
w, h * 0.78, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon34;',
w, h * 0.7, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon35;',
w, h * 0.62, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon36;',
w * 0.53, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon37;',
w * 0.79, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon38;',
w, h * 0.91, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon39;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon40;',
w, h * 0.89, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon41;',
w * 0.58, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon42;',
w * 0.58, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon43;',
w * 0.96, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon44;',
w * 0.99, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon45;',
w, h * 0.99, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon46;',
w, h * 0.83, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon47;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon48;',
w * 0.43, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' '))
]);
};
Sidebar.prototype.addCiscoSafePeoplePlacesThingsIconsPalette = function()
{
var w = 50;
var h = 50;
var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#282828;strokeColor=none;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.people_places_things_icons.';
var gn = 'mxgraph.cisco_safe.people_places_things_icons';
var dt = 'cisco safe people places things';
var sc = 1;
var w2 = sc * 50;
this.addPaletteFunctions('cisco_safePeople Places Things Icons', 'Cisco Safe / People, Places, Things Icons', false,
[
this.createVertexTemplateEntry(s + 'icon1;',
w * 0.93, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon2;',
w, h * 0.82, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon3;',
w, h * 0.97, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon4;',
w * 0.89, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon5;',
w * 0.81, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon6;',
w, h * 0.87, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon7;',
w * 0.98, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon8;',
w * 0.39, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon9;',
w, h * 0.9, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon10;',
w, h * 0.99, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon11;',
w * 0.95, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' '))
]);
};
Sidebar.prototype.addCiscoSafeSecurityIconsPalette = function()
{
var w = 50;
var h = 50;
var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#282828;strokeColor=none;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.security_icons.';
var gn = 'mxgraph.cisco_safe.security_icons';
var dt = 'cisco safe security';
var sc = 1;
var w2 = sc * 50;
this.addPaletteFunctions('cisco_safeSecurity Icons', 'Cisco Safe / Security Icons', false,
[
this.createVertexTemplateEntry(s + 'ngips;',
w * 0.71, h * 0.85, '', 'NGIPS', null, null, this.getTagsForStencil(gn, 'ngips', dt).join(' ')),
this.createVertexTemplateEntry(s + 'ngfw;',
w * 1.05, h * 0.92, '', 'NGFW', null, null, this.getTagsForStencil(gn, 'ngfw', dt).join(' ')),
this.createVertexTemplateEntry(s + 'ise;',
w * 0.49, h * 0.69, '', 'ISE', null, null, this.getTagsForStencil(gn, 'ise', dt).join(' ')),
this.createVertexTemplateEntry(s + 'ids;',
w * 0.92, h * 0.71, '', 'IDS', null, null, this.getTagsForStencil(gn, 'ids', dt).join(' ')),
this.createVertexTemplateEntry(s + 'nba;',
w * 0.89, h * 0.67, '', 'NBA', null, null, this.getTagsForStencil(gn, 'nba', dt).join(' ')),
this.createVertexTemplateEntry(s + 'nac;',
w, h, '', 'NAC', null, null, this.getTagsForStencil(gn, 'nac', dt).join(' ')),
this.createVertexTemplateEntry(s + 'iam;',
w * 0.75, h * 0.94, '', 'IAM', null, null, this.getTagsForStencil(gn, 'iam', dt).join(' ')),
this.createVertexTemplateEntry(s + 'amp;',
w, h, '', 'AMP', null, null, this.getTagsForStencil(gn, 'amp', dt).join(' ')),
this.createVertexTemplateEntry(s + 'utm;',
w * 1.04, h * 0.23, '', 'UTM', null, null, this.getTagsForStencil(gn, 'utm', dt).join(' ')),
this.createVertexTemplateEntry(s + 'firewall;',
w * 0.99, h * 0.7, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
this.createVertexTemplateEntry(s + 'vulnerability_management;',
w, h, '', 'Vulnerability Management', null, null, this.getTagsForStencil(gn, 'vulnerability management', dt).join(' ')),
this.createVertexTemplateEntry(s + 'log_management;',
w * 0.6, h * 0.75, '', 'Log Management', null, null, this.getTagsForStencil(gn, 'log management', dt).join(' ')),
this.createVertexTemplateEntry(s + 'application_control;',
w, h, '', 'Application Control', null, null, this.getTagsForStencil(gn, 'application control', dt).join(' ')),
this.createVertexTemplateEntry(s + 'virtual;',
w, h, '', 'Virtual', null, null, this.getTagsForStencil(gn, 'virtual', dt).join(' ')),
this.createVertexTemplateEntry(s + 'siem;',
w, h * 0.81, '', 'SIEM', null, null, this.getTagsForStencil(gn, 'siem', dt).join(' ')),
this.createVertexTemplateEntry(s + 'antivirus;',
w, h * 0.65, '', 'Antivirus', null, null, this.getTagsForStencil(gn, 'antivirus', dt).join(' ')),
this.createVertexTemplateEntry(s + 'patch_management;',
w, h * 0.78, '', 'Patch Management', null, null, this.getTagsForStencil(gn, 'patch management', dt).join(' ')),
this.createVertexTemplateEntry(s + 'inspection_forensics;',
w, h * 0.77, '', 'Inspection / Forensics', null, null, this.getTagsForStencil(gn, 'inspection forensics', dt).join(' ')),
this.createVertexTemplateEntry(s + 'malware_sandbox;',
w, h * 0.62, '', 'Malware Sandbox', null, null, this.getTagsForStencil(gn, 'malware sandbox', dt).join(' ')),
this.createVertexTemplateEntry(s + 'ddos;',
w, h, '', 'DDoS', null, null, this.getTagsForStencil(gn, 'ddos', dt).join(' ')),
this.createVertexTemplateEntry(s + 'talos;',
w * 1.86, h * 0.43, '', 'Talos', null, null, this.getTagsForStencil(gn, 'talos', dt).join(' ')),
this.createVertexTemplateEntry(s + 'services;',
w, h * 0.92, '', 'Services', null, null, this.getTagsForStencil(gn, 'services', dt).join(' ')),
this.createVertexTemplateEntry(s + 'vpn;',
w * 0.86, h, '', 'VPN', null, null, this.getTagsForStencil(gn, 'vpn', dt).join(' ')),
this.createVertexTemplateEntry(s + 'email;',
w, h * 0.71, '', 'Email', null, null, this.getTagsForStencil(gn, 'email', dt).join(' ')),
this.createVertexTemplateEntry(s + 'web;',
w, h, '', 'Web', null, null, this.getTagsForStencil(gn, 'web', dt).join(' ')),
this.createVertexTemplateEntry(s + 'virtual_deployment;',
w, h * 0.89, '', 'Virtual Deployment', null, null, this.getTagsForStencil(gn, 'virtual deployment', dt).join(' ')),
this.createVertexTemplateEntry(s + 'cloud_based;',
w, h * 0.63, '', 'Cloud Based', null, null, this.getTagsForStencil(gn, 'cloud based', dt).join(' ')),
this.createVertexTemplateEntry(s + 'cloud_based_management;',
w, h * 0.78, '', 'Cloud Based Management', null, null, this.getTagsForStencil(gn, 'cloud based management', dt).join(' ')),
this.createVertexTemplateEntry(s + 'trustsec;',
w * 0.83, h, '', 'Trustsec', null, null, this.getTagsForStencil(gn, 'trustsec', dt).join(' ')),
this.createVertexTemplateEntry(s + 'retrospective_security;',
w, h * 0.96, '', 'Retrospective Security', null, null, this.getTagsForStencil(gn, 'retrospective security', dt).join(' ')),
this.createVertexTemplateEntry(s + 'apic;',
w, h * 0.81, '', 'APIC', null, null, this.getTagsForStencil(gn, 'apic', dt).join(' ')),
this.createVertexTemplateEntry(s + 'waf;',
w * 0.8, h, '', 'WAF', null, null, this.getTagsForStencil(gn, 'waf', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon1;',
w * 0.95, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon2;',
w, h * 0.91, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon3;',
w * 0.78, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon4;',
w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon5;',
w * 0.82, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon6;',
w * 0.95, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon7;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon8;',
w * 0.85, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon9;',
w * 0.68, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon10;',
w, h * 0.62, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon11;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon12;',
w * 0.84, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon13;',
w, h * 0.91, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon14;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon15;',
w * 0.79, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon16;',
w, h * 0.47, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon17;',
w * 0.58, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon18;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon19;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon20;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon21;',
w * 0.87, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon22;',
w * 0.81, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon23;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon24;',
w * 0.89, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon25;',
w, h * 0.91, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon26;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon27;',
w, h * 0.7, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon28;',
w, h * 0.69, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon29;',
w * 0.92, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon30;',
w, h * 0.7, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon31;',
w, h * 0.86, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon32;',
w, h * 0.69, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon33;',
w * 0.99, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon34;',
w, h * 0.91, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon35;',
w, h * 0.57, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon36;',
w, h * 0.98, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon37;',
w * 0.81, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon38;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon39;',
w * 0.72, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon40;',
w, h * 0.66, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' '))
]);
};
Sidebar.prototype.addCiscoSafeTechnologyIconsPalette = function()
{
var w = 50;
var h = 50;
var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#282828;strokeColor=none;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.technology_icons.';
var gn = 'mxgraph.cisco_safe.technology_icons';
var dt = 'cisco safe technology';
var sc = 1;
var w2 = sc * 50;
this.addPaletteFunctions('cisco_safeTechnology Icons', 'Cisco Safe / Technology Icons', false,
[
this.createVertexTemplateEntry(s + 'icon1;',
w, h * 0.65, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon2;',
w * 0.58, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon3;',
w, h * 0.86, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon4;',
w, h * 0.99, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon5;',
w, h * 0.76, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon6;',
w * 0.58, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon7;',
w * 0.69, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon8;',
w * 0.91, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon9;',
w * 0.78, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon10;',
w, h * 0.82, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon11;',
w, h * 0.76, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon12;',
w * 0.79, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon13;',
w, h * 0.89, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon14;',
w, h * 0.77, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon15;',
w, h * 0.89, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon16;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon17;',
w, h * 0.85, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon18;',
w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon19;',
w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon20;',
w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon21;',
w * 0.86, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon22;',
w, h * 0.56, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon23;',
w, h * 0.47, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon24;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon25;',
w, h * 0.69, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon26;',
w, h * 0.81, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon27;',
w, h * 0.7, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon28;',
w, h * 0.43, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
this.createVertexTemplateEntry(s + 'icon29;',
w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' '))
]);
};
Sidebar.prototype.addCiscoSafeThreatPalette = function()
{
var w = 50;
var h = 50;
var n2 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#F06650;strokeColor=#ffffff;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;align=center;' +
'points=[];pointerEvents=1;' + mxConstants.STYLE_SHAPE + "=mxgraph.cisco_safe.";
var gn = 'mxgraph.cisco_safe.threat';
var dt = 'cisco safe threat ';
var sc = 1;
var w2 = sc * 50;
this.addPaletteFunctions('cisco_safeThreat', 'Cisco Safe / Threat', false,
[
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a1;',
w2 * 0.98, w2, '', 'Threat A1', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a2;',
w2 * 0.98, w2, '', 'Threat A2', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a3;',
w2 * 0.98, w2, '', 'Threat A3', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a4;',
w2 * 0.98, w2, '', 'Threat A4', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a5;',
w2 * 0.98, w2, '', 'Threat A5', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a6;',
w2 * 0.98, w2, '', 'Threat A6', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a7;',
w2 * 0.98, w2, '', 'Threat A7', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a8;',
w2 * 0.98, w2, '', 'Threat A8', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b1;',
w2 * 0.63, w2, '', 'Threat B1', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b2;',
w2 * 0.63, w2, '', 'Threat B2', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b3;',
w2 * 0.63, w2, '', 'Threat B3', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b4;',
w2 * 0.63, w2, '', 'Threat B4', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b5;',
w2 * 0.63, w2, '', 'Threat B5', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b6;',
w2 * 0.63, w2, '', 'Threat B6', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b7;',
w2 * 0.63, w2, '', 'Threat B7', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b8;',
w2 * 0.63, w2, '', 'Threat B8', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c1;',
w2, w2 * 0.81, '', 'Threat C1', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c2;',
w2, w2 * 0.81, '', 'Threat C2', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c3;',
w2, w2 * 0.81, '', 'Threat C3', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c4;',
w2, w2 * 0.81, '', 'Threat C4', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c5;',
w2, w2 * 0.81, '', 'Threat C5', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c6;',
w2, w2 * 0.81, '', 'Threat C6', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c7;',
w2, w2 * 0.81, '', 'Threat C7', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c8;',
w2, w2 * 0.81, '', 'Threat C8', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d1;',
w2 * 0.93, w2, '', 'Threat D1', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d2;',
w2 * 0.93, w2, '', 'Threat D2', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d3;',
w2 * 0.93, w2, '', 'Threat D3', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d4;',
w2 * 0.93, w2, '', 'Threat D4', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d5;',
w2 * 0.93, w2, '', 'Threat D5', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d6;',
w2 * 0.93, w2, '', 'Threat D6', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d7;',
w2 * 0.93, w2, '', 'Threat D7', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d8;',
w2 * 0.93, w2, '', 'Threat D8', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e1;',
w2, w2 * 0.94, '', 'Threat E1', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e2;',
w2, w2 * 0.94, '', 'Threat E2', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e3;',
w2, w2 * 0.94, '', 'Threat E3', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e4;',
w2, w2 * 0.94, '', 'Threat E4', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e5;',
w2, w2 * 0.94, '', 'Threat E5', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e6;',
w2, w2 * 0.94, '', 'Threat E6', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e7;',
w2, w2 * 0.94, '', 'Threat E7', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e8;',
w2, w2 * 0.94, '', 'Threat E8', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' '))
]);
};
})();