def iter_initial_relations(self, subject_graph):
if self.pattern_graph.num_edges != subject_graph.num_edges:<EOL><INDENT>return <EOL><DEDENT>for pair in CustomPattern.iter_initial_relations(self, subject_graph):<EOL><INDENT>yield pair<EOL><DEDENT>
Iterate over all valid initial relations for a match