find_pattern_in_sgraph

analyze.find_pattern_in_sgraph(sgraph, pattern)

Find subgraph isomorphisms of pattern in sgraph (element and bond_type node/edge matching).

Parameters

Name Type Description Default
sgraph the graph we want to search for the pattern in required
pattern The pattern graph to be searched for required

Returns

Name Type Description
A list of dictionaries. Each dictionary has the node labels of the pattern as keys and the node labels of the sgraph as values.