Graph (class)

Documentation for the graph class. .. currentmodule:: grakelx

grakelx.Graph([initialization_object, ...])

The general graph class.

grakelx.graph.is_adjacency(g[, transform])

Define if input is in a valid adjacency matrix format.

grakelx.graph.is_edge_dictionary(g[, transform])

Define if input is in a valid edge dictionary format.

grakelx.graph.laplacian(csgraph[, normed, ...])

Return the Laplacian of a directed graph.

grakelx.graph.floyd_warshall(adjacency_matrix)

Calculate the Floyd Warshall, shortest path matrix.