datavis-tech / graph-data-structure

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

adding edge weights #15

Closed curran closed 7 years ago

curran commented 7 years ago

Relates to #14

curran commented 7 years ago

@merjana Please have a look here. Would this be useful to you? For Dijkstra's algorithm, the getWeight(u, v) function can be used.

curran commented 7 years ago

TODO here:

merjana commented 7 years ago

thank you so much, that will be usefull