ModelApi getElementByPath should be renamed to reflect the fact that this function will create the element if it does not exist.
The same with SGraph function getElementFromPath
def getElementFromPath(self, i):
"""TODO Rename as createOrGetElementFromPath because the name is misleading."""
ModelApi getElementByPath should be renamed to reflect the fact that this function will create the element if it does not exist.
The same with SGraph function getElementFromPath