Reference articles on history, science, culture and more
Encyclopedia

Graph operations

Procedures for constructing new graphs in graph theory

In the mathematical field of graph theory, graph operations are operations which produce new graphs from initial ones. They include both unary (one input) and binary (two input) operations.

01Unary operations

Unary operations create a new graph from a single initial graph.

Elementary operations

Elementary operations or editing operations, which are also known as graph edit operations, create a new graph from one initial one by a simple local change, such as addition or deletion of a vertex or of an edge, merging and splitting of vertices, edge contraction, etc. The graph edit distance between a pair of graphs is the minimum number of elementary operations required to transform one graph into the other.

Advanced operations

Advanced operations create a new graph from an initial one by a complex change, such as:

02Binary operations

Binary operations create a new graph from two initial graphs G1 = (V1, E1) and G2 = (V2, E2), such as:

  • graph union: G1G2. There are two definitions. In the most common one, the disjoint union of graphs, the union is assumed to be disjoint. Less commonly (though more consistent with the general definition of union in mathematics) the union of two graphs is defined as the graph (V1V2, E1E2).
  • graph intersection: G1G2 = (V1V2, E1E2);
  • graph join: G_{1}\nabla G_{2}. Graph with all the edges that connect the vertices of the first graph with the vertices of the second graph. It is a commutative operation (for unlabelled graphs);
  • graph products based on the cartesian product of the vertex sets:
  • graph product based on other products:
  • series-parallel graph composition:
    • parallel graph composition: it is a commutative operation (for unlabelled graphs),
    • series graph composition: it is a non-commutative operation,
    • source graph composition: it is a commutative operation (for unlabelled graphs);
  • Hajós construction.
Watch videos about Graph operationsExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article Graph operations, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.