Skip to content

Commit

Permalink
Merge pull request #52 from edgardmessias/patch-2
Browse files Browse the repository at this point in the history
Added missing refreshRelations call
  • Loading branch information
ichiriac committed Jun 10, 2020
2 parents 85b72c1 + a7c99c6 commit cf6396b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/data/db.js
Expand Up @@ -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;
};

Expand Down

0 comments on commit cf6396b

Please sign in to comment.