Graph (class)#

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

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

The general graph class.

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

Define if input is in a valid adjacency matrix format.

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

Define if input is in a valid edge dictionary format.

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

Re-export of scipy.sparse.csgraph.laplacian.

grakel.graph.floyd_warshall(adjacency_matrix)

Calculate the Floyd Warshall, shortest path matrix.