Graph, Graph Algorithm.
elements of the adjacency matrix, as shown below. The CSR format has three different arrays: rowptr, colidx, and values. rowptr array points to the beginning of the non-zero elements each row has. In other words, the number in each index is equal to the number of non-zero elements before that row.