diff --git a/plugins/org.eclipse.elk.graph.json/src/org/eclipse/elk/graph/json/JsonImporter.xtend b/plugins/org.eclipse.elk.graph.json/src/org/eclipse/elk/graph/json/JsonImporter.xtend index e2c475f7a..85cdbc88e 100644 --- a/plugins/org.eclipse.elk.graph.json/src/org/eclipse/elk/graph/json/JsonImporter.xtend +++ b/plugins/org.eclipse.elk.graph.json/src/org/eclipse/elk/graph/json/JsonImporter.xtend @@ -580,10 +580,10 @@ final class JsonImporter { do { if (ancestor !== null) { ecm = ancestor.getProperty(CoreOptions.JSON_EDGE_COORDS) ?: EdgeCoords.INHERIT + ancestor = ancestor.getParent } else { ecm = EdgeCoords.CONTAINER } - ancestor = ancestor.getParent } while (ecm === EdgeCoords.INHERIT) return ecm }