This function converts a directed adjacency matrix to a matrix of Hadamard distances based on the overlap of neighbors. The implementation is efficiently based on matrix multiplications.
an N-by-N adjacency matrix holding TRUE or 1 values for edges
an N-by-N matrix with the Hadamard coefficient of neighbor overlap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.