Bridging The Gap Between Sparse Matrix Computation And Graph Models