This commit is contained in:
Joeri Exelmans 2025-07-23 15:15:17 +02:00
parent 6b5931343d
commit 457aac48b3
2 changed files with 30 additions and 15 deletions

View file

@ -139,7 +139,7 @@ from transformation import rewriter
m_rewritten = clone_od(state, m, mm) # copy our model before rewriting (this is optional - we do this so we can later render the model before and after rewrite in a single PlantUML diagram)
lhs_match = all_matches[0] # select one match
rhs_match = rewriter.rewrite(state, lhs, rhs, ramified_mm, lhs_match, m_rewritten, mm)
rhs_match = rewriter.rewrite(state, rhs, ramified_mm, lhs_match, m_rewritten, mm)
# Let's render everything as PlantUML: