diff --git a/src/data/db.js b/src/data/db.js index dda7320..0cf417a 100644 --- a/src/data/db.js +++ b/src/data/db.js @@ -40,6 +40,9 @@ grafine.graph.prototype.create = function(type, parent, ast) { var point = node.create(type, this); point = graphCreatePoint.apply(this, [point]); point.consume(file, parent, ast); + if (point.refreshRelations) { + point.refreshRelations(); + } return point; };