awacke1 commited on
Commit
7b50499
Β·
1 Parent(s): f878c8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +59 -27
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
+