|
@@ -119,7 +119,7 @@ Element function create_metamodels():
|
|
|
retype(mm_bottom, mm_bottom, dict_read(mm_bottom_model, "__Inheritance"), mapping)
|
|
|
export_node("models/LTM_bottom", mm_bottom)
|
|
|
|
|
|
- return 0
|
|
|
+ return dict_read(dict_read(read_root(), "__hierarchy"), "models")
|
|
|
|
|
|
String function petrinet_constraints(model : Element):
|
|
|
// Check places to have positive number of tokens
|
|
@@ -480,10 +480,7 @@ Element function initial_prompt():
|
|
|
Element my_model
|
|
|
String mm_name
|
|
|
|
|
|
- create_metamodels()
|
|
|
-
|
|
|
- dict_add(dict_read(read_root(), "__hierarchy"), "models", create_node())
|
|
|
- root = dict_read(dict_read(read_root(), "__hierarchy"), "models")
|
|
|
+ root = create_metamodels()
|
|
|
|
|
|
while (True):
|
|
|
output("Please give your command.")
|