Given a graph composed of Nodes (Blocks) and Edges, this app returns a CSV file with the shortest distance between all nodes. It uses the Dijkstra algorithm to calculate the Matrix. The app has a sample graph which can be used to copy the format of the blocks. You can download the app "CSVtoNodes" from the Autodesk App Store to insert the nodes. Edges can be polylines or lines and must start and end in a node.