Graph morphism
From Wikipedia, the free encyclopedia
In mathematics, a graph morphism in graph theory assigns the nodes and edges of a given graph to the nodes and edges of another graph while the shape of the original graph is preserved. In the case of labeled graphs the node and edge labeling is preserved too. Mathematically a graph morphism is a pair of functions, where one of these functions is a node mapping and the other one is an edge mapping.
In termini of labeled directed multigraphs a graph morphism is defined as follows: Given two labeled directed multigraphs
and
- .
Then a graph morphism is a pair of functions
with
- and , which denotes the preservation of the shape.
- and , which denotes the preservation of the node and edge labeling.