Add 'cloner'. Example also uses concrete syntax for LHS and RHS. Renders all possible rewrites and morphisms with LHS and RHS.
This commit is contained in:
parent
e875821e70
commit
c351649d23
3 changed files with 129 additions and 93 deletions
|
|
@ -1,12 +1,10 @@
|
|||
# Renderer for Object Diagrams textual concrete syntax
|
||||
|
||||
from services import od
|
||||
from services.bottom.V0 import Bottom
|
||||
from concrete_syntax.common import display_value
|
||||
|
||||
|
||||
def render_od(state, m_id, mm_id, hide_names=True):
|
||||
bottom = Bottom(state)
|
||||
output = ""
|
||||
|
||||
m_od = od.OD(mm_id, m_id, state)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue