Module transformations

Module transformations 

Source
Expand description

Graph transformation algorithms

This module provides algorithms for transforming graphs into different representations and extracting subgraphs.

Functionsยง

cartesian_product
Computes the Cartesian product of two graphs
complement
Computes the complement of a graph
edge_subgraph
Extracts an edge-induced subgraph
line_digraph
Creates a line graph from a directed graph
line_graph
Creates a line graph from the input graph
subdigraph
Extracts a subgraph from a directed graph
subgraph
Extracts a subgraph containing only the specified nodes
tensor_product
Computes the tensor product (Kronecker product) of two graphs
weight_filtered_subgraph
Creates a spanning subgraph with only edges of specified weights