index.html
19.2 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
<!--[if IE]>
<meta http-equiv="X-UA-Compatible" content="IE=5"><![endif]-->
<!DOCTYPE html>
<html>
<head>
<!-- <title>Flowchart Maker & Online Diagram Software</title>-->
<title>云组态</title>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Description"
content="diagrams.net is free online diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams">
<meta name="Keywords" content="diagram, online, flow chart, flowchart maker, uml, erd">
<meta itemprop="name" content="diagrams.net - free flowchart maker and diagrams online">
<meta itemprop="description" content="diagrams.net is a free online diagramming application and flowchart maker . You can use it to create UML, entity relationship,
org charts, BPMN and BPM, database schema and networks. Also possible are telecommunication network, workflow, flowcharts, maps overlays and GIS, electronic
circuit and social network diagrams.">
<meta itemprop="image"
content="https://lh4.googleusercontent.com/-cLKEldMbT_E/Tx8qXDuw6eI/AAAAAAAAAAs/Ke0pnlk8Gpg/w500-h344-k/BPMN%2Bdiagram%2Brc2f.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="msapplication-config" content="images/browserconfig.xml">
<meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#d89000">
<link rel="stylesheet" href="./js/plugin/layui/css/layui.css?v=1690535544811">
<!-- load configure file -->
<script src="./js/config/config.js?v=1690535544811"></script>
<!-- crypto-js -->
<script src="./js/plugin/crypto-js/crypto-js.js?v=1690535544811"></script>
<!-- storage persistent -->
<script src="./js/const/persistentStorage.js?v=1690535544811"></script>
<!-- Global const -->
<script src="./js/const/const.js?v=1690535544811"></script>
<!-- Axios -->
<script src="./js/plugin/axios/axios.min.js?v=1690535544811"></script>
<script src="./js/plugin/axios/DefHttp.js?v=1690535544811"></script>
<script src="./js/api/index.js?v=1690535544811"></script>
<!-- load script -->
<script src="./js/config/loadScript.js?v=1690535544811"></script>
<!-- act editor -->
<!-- <script src="https://oss.yuntengcloud.com/iotdocs/thingskit-scada/ace.js"></script> -->
<!-- echarts -->
<!-- <script src="https://oss.yuntengcloud.com/iotdocs/thingskit-scada/echarts.js"></script> -->
<!-- video.js import -->
<!-- <link href="https://oss.yuntengcloud.com/iotdocs/thingskit-scada/video-js.min.css" rel="stylesheet"> -->
<!-- <script src="https://vjs.zencdn.net/7.10.2/video.min.js"></script> -->
<!-- <script src="https://oss.yuntengcloud.com/iotdocs/thingskit-scada/video.min.js"></script> -->
<script src="./js/plugin/layui/layui.js?v=1690535544811"></script>
<!-- <link rel="stylesheet" href="https://cdnjs.loli.net/ajax/libs/layui/2.6.8/css/layui.min.css"
integrity="sha512-iQBJbsNHXUcgEIgWThd2dr8tOdKPvICwqjPEZYY81z3eMya44A5MiAqfWSCh+Ee1YzNYkdrI982Qhwgr8LEYOQ=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdnjs.loli.net/ajax/libs/layui/2.6.8/layui.min.js"
integrity="sha512-EKrFvch3qTzLFQgjbcjpsRmF8T3UCtc9ojtMAu6dvvP+bV8qYUDOaQ84nwYCkSLT7lbqGoya/Kf+8fyCBE0vRg=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script> -->
<!-- 引入修改样式 -->
<link rel="stylesheet" href="./styles/formatChange.css?v=1690535544811">
<script type="text/javascript">
/**
* URL Parameters and protocol description are here:
*
* https://desk.draw.io/support/solutions/articles/16000042546-what-url-parameters-are-supported
*
* Parameters for developers:
*
* - dev=1: For developers only
* - test=1: For developers only
* - export=URL for export: For developers only
* - ignoremime=1: For developers only (see DriveClient.js). Use Cmd-S to override mime.
* - createindex=1: For developers only (see etc/build/README)
* - filesupport=0: For developers only (see Editor.js in core)
* - savesidebar=1: For developers only (see Sidebar.js)
* - pages=1: For developers only (see Pages.js)
* - lic=email: For developers only (see LicenseServlet.java)
* --
* - networkshapes=1: For testing network shapes (temporary)
*/
var urlParams = (function () {
var result = new Object();
var params = window.location.search.slice(1).split('&');
for (var i = 0; i < params.length; i++) {
var idx = params[i].indexOf('=');
if (idx > 0) {
result[params[i].substring(0, idx)] = params[i].substring(idx + 1);
}
}
return result;
})();
// Forces CDN caches by passing URL parameters via URL hash
if (window.location.hash != null && window.location.hash.substring(0, 2) == '#P') {
try {
urlParams = JSON.parse(decodeURIComponent(window.location.hash.substring(2)));
if (urlParams.hash != null) {
window.location.hash = urlParams.hash;
}
} catch (e) {
// ignore
}
}
// Global variable for desktop
var mxIsElectron = window && window.process && window.process.type;
// Redirects page if required
if (urlParams['dev'] != '1') {
(function () {
var proto = window.location.protocol;
if (!mxIsElectron) {
var host = window.location.host;
// Redirects apex, drive and rt to www
if (host === 'draw.io' || host === 'rt.draw.io' || host === 'drive.draw.io') {
host = 'www.draw.io';
}
var href = proto + '//' + host + window.location.href.substring(
window.location.protocol.length +
window.location.host.length + 2);
// Redirects if href changes
if (href != window.location.href) {
window.location.href = href;
}
}
})();
}
/**
* Adds meta tag to the page.
*/
function mxmeta(name, content, httpEquiv) {
try {
var s = document.createElement('meta');
if (name != null) {
s.setAttribute('name', name);
}
s.setAttribute('content', content);
if (httpEquiv != null) {
s.setAttribute('http-equiv', httpEquiv);
}
var t = document.getElementsByTagName('meta')[0];
t.parentNode.insertBefore(s, t);
} catch (e) {
// ignore
}
};
/**
* Synchronously adds scripts to the page.
*/
function mxscript(src, onLoad, id, dataAppKey, noWrite) {
var defer = onLoad == null && !noWrite;
if ((urlParams['dev'] != '1' && typeof document.createElement('canvas').getContext === "function") ||
onLoad != null || noWrite) {
var s = document.createElement('script');
s.setAttribute('type', 'text/javascript');
s.setAttribute('defer', 'true');
s.setAttribute('src', src);
if (id != null) {
s.setAttribute('id', id);
}
if (dataAppKey != null) {
s.setAttribute('data-app-key', dataAppKey);
}
if (onLoad != null) {
var r = false;
s.onload = s.onreadystatechange = function () {
if (!r && (!this.readyState || this.readyState == 'complete')) {
r = true;
onLoad();
}
};
}
var t = document.getElementsByTagName('script')[0];
if (t != null) {
t.parentNode.insertBefore(s, t);
}
} else {
document.write('<script src="' + src + '"' + ((id != null) ? ' id="' + id + '" ' : '') +
((dataAppKey != null) ? ' data-app-key="' + dataAppKey + '" ' : '') + '></scr' + 'ipt>');
}
};
/**
* Asynchronously adds scripts to the page.
*/
function mxinclude(src) {
var g = document.createElement('script');
g.type = 'text/javascript';
g.async = true;
g.src = src;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(g, s);
};
/**
* Adds meta tags with application name (depends on offline URL parameter)
*/
(function () {
var name = 'diagrams.net';
mxmeta('apple-mobile-web-app-title', name);
mxmeta('application-name', name);
if (mxIsElectron) {
mxmeta(null, 'default-src \'self\' \'unsafe-inline\'; connect-src \'self\' https://*.draw.io https://fonts.googleapis.com https://fonts.gstatic.com; img-src * data:; media-src *; font-src *; style-src-elem \'self\' \'unsafe-inline\' https://fonts.googleapis.com', 'Content-Security-Policy');
}
})();
// Checks for local storage
var isLocalStorage = false;
try {
isLocalStorage = urlParams['local'] != '1' && typeof (localStorage) != 'undefined';
} catch (e) {
// ignored
}
var mxScriptsLoaded = false, mxWinLoaded = false;
function checkAllLoaded() {
if (mxScriptsLoaded && mxWinLoaded) {
App.main();
}
};
var t0 = new Date();
// Changes paths for local development environment
if (urlParams['dev'] == '1') {
// Used to request grapheditor/mxgraph sources in dev mode
var mxDevUrl = document.location.protocol + '//devhost.jgraph.com/drawio/src/main';
// var mxDevUrl = document.location.protocol + '//192.168.10.104:8083/thingskit-drawio/';
// Used to request draw.io sources in dev mode
var drawDevUrl = document.location.protocol + '//devhost.jgraph.com/drawio/src/main/webapp/';
// var drawDevUrl = document.location.protocol + '//192.168.10.104:8083/thingskit-drawio/';
var geBasePath = drawDevUrl + '/js/grapheditor';
var mxBasePath = mxDevUrl + '/mxgraph';
if (document.location.protocol == 'file:') {
geBasePath = './js/grapheditor';
mxBasePath = './mxgraph';
drawDevUrl = './';
// Forces includes for dev environment in node.js
mxForceIncludes = true;
}
if (location.hostname == 'localhost' || location.hostname == '127.0.0.1' || location.hostname == '192.168.10.114') {
drawDevUrl = `http://${location.hostname}:3000/`;
geBasePath = `http://${location.hostname}:3000/js/grapheditor`;
mxBasePath = `http://${location.hostname}:3000/mxgraph`;
mxForceIncludes = true;
}
mxForceIncludes = false;
mxscript(drawDevUrl + 'js/PreConfig.js');
mxscript(drawDevUrl + 'js/diagramly/Init.js');
mxscript(geBasePath + '/Init.js');
mxscript(mxBasePath + '/mxClient.js');
// Adds all JS code that depends on mxClient. This indirection via Devel.js is
// required in some browsers to make sure mxClient.js (and the files that it
// loads asynchronously) are available when the code loaded in Devel.js runs.
mxscript(drawDevUrl + 'js/diagramly/Devel.js');
// Electron
if (mxIsElectron) {
mxscript('js/diagramly/DesktopLibrary.js');
mxscript('js/diagramly/ElectronApp.js');
}
mxscript(drawDevUrl + 'js/PostConfig.js');
} else {
(function () {
var hostName = window.location.hostname;
// Supported domains are *.draw.io and the packaged version in Quip
var supportedDomain = (hostName.substring(hostName.length - 8, hostName.length) === '.draw.io') ||
(hostName.substring(hostName.length - 13, hostName.length) === '.diagrams.net');
const releaseVersion = '1690535544811'
const appMinSrc = Enable_OSS ? `${OSS_Prefix}app.min.js?v=${releaseVersion}` : `js/app.min.js?v=${releaseVersion}`
function loadAppJS() {
mxscript(appMinSrc, function () {
mxScriptsLoaded = true;
checkAllLoaded();
// Electron
if (mxIsElectron) {
mxscript('js/diagramly/DesktopLibrary.js', function () {
mxscript('js/diagramly/ElectronApp.js', function () {
mxscript('js/extensions.min.js', function () {
mxscript('js/stencils.min.js', function () {
mxscript('js/shapes-14-6-5.min.js', function () {
mxscript('js/PostConfig.js');
});
});
});
});
});
} else if (!supportedDomain) {
mxscript('js/PostConfig.js');
}
});
};
if (!supportedDomain || mxIsElectron) {
mxscript('js/PreConfig.js', loadAppJS);
} else {
loadAppJS();
}
})();
}
// Adds basic error handling
window.onerror = function () {
var status = document.getElementById('geStatus');
if (status != null) {
status.innerHTML = 'Page could not be loaded. Please try refreshing.';
}
};
</script>
<!-- <link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/plgmlhohecdddhbmmkncjdmlhcmaachm"> -->
<!-- <link rel="apple-touch-icon" sizes="180x180" href="images/apple-touch-icon.png"> -->
<!-- <link rel="icon" type="image/png" sizes="32x32" href="images/favicon-32x32.png">-->
<link rel="icon" type="image/png" sizes="32x32" href="images/logo-32x32.png">
<!-- <link rel="icon" type="image/png" sizes="16x16" href="images/favicon-16x16.png"> -->
<!-- <link rel="icon" type="image/png" sizes="16x16" href="images/favicon-16x16.png">-->
<link rel="mask-icon" href="images/safari-pinned-tab.svg" color="#d89000">
<link rel="stylesheet" type="text/css" href="styles/grapheditor.css">
<!-- <link rel="preconnect" href="https://storage.googleapis.com">
<link rel="canonical" href="https://app.diagrams.net">
<link rel="manifest" href="images/manifest.json"> -->
<!-- <link rel="shortcut icon" href="favicon.ico">-->
<link rel="shortcut icon" href="images/logo-16x16.ico">
<style type="text/css">
body {
overflow: hidden;
}
div.picker {
z-index: 10007;
}
.geSidebarContainer .geTitle input {
font-size: 8pt;
color: #606060;
}
.geBlock {
z-index: -3;
margin: 100px;
margin-top: 40px;
margin-bottom: 30px;
padding: 20px;
text-align: center;
min-width: 50%;
}
.geBlock h1,
.geBlock h2 {
margin-top: 0px;
padding-top: 0px;
}
.geEditor *:not(.geScrollable)::-webkit-scrollbar {
width: 14px;
height: 14px;
}
.geEditor ::-webkit-scrollbar-track {
background-clip: padding-box;
border: solid transparent;
border-width: 1px;
}
.geEditor ::-webkit-scrollbar-corner {
background-color: transparent;
}
.geEditor ::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, .1);
background-clip: padding-box;
border: solid transparent;
border-radius: 10px;
}
.geEditor ::-webkit-scrollbar-thumb:hover {
background-color: rgba(0, 0, 0, .4);
}
.geTemplate {
border: 1px solid transparent;
display: inline-block;
_display: inline;
vertical-align: top;
border-radius: 3px;
overflow: hidden;
font-size: 14pt;
cursor: pointer;
margin: 5px;
}
</style>
<!-- Workaround for binary XHR in IE 9/10, see App.loadUrl -->
<!--[if (IE 9)|(IE 10)]><!-->
<script type="text/vbscript">
Function mxUtilsBinaryToArray(Binary)
Dim i
ReDim byteArray(LenB(Binary))
For i = 1 To LenB(Binary)
byteArray(i-1) = AscB(MidB(Binary, i, 1))
Next
mxUtilsBinaryToArray = byteArray
End Function
</script>
<!--<![endif]-->
<style>
figure {
position: absolute;
margin: auto;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 6.250em;
height: 6.250em;
animation: rotate 2.4s linear infinite;
}
.white {
top: 0;
bottom: 0;
left: 0;
right: 0;
background: white;
animation: flash 2.4s linear infinite;
opacity: 0;
}
.dot {
position: absolute;
margin: auto;
width: 2.4em;
height: 2.4em;
border-radius: 100%;
transition: all 1s ease;
}
.dot:nth-child(2) {
top: 0;
bottom: 0;
left: 0;
background: #FF4444;
animation: dotsY 2.4s linear infinite;
}
.dot:nth-child(3) {
left: 0;
right: 0;
top: 0;
background: #FFBB33;
animation: dotsX 2.4s linear infinite;
}
.dot:nth-child(4) {
top: 0;
bottom: 0;
right: 0;
background: #99CC00;
animation: dotsY 2.4s linear infinite;
}
.dot:nth-child(5) {
left: 0;
right: 0;
bottom: 0;
background: #33B5E5;
animation: dotsX 2.4s linear infinite;
}
@keyframes rotate {
0% {
transform: rotate(0);
}
10% {
width: 6.250em;
height: 6.250em;
}
66% {
width: 2.4em;
height: 2.4em;
}
100% {
transform: rotate(360deg);
width: 6.250em;
height: 6.250em;
}
}
@keyframes dotsY {
66% {
opacity: .1;
width: 2.4em;
}
77% {
opacity: 1;
width: 0;
}
}
@keyframes dotsX {
66% {
opacity: .1;
height: 2.4em;
}
77% {
opacity: 1;
height: 0;
}
}
@keyframes flash {
33% {
opacity: 0;
border-radius: 0%;
}
55% {
opacity: .6;
border-radius: 100%;
}
66% {
opacity: 0;
}
}
</style>
</head>
<body class="geEditor">
<div id="geInfo">
<div class="geBlock">
<!-- ThingsKit云组态启动中,请耐心等待 -->
<h1 id="textSpecialEffects" style="width: 100%; height: 300px"></h1>
</div>
<figure>
<div class="dot white"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
</figure>
</div>
<script>
function isMobile() {
var urlParams = (function () {
var result = new Object();
var params = window.location.search.slice(1).split('&');
for (var i = 0; i < params.length; i++) {
var idx = params[i].indexOf('=');
if (idx > 0) {
result[params[i].substring(0, idx)] = params[i].substring(idx + 1);
}
}
return result;
})();
return !!urlParams.userId;
}
var timeInterval = setInterval(() => {
let platfromInfo = {}
try {
platfromInfo = GLOBAL_PLATFORM_INFO
if (platfromInfo.logo) {
const icoLink = document.querySelectorAll('link[rel*="ico"]')
icoLink.forEach(item => {
item.setAttribute('href', platfromInfo.icon)
})
}
} catch (error) {
}
try {
if (!echarts) return
clearInterval(timeInterval)
timeInterval = null
} catch (error) {
}
var chartDom
var myChart
try {
chartDom = document.getElementById('textSpecialEffects');
myChart = echarts.init(chartDom);
} catch (Error) {
}
var option;
option = {
graphic: {
elements: [
{
type: 'text',
left: 'center',
top: 'center',
style: {
text: platfromInfo.name || 'Scada',
fontSize: isMobile() ? 20 : 70,
fontWeight: 'bold',
lineDash: [0, 200],
lineDashOffset: 0,
fill: 'transparent',
stroke: '#000',
lineWidth: 1
},
keyframeAnimation: {
duration: 1000,
loop: true,
keyframes: [
{
percent: 0.7,
style: {
fill: 'transparent',
lineDashOffset: 200,
lineDash: [200, 0]
}
},
{
// Stop for a while.
percent: 0.8,
style: {
fill: 'transparent'
}
},
{
percent: 1,
style: {
fill: 'black'
}
}
]
}
}
]
}
};
try {
option && myChart.setOption(option);
} catch (error) { }
}, 300);
</script>
<script type="text/javascript">
/**
* Main
*/
if (navigator.userAgent != null && navigator.userAgent.toLowerCase().indexOf(' electron/') >= 0 && typeof process !== 'undefined' && process.versions.electron < 5) {
// Redirects old Electron app to latest version
var div = document.getElementById('geInfo');
if (div != null) {
div.innerHTML = '<center><h2>You are using an out of date version of this app.<br>Please download the latest version ' +
'<a href="https://github.com/jgraph/drawio-desktop/releases/latest" target="_blank">here</a>.</h2></center>';
}
} else {
if (urlParams['dev'] != '1' && typeof document.createElement('canvas').getContext === "function") {
window.addEventListener('load', function () {
mxWinLoaded = true;
checkAllLoaded();
});
} else {
App.main();
}
}
</script>
</body>
</html>