Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -337,11 +337,13 @@ digraph {
|
|
337 |
""")
|
338 |
|
339 |
|
|
|
340 |
|
341 |
|
|
|
|
|
342 |
st.graphviz_chart('''
|
343 |
digraph {
|
344 |
-
// Nodes
|
345 |
A [label="SOP-01: Risk Assessment π―"]
|
346 |
B [label="Risk Context π"]
|
347 |
C [label="Evaluating Risks π"]
|
@@ -349,59 +351,89 @@ digraph {
|
|
349 |
E [label="Compliance Risk β οΈ"]
|
350 |
F [label="Analysis Role π"]
|
351 |
G [label="Risk Management πΌ"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
352 |
|
|
|
|
|
|
|
353 |
H [label="SOP-02: Policy Development π"]
|
354 |
I [label="Policy Definition π"]
|
355 |
J [label="Policy Process π"]
|
356 |
K [label="Clear Policies π‘"]
|
|
|
|
|
|
|
|
|
|
|
|
|
357 |
|
|
|
|
|
|
|
358 |
L [label="SOP-03: Training π"]
|
359 |
M [label="Training Definition π§ "]
|
360 |
N [label="Regular Training ποΈ"]
|
361 |
O [label="Providing Training πΌ"]
|
|
|
|
|
|
|
|
|
|
|
|
|
362 |
|
|
|
|
|
|
|
363 |
P [label="SOP-04: Monitoring π"]
|
364 |
Q [label="Monitoring Definition ποΈ"]
|
365 |
R [label="Periodic Monitoring β³"]
|
|
|
|
|
|
|
|
|
|
|
366 |
|
|
|
|
|
|
|
367 |
S [label="SOP-05: Reporting π"]
|
368 |
T [label="Reporting Process π"]
|
369 |
U [label="Compliance Issues π©"]
|
|
|
|
|
|
|
|
|
|
|
370 |
|
|
|
|
|
|
|
371 |
V [label="SOP-06: Incident Management π¨"]
|
372 |
W [label="Incident Definition β"]
|
373 |
X [label="Handling Incidents π©βπ§"]
|
374 |
Y [label="Corrective Actions π§"]
|
375 |
-
|
376 |
-
Z [label="SOP-07: Recordkeeping ποΈ"]
|
377 |
-
AA [label="Maintaining Records π"]
|
378 |
-
|
379 |
-
// Edges
|
380 |
-
A -> B
|
381 |
-
A -> C
|
382 |
-
A -> D
|
383 |
-
A -> E
|
384 |
-
A -> F
|
385 |
-
A -> G
|
386 |
-
|
387 |
-
H -> I
|
388 |
-
H -> J
|
389 |
-
H -> K
|
390 |
-
|
391 |
-
L -> M
|
392 |
-
L -> N
|
393 |
-
L -> O
|
394 |
-
|
395 |
-
P -> Q
|
396 |
-
P -> R
|
397 |
-
|
398 |
-
S -> T
|
399 |
-
S -> U
|
400 |
-
|
401 |
V -> W
|
402 |
V -> X
|
403 |
V -> Y
|
|
|
|
|
404 |
|
|
|
|
|
|
|
|
|
|
|
|
|
405 |
Z -> AA
|
406 |
}
|
407 |
''')
|
|
|
|
337 |
""")
|
338 |
|
339 |
|
340 |
+
g.graph_attr.update(rankdir='TD')
|
341 |
|
342 |
|
343 |
+
|
344 |
+
# SOP-01: Risk Assessment
|
345 |
st.graphviz_chart('''
|
346 |
digraph {
|
|
|
347 |
A [label="SOP-01: Risk Assessment π―"]
|
348 |
B [label="Risk Context π"]
|
349 |
C [label="Evaluating Risks π"]
|
|
|
351 |
E [label="Compliance Risk β οΈ"]
|
352 |
F [label="Analysis Role π"]
|
353 |
G [label="Risk Management πΌ"]
|
354 |
+
|
355 |
+
A -> B
|
356 |
+
A -> C
|
357 |
+
A -> D
|
358 |
+
A -> E
|
359 |
+
A -> F
|
360 |
+
A -> G
|
361 |
+
}
|
362 |
+
''')
|
363 |
|
364 |
+
# SOP-02: Policy Development
|
365 |
+
st.graphviz_chart('''
|
366 |
+
digraph {
|
367 |
H [label="SOP-02: Policy Development π"]
|
368 |
I [label="Policy Definition π"]
|
369 |
J [label="Policy Process π"]
|
370 |
K [label="Clear Policies π‘"]
|
371 |
+
|
372 |
+
H -> I
|
373 |
+
H -> J
|
374 |
+
H -> K
|
375 |
+
}
|
376 |
+
''')
|
377 |
|
378 |
+
# SOP-03: Training
|
379 |
+
st.graphviz_chart('''
|
380 |
+
digraph {
|
381 |
L [label="SOP-03: Training π"]
|
382 |
M [label="Training Definition π§ "]
|
383 |
N [label="Regular Training ποΈ"]
|
384 |
O [label="Providing Training πΌ"]
|
385 |
+
|
386 |
+
L -> M
|
387 |
+
L -> N
|
388 |
+
L -> O
|
389 |
+
}
|
390 |
+
''')
|
391 |
|
392 |
+
# SOP-04: Monitoring
|
393 |
+
st.graphviz_chart('''
|
394 |
+
digraph {
|
395 |
P [label="SOP-04: Monitoring π"]
|
396 |
Q [label="Monitoring Definition ποΈ"]
|
397 |
R [label="Periodic Monitoring β³"]
|
398 |
+
|
399 |
+
P -> Q
|
400 |
+
P -> R
|
401 |
+
}
|
402 |
+
''')
|
403 |
|
404 |
+
# SOP-05: Reporting
|
405 |
+
st.graphviz_chart('''
|
406 |
+
digraph {
|
407 |
S [label="SOP-05: Reporting π"]
|
408 |
T [label="Reporting Process π"]
|
409 |
U [label="Compliance Issues π©"]
|
410 |
+
|
411 |
+
S -> T
|
412 |
+
S -> U
|
413 |
+
}
|
414 |
+
''')
|
415 |
|
416 |
+
# SOP-06: Incident Management
|
417 |
+
st.graphviz_chart('''
|
418 |
+
digraph {
|
419 |
V [label="SOP-06: Incident Management π¨"]
|
420 |
W [label="Incident Definition β"]
|
421 |
X [label="Handling Incidents π©βπ§"]
|
422 |
Y [label="Corrective Actions π§"]
|
423 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
424 |
V -> W
|
425 |
V -> X
|
426 |
V -> Y
|
427 |
+
}
|
428 |
+
''')
|
429 |
|
430 |
+
# SOP-07: Recordkeeping
|
431 |
+
st.graphviz_chart('''
|
432 |
+
digraph {
|
433 |
+
Z [label="SOP-07: Recordkeeping ποΈ"]
|
434 |
+
AA [label="Maintaining Records π"]
|
435 |
+
|
436 |
Z -> AA
|
437 |
}
|
438 |
''')
|
439 |
+
|