Skip to content

@graphty/algorithms / index / findAllIsomorphisms

Function: findAllIsomorphisms() ​

findAllIsomorphisms(s1, s2, options?): U32[]

Defined in: indexed/isomorphism.ts:321

Every isomorphism from s1 to s2, with the neighbourhood rules of isGraphIsomorphic. Two empty graphs have one, the empty mapping.

Parameters ​

s1 ​

GraphSnapshot

The first graph

s2 ​

GraphSnapshot

The second graph

options? ​

IsomorphismOptions = {}

Node and edge match predicates

Returns ​

U32[]

One array per isomorphism: the image in s2 of every node of s1