Skip to content

@graphty/algorithms / index / findAllIsomorphisms

Function: findAllIsomorphisms() ​

findAllIsomorphisms(graph1, graph2, options): Map<NodeId, NodeId>[]

Defined in: algorithms/matching/isomorphism.ts:374

Find all isomorphisms between two graphs

Parameters ​

graph1 ​

Graph

The first graph to compare

graph2 ​

Graph

The second graph to compare

options ​

IsomorphismOptions = {}

Optional configuration for node and edge matching predicates

Returns ​

Map<NodeId, NodeId>[]

An array of all possible node mappings between the graphs