cpee 2.1.143 → 2.1.144

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/compliance-view.html +6 -6
  3. data/cockpit/compliance.html +6 -6
  4. data/cockpit/conformance.html +6 -6
  5. data/cockpit/css/llmmodel.css +17 -22
  6. data/cockpit/css/ui.css +2 -9
  7. data/cockpit/edit.html +6 -6
  8. data/cockpit/graph.html +2 -2
  9. data/cockpit/index.html +6 -6
  10. data/cockpit/js/extended_columns.js +7 -6
  11. data/cockpit/js/instance.js +0 -1
  12. data/cockpit/js/llmmodel.js +32 -0
  13. data/cockpit/llm.html +57 -44
  14. data/cockpit/llmmodel.html +40 -32
  15. data/cockpit/model.html +5 -5
  16. data/cockpit/only_llm.html +4 -4
  17. data/cockpit/templates/Coopis 2010 Replay.xml +7 -7
  18. data/cockpit/templates/Coopis 2010.xml +7 -7
  19. data/cockpit/templates/Frames.xml +1 -1
  20. data/cockpit/templates/Frames1.xml +527 -0
  21. data/cockpit/templates/ML-pipe-multi.xml +9 -9
  22. data/cockpit/templates/Readonly Local.xml +4 -4
  23. data/cockpit/templates/Track Test Local.xml +6 -6
  24. data/cockpit/templates/Track Test.xml +5 -5
  25. data/cockpit/templates/UR-VUE 2020 Solution Baseline.xml +6 -6
  26. data/cockpit/templates/UR-VUE 2020 Solution NN.xml +5 -5
  27. data/cockpit/templates/UR-VUE 2020 Solution View.xml +1 -1
  28. data/cockpit/templates/UR-VUE 2020.xml +1 -1
  29. data/cockpit/templates/Wait.xml +1 -1
  30. data/cockpit/templates/Worklist Vote.xml +2 -2
  31. data/cockpit/templates/Worklist.xml +1 -1
  32. data/cockpit/templates/instantiate/Take_Sub.xml +1 -1
  33. data/cockpit/templates/instantiate.local/Take_Sub.xml +1 -1
  34. data/cockpit/themes/base.js +13 -6
  35. data/cockpit/themes/presetlr/theme.js +1 -0
  36. data/cockpit/track.html +2 -2
  37. data/cpee.gemspec +2 -2
  38. data/lib/cpee/implementation.rb +2 -1
  39. data/lib/cpee/persistence.rb +1 -0
  40. data/lib/engine/instances.rng +5 -0
  41. data/lib/properties/description.rng +0 -1
  42. data/lib/properties/dslx.rng +0 -1
  43. data/lib/properties/properties.rng +1 -0
  44. data/lib/properties/set-properties.rng +1 -0
  45. data/lib/properties/set-some-properties.rng +1 -0
  46. data/lib/properties/set-testset.rng +1 -0
  47. data/lib/properties/state.rng +0 -2
  48. data/lib/properties.xml +0 -1
  49. data/server/executionhandlers/eval/connection.rb +3 -6
  50. data/server/executionhandlers/ruby/connection.rb +3 -6
  51. data/server/executionhandlers/ruby/controller.rb +18 -15
  52. data/server/resources/states.dot +0 -4
  53. data/server/resources/states.xml +2 -8
  54. data/server/resources/topics.xml +0 -3
  55. data/tools/cpee +115 -2
  56. metadata +5 -5
  57. data/cockpit/css/wfadaptor.css +0 -401
  58. data/cockpit/js/wfadaptor.js +0 -1691
data/tools/cpee CHANGED
@@ -31,7 +31,7 @@ end
31
31
  ARGV.options { |opt|
32
32
  opt.summary_indent = ' ' * 2
33
33
  opt.summary_width = 20
34
- opt.banner = "Usage:\n#{opt.summary_indent}#{File.basename($0)} [options] convert | ui | cpui DIR | new DIR | archive DIR URL | start URL | delete! URL | abandon URL | a_by_name URL STRING\n"
34
+ opt.banner = "Usage:\n#{opt.summary_indent}#{File.basename($0)} [options] convert | ui | cpui DIR | new DIR | archive DIR URL | start URL | delete! URL | abandon URL | a_by_name URL STRING | housekeeping DIR URL DAYS\n"
35
35
  opt.on("Options:")
36
36
  opt.on("--help", "-h", "This text") { puts opt; exit }
37
37
  opt.on("")
@@ -39,6 +39,8 @@ ARGV.options { |opt|
39
39
  opt.on("")
40
40
  opt.on(wrap("[abandon! URL] running processes are stopped; ready or stopped processes are abandoned. Examples:\ncpee abandon! http://localhost:9298/1/\ncpee abandon http://localhost:9298/1-200\ncpee abandon http://localhost:9298/*"))
41
41
  opt.on("")
42
+ opt.on(wrap("[housekeeping DIR URL DAYS] processes whose state did not change for more than DAYS days are stopped and abandoned. Afterwards the properties of all finished and abandoned processes are saved into DIR and the processes are deleted. Processes with the attribute highlander set to true are not touched. Examples:\ncpee housekeeping ./archive http://localhost:9298/1/ 7\ncpee housekeeping ./archive http://localhost:9298/1-200 7\ncpee housekeeping ./archive http://localhost:9298/* 7"))
43
+ opt.on("")
42
44
  opt.on(wrap("[abandon URL] ready or stopped processes are abandoned. Examples:\ncpee abandon http://localhost:9298/1/\ncpee abandon http://localhost:9298/1-200\ncpee abandon http://localhost:9298/*"))
43
45
  opt.on("")
44
46
  opt.on(wrap("[stopping URL] print all stopping proccess ids"))
@@ -64,13 +66,15 @@ if (ARGV.length == 0) ||
64
66
  (ARGV.length == 1 && !(%w(ui convert vacuum).include?(ARGV[0]))) ||
65
67
  (ARGV.length == 2 && !(%w(abandon abandon! stopping start delete! cpui new).include?(ARGV[0]))) ||
66
68
  (ARGV.length == 3 && !(%w(archive a_by_name).include?(ARGV[0]))) ||
67
- (ARGV.length > 3)
69
+ (ARGV.length == 4 && !(%w(housekeeping).include?(ARGV[0]))) ||
70
+ (ARGV.length > 4)
68
71
  puts ARGV.options
69
72
  exit
70
73
  end
71
74
  command = ARGV[0]
72
75
  p1 = ARGV[1]
73
76
  p2 = ARGV[2]
77
+ p3 = ARGV[3]
74
78
  cockpit = "#{curpath}/../cockpit/"
75
79
 
76
80
  def js_libs(cockpit)
@@ -289,6 +293,115 @@ elsif command == 'abandon!'
289
293
  end
290
294
  end
291
295
  end
296
+ elsif command == 'housekeeping'
297
+ dir = p1
298
+ url = p2
299
+ unless File.directory?(dir)
300
+ puts 'DIR has to be an existing directory.'
301
+ exit
302
+ end
303
+ days = Float(p3) rescue nil
304
+ if days.nil? || days < 0
305
+ puts 'DAYS has to be a non-negative number.'
306
+ exit
307
+ end
308
+ limit = Time.now - (days * 60 * 60 * 24)
309
+ active = %w(ready running stopping stopped)
310
+ done = %w(finished abandoned)
311
+ url = File.join(url,'*') if url =~ /([a-zA-Z]|\/)$/
312
+ base = File.dirname(url)
313
+ candidates = []
314
+ archivable = []
315
+ highlanders = {}
316
+ if File.basename(url) == '*'
317
+ res = Typhoeus.get(File.join(base,'/'), headers: { 'see-instances' => 'true' })
318
+ if res.success?
319
+ XML::Smart.string(res.response_body) do |doc|
320
+ doc.find('//instance').each do |ele|
321
+ id = ele.attributes['id']
322
+ if done.include?(ele.attributes['state'])
323
+ archivable << id
324
+ elsif active.include?(ele.attributes['state']) && (Time.parse(ele.attributes['state_changed']) rescue Time.now) < limit
325
+ candidates << id
326
+ else
327
+ next
328
+ end
329
+ highlanders[id] = ele.attributes['highlander'].strip == 'true' unless ele.attributes['highlander'].nil?
330
+ end
331
+ end
332
+ candidates.reverse!
333
+ archivable.reverse!
334
+ else
335
+ exit
336
+ end
337
+ else
338
+ names = []
339
+ if File.basename(url) =~ /(\d+)-(\d+)/
340
+ names = ($1.to_i..$2.to_i).to_a
341
+ else
342
+ names << File.basename(url).to_i
343
+ end
344
+ names.each do |name|
345
+ print "Checking: " + name.to_s + "\r"
346
+ state = Typhoeus.get(File.join(base,name.to_s,'properties','state','/'))
347
+ next unless state.success?
348
+ if done.include?(state.response_body)
349
+ archivable << name
350
+ next
351
+ end
352
+ next unless active.include?(state.response_body)
353
+ changed = Typhoeus.get(File.join(base,name.to_s,'properties','state','@changed','/'))
354
+ next unless changed.success?
355
+ next unless (Time.parse(changed.response_body) rescue Time.now) < limit
356
+ candidates << name
357
+ end
358
+ puts
359
+ end
360
+ highlander = lambda do |name|
361
+ next highlanders[name] if highlanders.key?(name)
362
+ hl = Typhoeus.get(File.join(base,name.to_s,'properties','attributes','highlander','/'))
363
+ hl.success? && hl.response_body.strip == 'true'
364
+ end
365
+ archivable.reject!(&highlander)
366
+ pending = candidates.reject(&highlander)
367
+ deadline = Time.now + 60
368
+ until pending.empty? || Time.now > deadline
369
+ pending.delete_if do |name|
370
+ state = Typhoeus.get(File.join(base,name.to_s,'properties','state','/'))
371
+ if !state.success?
372
+ true
373
+ elsif state.response_body == 'ready' || state.response_body == 'stopped'
374
+ print "Abandoning: " + name.to_s + "\r"
375
+ ab = Typhoeus.put(File.join(base,name.to_s,'properties','state','/'), headers: {'Content-Type' => 'application/x-www-form-urlencoded'}, body: "value=abandoned")
376
+ archivable << name if ab.success?
377
+ true
378
+ elsif state.response_body == 'running'
379
+ print "Stopping: " + name.to_s + "\r"
380
+ Typhoeus.put(File.join(base,name.to_s,'properties','state','/'), headers: {'Content-Type' => 'application/x-www-form-urlencoded'}, body: "value=stopping")
381
+ false
382
+ elsif state.response_body == 'stopping'
383
+ false
384
+ else
385
+ true
386
+ end
387
+ end
388
+ sleep 1 unless pending.empty?
389
+ end
390
+ puts
391
+ puts "Still stopping (retry later): " + pending.join(', ') unless pending.empty?
392
+ archivable.each do |name|
393
+ print "Archiving: " + name.to_s + "\r"
394
+ prop = Typhoeus.get(File.join(base,name.to_s,'properties','/'))
395
+ next unless prop.success? && prop.headers['Content-Type'] =~ /^(text|application)\/xml/
396
+ xprop = XML::Smart::string(prop.response_body)
397
+ xprop.register_namespace 'p', 'http://cpee.org/ns/properties/2.0'
398
+ next unless done.include?(xprop.find("string(/p:properties/p:state)"))
399
+ uuid = xprop.find("string(/p:properties/p:attributes/p:uuid)")
400
+ next if uuid.empty?
401
+ File.write(File.join(dir,uuid + '.xml'),prop.response_body)
402
+ Typhoeus.delete(File.join(base,name.to_s,'/'))
403
+ end
404
+ puts
292
405
  elsif command == 'stopping'
293
406
  p1 = File.join(p1,'*') if p1 =~ /([a-zA-Z]|\/)$/
294
407
  base = File.dirname(p1)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.143
4
+ version: 2.1.144
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -40,7 +40,7 @@ dependencies:
40
40
  version: '1.99'
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: 1.99.158
43
+ version: 1.99.161
44
44
  type: :runtime
45
45
  prerelease: false
46
46
  version_requirements: !ruby/object:Gem::Requirement
@@ -50,7 +50,7 @@ dependencies:
50
50
  version: '1.99'
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: 1.99.158
53
+ version: 1.99.161
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: highline
56
56
  requirement: !ruby/object:Gem::Requirement
@@ -270,7 +270,6 @@ files:
270
270
  - cockpit/css/model.css
271
271
  - cockpit/css/track.css
272
272
  - cockpit/css/ui.css
273
- - cockpit/css/wfadaptor.css
274
273
  - cockpit/edit.html
275
274
  - cockpit/graph.html
276
275
  - cockpit/index.html
@@ -283,13 +282,13 @@ files:
283
282
  - cockpit/js/llm-ui-status.js
284
283
  - cockpit/js/llm-ui.js
285
284
  - cockpit/js/llm.js
285
+ - cockpit/js/llmmodel.js
286
286
  - cockpit/js/model.js
287
287
  - cockpit/js/modifiers.js
288
288
  - cockpit/js/mp-conformance.js
289
289
  - cockpit/js/parameters.js
290
290
  - cockpit/js/track.js
291
291
  - cockpit/js/ui.js
292
- - cockpit/js/wfadaptor.js
293
292
  - cockpit/llm.html
294
293
  - cockpit/llmmodel.html
295
294
  - cockpit/model.html
@@ -348,6 +347,7 @@ files:
348
347
  - cockpit/templates/Coopis 2010 Replay.xml
349
348
  - cockpit/templates/Coopis 2010.xml
350
349
  - cockpit/templates/Frames.xml
350
+ - cockpit/templates/Frames1.xml
351
351
  - cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml
352
352
  - cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml
353
353
  - cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml
@@ -1,401 +0,0 @@
1
- /*
2
- This file is part of cpee-layout.
3
-
4
- cpee-layout is free software: you can redistribute it and/or modify it under
5
- the terms of the GNU Lesser General Public License as published by the Free
6
- Software Foundation, either version 3 of the License, or (at your option) any
7
- later version.
8
-
9
- cpee-layout is distributed in the hope that it will be useful, but WITHOUT
10
- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
- FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12
- details.
13
-
14
- You should have received a copy of the GNU Lesser General Public License
15
- along with cpee-layout (file LICENSE in the main directory). If not, see
16
- <http://www.gnu.org/licenses/>.
17
- */
18
-
19
- :root {
20
- --wfadaptor-exec-passive: #729fcf;
21
- --wfadaptor-exec-active: #ef2929;
22
- --wfadaptor-exec-active-text: #cc0000;
23
- --wfadaptor-exec-vote: #8de5bcff;
24
- --wfadaptor-exec-vote-text: #73d216;
25
- --wfadaptor-highlight: #0081c7;
26
- --wfadaptor-base: #000000;
27
- --wfadaptor-base-light: #A9A9A9;
28
- --wfadaptor-label: #e4e4e4;
29
- --wfadaptor-mark: #d4d4d4;
30
-
31
- --wfadaptor-selected: #f57900;
32
- --wfadaptor-selected-border: #000000;
33
- --wfadaptor-selected-text: #f57900;
34
- --wfadaptor-hover: #f57900;
35
- --wfadaptor-hover-border: #000000;
36
-
37
- --wfadaptor-stripe: #e9e9e9;
38
- --wfadaptor-background: #ffffff;
39
- --wfadaptor-border: #a1a1a1;
40
- --wfadaptor-important: #ef2929;
41
- }
42
-
43
- svg {
44
- display:inline;
45
- margin:0;
46
- padding:0;
47
- font-family: adwaita-sans;
48
- user-select: none;
49
- }
50
-
51
- svg .duration {
52
- stroke: var(--wfadaptor-label);
53
- }
54
-
55
- /*
56
- svg [style*='--custom-color'] {
57
- fill: url(#custom-gradient);
58
- }
59
- */
60
-
61
- svg rect.group {
62
- fill: var(--wfadaptor-highlight);
63
- fill-opacity: 0.2;
64
- }
65
- svg rect.stripe.even {
66
- fill: var(--wfadaptor-background);
67
- }
68
- svg rect.stripe.odd {
69
- fill: var(--wfadaptor-stripe);
70
- }
71
-
72
- svg g.passive .execstyle {
73
- stroke: var(--wfadaptor-exec-passive);
74
- stroke-width: 4;
75
- stroke-linecap:round;
76
- stroke-linejoin:round;
77
- }
78
- svg g.active .execstyle {
79
- stroke: var(--wfadaptor-exec-active);
80
- stroke-width: 4;
81
- stroke-linecap:round;
82
- stroke-linejoin:round;
83
- }
84
- svg g.vote .execstyle {
85
- stroke: var(--wfadaptor-exec-vote);
86
- stroke-width: 4;
87
- stroke-linecap:round;
88
- stroke-linejoin:round;
89
- }
90
-
91
- svg g.passive .execstylethin {
92
- stroke: var(--wfadaptor-exec-passive);
93
- stroke-width: 2;
94
- stroke-linecap:round;
95
- stroke-linejoin:round;
96
- }
97
- svg g.active .execstylethin {
98
- stroke: var(--wfadaptor-exec-active);
99
- stroke-width: 2;
100
- stroke-linecap:round;
101
- stroke-linejoin:round;
102
- }
103
- svg g.vote .execstylethin {
104
- stroke: var(--wfadaptor-exec-vote);
105
- stroke-width: 2;
106
- stroke-linecap:round;
107
- stroke-linejoin:round;
108
- }
109
-
110
- svg line.edge, svg path.edge {
111
- stroke-opacity:1;
112
- stroke: var(--wfadaptor-base);
113
- stroke-width: 2;
114
- fill: none;
115
- }
116
-
117
- svg rect.block {
118
- stroke-width: 1;
119
- stroke-dasharray: 3,5;
120
- stroke: var(--wfadaptor-base);
121
- fill: none;
122
- }
123
- svg rect.tile {
124
- stroke-width: 1;
125
- stroke-dasharray: 3,5;
126
- fill: var(--wfadaptor-highlight);
127
- fill-opacity: 0.3;
128
- display: none;
129
- }
130
- svg .standline {
131
- stroke: var(--wfadaptor-base);
132
- stroke-width:1.6;
133
- stroke-linecap:round;
134
- stroke-linejoin:round;
135
- stroke-miterlimit:4;
136
- stroke-opacity:1;
137
- stroke-dasharray:none;
138
- }
139
- svg .stand {
140
- fill: var(--wfadaptor-background);
141
- fill-opacity:1;
142
- stroke: var(--wfadaptor-base);
143
- stroke-width:1.6;
144
- stroke-linecap:round;
145
- stroke-linejoin:round;
146
- stroke-miterlimit:4;
147
- stroke-opacity:1;
148
- stroke-dasharray:none;
149
- }
150
- svg .standthin {
151
- fill: var(--wfadaptor-background);
152
- fill-opacity:1;
153
- stroke: var(--wfadaptor-base);
154
- stroke-width: 1.0 !important;
155
- stroke-linecap:round;
156
- stroke-linejoin:round;
157
- stroke-miterlimit:4;
158
- stroke-opacity:1;
159
- stroke-dasharray:none;
160
- }
161
- svg .standfat {
162
- fill: var(--wfadaptor-background);
163
- fill-opacity:1;
164
- stroke: var(--wfadaptor-base);
165
- stroke-width:3;
166
- stroke-linecap:round;
167
- stroke-linejoin:round;
168
- stroke-miterlimit:4;
169
- stroke-opacity:1;
170
- stroke-dasharray:none;
171
- }
172
- svg .greyfat {
173
- fill: var(--wfadaptor-background);
174
- fill-opacity:1;
175
- stroke: var(--wfadaptor-base-light);
176
- stroke-width:3;
177
- stroke-linecap:round;
178
- stroke-linejoin:round;
179
- stroke-miterlimit:4;
180
- stroke-opacity:1;
181
- stroke-dasharray:none;
182
- }
183
- svg .normal {
184
- fill: var(--wfadaptor-base);
185
- fill-opacity:1;
186
- stroke: var(--wfadaptor-base);
187
- stroke-width:0.2;
188
- stroke-linecap:round;
189
- stroke-linejoin:round;
190
- stroke-miterlimit:4;
191
- stroke-opacity:1;
192
- stroke-dasharray:none;
193
- }
194
- svg .white {
195
- fill: var(--wfadaptor-background);
196
- fill-opacity:1;
197
- stroke: var(--wfadaptor-background);
198
- stroke-width:1.6;
199
- stroke-linecap:round;
200
- stroke-linejoin:round;
201
- stroke-miterlimit:4;
202
- stroke-opacity:1;
203
- stroke-dasharray:none;
204
- }
205
- svg .black {
206
- fill: var(--wfadaptor-base);
207
- fill-opacity:1;
208
- stroke: var(--wfadaptor-base);
209
- stroke-width: 1.6;
210
- stroke-linecap:round;
211
- stroke-linejoin:round;
212
- stroke-miterlimit:4;
213
- stroke-opacity:1;
214
- stroke-dasharray:none;
215
- }
216
- svg .grey {
217
- fill: var(--wfadaptor-base-light);
218
- fill-opacity:1;
219
- stroke: var(--wfadaptor-base-light);
220
- stroke-width: 1.6;
221
- stroke-linecap:round;
222
- stroke-linejoin:round;
223
- stroke-miterlimit:4;
224
- stroke-opacity:1;
225
- stroke-dasharray:none;
226
- }
227
-
228
- svg.labelscolumn text.label {
229
- cursor: pointer;
230
- }
231
- svg.labelscolumn text.label:hover, svg.labelscolumn text.label.hover {
232
- fill: var(--wfadaptor-selected-text);
233
- }
234
-
235
- svg .unknown {
236
- fill: var(--wfadaptor-background);
237
- fill-opacity:1;
238
- stroke: var(--wfadaptor-base);
239
- stroke-width:1.6;
240
- stroke-linecap:round;
241
- stroke-linejoin:round;
242
- stroke-miterlimit:4;
243
- stroke-opacity:1;
244
- stroke-dasharray:none;
245
- }
246
-
247
- svg .gen {
248
- fill:ButtonFace;
249
- fill-opacity:1;
250
- stroke-opacity:0.7;
251
- stroke: var(--wfadaptor-base);
252
- stroke-width:1.6;
253
- stroke-linecap:round;
254
- stroke-linejoin:round;
255
- stroke-miterlimit:4;
256
- stroke-opacity:1;
257
- stroke-dasharray:none;
258
- }
259
- svg .standwithout {
260
- fill: var(--wfadaptor-background);
261
- fill-opacity:1;
262
- }
263
- svg .standtrans {
264
- fill: var(--wfadaptor-background);
265
- }
266
-
267
- svg text.super {
268
- font-size:11px;
269
- font-style:normal;
270
- font-variant:normal;
271
- font-weight:bold;
272
- font-stretch:normal;
273
- text-align:center;
274
- line-height:100%;
275
- writing-mode:horizontal-tb;
276
- text-anchor:start;
277
- color: var(--wfadaptor-base);
278
- fill: var(--wfadaptor-base);
279
- fill-opacity:1;
280
- stroke:none;
281
- }
282
- svg tspan.exec {
283
- fill: var(--wfadaptor-exec-active-text);
284
- display: none;
285
-
286
- stroke: var(--wfadaptor-background);
287
- stroke-width: 3px;
288
- stroke-linecap:round;
289
- stroke-linejoin:round;
290
- paint-order: stroke markers fill;
291
- }
292
- svg tspan.active {
293
- fill: var(--wfadaptor-exec-active-text);
294
- display: none;
295
-
296
- stroke: var(--wfadaptor-background);
297
- stroke-width: 3px;
298
- stroke-linecap:round;
299
- stroke-linejoin:round;
300
- paint-order: stroke markers fill;
301
- }
302
- svg tspan.vote {
303
- fill: var(--wfadaptor-exec-vote-text);
304
- display: none;
305
-
306
- stroke: var(--wfadaptor-background);
307
- stroke-width: 3px;
308
- stroke-linecap:round;
309
- stroke-linejoin:round;
310
- paint-order: stroke markers fill;
311
- }
312
- svg tspan.colon {
313
- display: none;
314
- }
315
- svg tspan.necessary {
316
- display: inline;
317
- }
318
-
319
- svg text.label {
320
- font-size:14px;
321
- font-style:normal;
322
- font-variant:normal;
323
- font-stretch:normal;
324
- text-align:center;
325
- line-height:125%;
326
- writing-mode:horizontal-tb;
327
- text-anchor:start;
328
- color: var(--wfadaptor-base);
329
- fill: var(--wfadaptor-base);
330
- fill-opacity:1;
331
- }
332
- svg text.label tspan {
333
- font-size:12px;
334
- }
335
-
336
- svg text.label.standalone {
337
- stroke: var(--wfadaptor-background);
338
- stroke-width: 3px;
339
- stroke-linecap:round;
340
- stroke-linejoin:round;
341
- paint-order: stroke markers fill;
342
- }
343
- svg text.label.rotate {
344
- transform: translateY(10px) rotate(-30deg);
345
- }
346
- svg text.label.invisible {
347
- visibility: hidden;
348
- }
349
-
350
- #arrow, #arrowrev, #arrowdiag, #arrowdiagrev {
351
- stroke: var(--wfadaptor-base);
352
- stroke-width: 2;
353
- fill: var(--wfadaptor-base);
354
- }
355
-
356
- svg g.element[element-id].hover {
357
- cursor: pointer;
358
- }
359
-
360
- svg g.element[element-id] .hoverstyle {
361
- visibility: hidden;
362
- stroke-width: 1.6;
363
- }
364
- svg g.element[element-id] .markstyle {
365
- visibility: hidden;
366
- stroke-width: 1.6;
367
- }
368
-
369
- svg g.element[element-id].hover .hoverstyle {
370
- visibility: visible;
371
- fill: var(--wfadaptor-hover);
372
- stroke: var(--wfadaptor-hover-border);
373
- stroke-width: 1.6;
374
- stroke-linecap:round;
375
- stroke-linejoin:round;
376
- stroke-miterlimit:4;
377
- stroke-opacity:1;
378
- stroke-dasharray: 1,3;
379
- }
380
-
381
- svg .marked .markstyle {
382
- visibility: visible !important;
383
- stroke: var(--wfadaptor-mark) !important;
384
- fill: var(--wfadaptor-background);
385
- stroke-width: 1.6;
386
- }
387
-
388
- svg g.element[element-id].hover > text.label {
389
- color: var(--wfadaptor-selected);
390
- fill: var(--wfadaptor-selected);
391
- }
392
-
393
- svg text.label.selected {
394
- fill: var(--wfadaptor-selected-text);
395
- }
396
- svg .selected .markstyle {
397
- visibility: visible !important;
398
- fill: var(--wfadaptor-selected) !important;
399
- stroke: var(--wfadaptor-selected-border);
400
- stroke-width: 1.6;
401
- }