Skip to content

Commit cf6396b

Browse files
authored
Merge pull request #52 from edgardmessias/patch-2
Added missing refreshRelations call
2 parents 85b72c1 + a7c99c6 commit cf6396b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/data/db.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ grafine.graph.prototype.create = function(type, parent, ast) {
4040
var point = node.create(type, this);
4141
point = graphCreatePoint.apply(this, [point]);
4242
point.consume(file, parent, ast);
43+
if (point.refreshRelations) {
44+
point.refreshRelations();
45+
}
4346
return point;
4447
};
4548

0 commit comments

Comments
 (0)