graphy.utils - Module with utilities for working with graphs

Module implementing useful functions for working with graphs.

graphy.utils.get_laplacian(mx)[source]

Return laplacian of a graph represented by a matrix.

Parameters:
mx2-dimensional np.array

Matrix representing graph

Returns:
2-dimensional np.array

Laplacian of graph