Skip to content

Commit 606f96c

Browse files
author
Tobias Brennecke
committed
#540 always add the pattern to the graph
1 parent 64e6ba0 commit 606f96c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/lib/lineage_hunter.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ var lineage_hunter = function () {
77
var pa = require('./pattern_assembler');
88

99
function findlineage(pattern, patternlab) {
10+
// As we are adding edges from pattern to ancestor patterns, ensure it is known to the graph
11+
patternlab.graph.add(pattern);
1012

1113
var pattern_assembler = new pa();
1214

0 commit comments

Comments
 (0)