merging (meta-)models works (but it's dirty!)

This commit is contained in:
Joeri Exelmans 2024-12-03 17:58:03 +01:00
parent c31c8bf3ea
commit 9883e09ac2
17 changed files with 474 additions and 46 deletions

View file

@ -33,6 +33,7 @@ class PyState(State):
return new_id
def create_edge(self, source: Element, target: Element) -> Optional[Edge]:
# TODO: why does this call SILENTLY fail if source/target does not exist ???????????
if source not in self.edges and source not in self.nodes:
return None
elif target not in self.edges and target not in self.nodes: