\typedef igraph_isocompat_t
Callback type, called to check whether two vertices or edges are compatible
VF2 (subgraph) isomorphism functions can be restricted by defining
relations on the vertices and/or edges of the graphs, and then checking
whether the vertices (edges) match according to these relations.
This feature is implemented by two callbacks, one for
vertices, one for edges. Every time igraph tries to match a vertex (edge)
of the first (sub)graph to a vertex of the second graph, the vertex
(edge) compatibility callback is called. The callback returns a
logical value, giving whether the two vertices match.
Both callback functions are of type \c igraph_isocompat_t.
\param graph1 The first graph.
\param graph2 The second graph.
\param g1_num The id of a vertex or edge in the first graph.
\param g2_num The id of a vertex or edge in the second graph.
\param arg Extra argument to pass to the callback functions.
\return Logical scalar, whether vertex (or edge) \p g1_num in \p graph1
is compatible with vertex (or edge) \p g2_num in \p graph2.