Graph utilities#

add_reverse_edges(graph, *[, mapping])

Returns a graph with added reverse edges (with suffix '_r' by default).

change_edges(graph, mapping)

Returns a graph with relabeled edges by specified edge labels mapping.

edges_statistics

Returns statistics of graph edges.

filter_edges(graph, labels)

Returns a graph with filtered edges.

multiple_source_utils

Utilities for the multiple-source query evaluation.

nodes_to_integers(graph)

Returns a graph with nodes converted to integers.