Browse Source

draw filled boxes for petri net example/tutorial

Joeri Exelmans 1 year ago
parent
commit
c9c6b4863d
1 changed files with 4 additions and 4 deletions
  1. 4 4
      tutorial/05_advanced_transformation.py

+ 4 - 4
tutorial/05_advanced_transformation.py

@@ -187,10 +187,10 @@ def show_petri_net(m):
     cp2 = odapi.get_slot_value(odapi.get("cp2"), "tokens")
     return f"""
      t1                   t2                   t3  
-     ┌─┐        p1        ┌─┐        p2        ┌─┐ 
-     │ │                  │ │                  │ │ 
-     │ ├─────► ( {p1} )─────►│ │─────► ( {p2} )─────►│ │ 
-     └─┘                  └─┘                  └─┘ 
+     ███        p1        ███        p2        ███ 
+     ███                  ███                  ███ 
+     ███─────► ( {p1} )─────►███─────► ( {p2} )─────►███ 
+     ███                  ███                  ███ 
       ▲                   │ ▲                   │  
       │                   │ │                   │  
       │                   │ │                   │