datavis-tech / graph-data-structure

A graph data structure with topological sort and shortest path algorithms.
MIT License
249 stars 46 forks source link

Return Shortest Path Weight #17

Closed curran closed 6 years ago

curran commented 6 years ago

The weight of the shortest path should be returned, so that it can be used in, for example, estimating distance traveled.