petri net formalism: add inhibitor arc
This commit is contained in:
parent
da4f1718ce
commit
6571d8556c
6 changed files with 33 additions and 13 deletions
|
|
@ -42,5 +42,5 @@ def render_petri_net(od: ODAPI):
|
|||
src_name = od.get_name(od.get_source(arc))
|
||||
tgt_name = od.get_name(od.get_target(arc))
|
||||
dot += f"{src_name} -> {tgt_name};"
|
||||
show_graphviz(dot, engine="dot")
|
||||
show_graphviz(dot, engine="neato")
|
||||
return ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue