|
@@ -42,8 +42,8 @@ Element function model_fuse(models : Element):
|
|
if (is_edge(model["model"][key])):
|
|
if (is_edge(model["model"][key])):
|
|
String src
|
|
String src
|
|
String dst
|
|
String dst
|
|
- src = model_name + cast_e2s(reverse[cast_id2s(read_edge_src(model["model"][key]))])
|
|
|
|
- dst = model_name + cast_e2s(reverse[cast_id2s(read_edge_dst(model["model"][key]))])
|
|
|
|
|
|
+ src = string_join(model_name, reverse[cast_id2s(read_edge_src(model["model"][key]))])
|
|
|
|
+ dst = string_join(model_name, reverse[cast_id2s(read_edge_dst(model["model"][key]))])
|
|
if (bool_and(dict_in(new_model["model"], src), dict_in(new_model["model"], dst))):
|
|
if (bool_and(dict_in(new_model["model"], src), dict_in(new_model["model"], dst))):
|
|
instantiate_link(new_model, type, model_name + key, src, dst)
|
|
instantiate_link(new_model, type, model_name + key, src, dst)
|
|
else:
|
|
else:
|