draw filled boxes for petri net example/tutorial
This commit is contained in:
parent
ccf075e2e7
commit
c9c6b4863d
1 changed files with 4 additions and 4 deletions
|
|
@ -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} )─────►███
|
||||
███ ███ ███
|
||||
▲ │ ▲ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue