networkx.WeightedMultiDiGraphMatcher.syntactic_feasibility
networkx.GraphMatcher.initialize
Enter search terms or a module, class or function name.
Initialize GraphMatcher.
G1,G2: NetworkX Graph or MultiGraph instances. :
The two graphs to check for isomorphism.
Examples
To create a GraphMatcher which checks for syntactic feasibility:
>>> G1 = nx.path_graph(4) >>> G2 = nx.path_graph(4) >>> GM = nx.GraphMatcher(G1,G2)