-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathindex.html
157 lines (153 loc) · 8.85 KB
/
index.html
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
<!--
Copyright 2021 Bonitasoft S.A.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>bpmn-visualization - Monitoring of all process instances demo</title>
<link rel="icon" type="image/svg+xml" href="../../examples/favicon.svg">
<link rel="stylesheet" href="../../examples/static/css/spectre.min.css" type="text/css">
<link rel="stylesheet" href="../../examples/static/css/icons.min.css" type="text/css">
<link rel="stylesheet" href="../../examples/static/css/main.css" type="text/css">
<link rel="stylesheet" href="../static/css/style.css" type="text/css">
<link rel="stylesheet" href="./css/legend.css" type="text/css">
<script defer src="../../examples/static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/bpmn-visualization.min.js" integrity="sha384-+pA6hvphfoQkACQAPuFym7ssxg2C+Im5a3/t3t/yUWuIT/mP7c9tV8DMnrVKX/yd" crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/index.umd.js" integrity="sha256-lNJnNIdh5oXecah6rOix/TxyGcOYnfkybx4Qii2uxSo=" crossorigin="anonymous"></script>
<script defer src="https://variancecharts.com/cdn/variance-noncommercial-standalone-6d26aa2.min.js" charset="UTF-8" integrity="sha384-tWKnmvvtGH2MkH7CGAql3wuzSBBH6XF7vDfhqMd1uQ8Us1bcDbID5m915xGYODNA" crossorigin="anonymous"></script>
<script defer src="../../examples/static/js/diagram/bpmn-diagrams.js"></script>
<script defer src="../static/js/use-case.js"></script>
<script defer src="js/execution-data/utils.js"></script>
<script defer src="./js/legend.js"></script>
<script defer src="js/execution-data/execution-data.js"></script>
<script defer src="js/execution-data/time-execution-data.js"></script>
<script defer src="js/execution-data/frequency-execution-data.js"></script>
<script defer src="js/monitoring-use-case.js"></script>
<script defer src="./js/index.js"></script>
</head>
<body>
<header class="navbar bg-dark p-2">
<section class="navbar-section ml-2">
<a class="home" href="../../examples/index.html">
<img src="../../examples/static/img/logo_64x64_white.png" alt="logo" class="logo">
<span class="h3 text-light ml-2 lib-name-text">bpmn-visualization examples</span>
</a>
</section>
<section class="navbar-section">
<a href="https://process-analytics.github.io/bpmn-visualization-js/" class="mr-2 btn btn-secondary">Docs</a>
<div class="dropdown mr-2">
<a href="#" class="btn btn-primary dropdown-toggle" tabindex="0">
GitHub <span class="icon icon-caret icon-in-the-middle"></span>
</a>
<ul class="menu">
<li><a href="https://github.com/process-analytics/bpmn-visualization-js"
class="mr-2 btn btn-link">Library</a></li>
<li><a href="https://github.com/process-analytics/bpmn-visualization-examples"
class="mr-2 btn btn-link">Examples</a></li>
</ul>
</div>
</section>
</header>
<section class="container col-12 flex-centered" style="margin-top: .8rem !important">
<div class="col-11 col-mx-auto">
<div class="col-10 col-mx-auto">
<h2>Monitoring of all process instances demo</h2>
<p>Demonstrate how you can add execution time and frequency on BPMN elements.
</p>
</div>
<div class="col-11 col-mx-auto" style="margin-top: 2rem; margin-bottom: 1rem">
<div id="controls" class="column bg-secondary pt-2 pb-2">
<div class="columns">
<div id="choose-use-case-panel" class="col-6">
<h5>Use case</h5>
<div class="radioGroup">
<label>
<input id="btn-time" type="radio" name="use-case-type" value="time" checked>
<span>Time</span>
</label>
<label>
<input id="btn-frequency" type="radio" name="use-case-type" value="frequency">
<span>Frequency</span>
</label>
</div>
</div>
<div id="choose-data-panel" class="col-6">
<h5>Displayed information</h5>
<div class="radioGroup">
<label>
<input id="btn-overlays" type="radio" name="data-type" value="overlays" checked>
<span>Overlays</span>
</label>
<label>
<input id="btn-both" type="radio" name="data-type" value="both">
<span>Both</span>
</label>
<label>
<input id="btn-paths" type="radio" name="data-type" value="paths">
<span>Paths</span>
</label>
</div>
</div>
</div>
</div>
<div id="use-case-panel" class="bg-gray">
<div class="text-center">
<h4 id="title"></h4>
</div>
<div class="columns">
<div id="legend" class="column col-auto col-mx-auto">
<div id="shape-overlay-legend" style="margin-bottom: 1.7rem;">
<label>Overlay on Shape</label>
<chart scale-y-linear="0 250">
<guide-y id="shape-overlay-legend-guide-y" ticks="0 50 100 150 200 250"></guide-y>
<bar id="shape-overlay-legend-250" literal-length="250"></bar>
<bar id="shape-overlay-legend-200" literal-length="200"></bar>
<bar id="shape-overlay-legend-150" literal-length="150"></bar>
<bar id="shape-overlay-legend-100" literal-length="100"></bar>
<bar id="shape-overlay-legend-50" literal-length="50"></bar>
</chart>
</div>
<div id="edge-overlay-legend" style="margin-bottom: 1.7rem;">
<label>Overlay on Edge</label>
<chart scale-y-linear="0 250">
<guide-y id="edge-overlay-legend-guide-y" ticks="0 50 100 150 200 250"></guide-y>
<bar id="edge-overlay-legend-250" literal-length="250"></bar>
<bar id="edge-overlay-legend-200" literal-length="200"></bar>
<bar id="edge-overlay-legend-150" literal-length="150"></bar>
<bar id="edge-overlay-legend-100" literal-length="100"></bar>
<bar id="edge-overlay-legend-50" literal-length="50"></bar>
</chart>
</div>
<div id="edge-path-legend">
<label>Path</label>
<chart scale-y-linear="0 250">
<guide-y id="edge-path-legend-guide-y" ticks="0 50 100 150 200 250"></guide-y>
<bar id="edge-path-legend-250" literal-length="250" style="width: 8px"></bar>
<bar id="edge-path-legend-200" literal-length="200" style="width: 16px"></bar>
<bar id="edge-path-legend-150" literal-length="150" style="width: 24px"></bar>
<bar id="edge-path-legend-100" literal-length="100" style="width: 32px"></bar>
<bar id="edge-path-legend-50" literal-length="50"></bar>
</chart>
</div>
</div>
<div class="column col-10 col-mx-auto">
<div id="bpmn-container" class="col-12 bpmn-container"></div>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="flex-centered"></footer>
</body>
</html>