Skip to content

Commit afc5f2d

Browse files
committed
try to include the image from the article
1 parent 1df975c commit afc5f2d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@ fixes and more tests than the original. See also
2222
[Dijkstra's algorithm](https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm) on
2323
Wikipedia.
2424

25+
# Documentation
26+
27+
```sh
28+
deno doc --reload https://deno.land/x/dijkstras_algorithm/dijkstra.ts
29+
```
30+
31+
# Run Tests
32+
33+
```sh
34+
deno test --reload
35+
```
36+
2537
# Usage Hints
2638

2739
Dijkstra's algorithm actually calculates the shortest paths from the start node
@@ -43,6 +55,8 @@ nodes are mapped to integers from `0` to `n-1`. The names and weights are taken
4355
from
4456
[A Walkthrough of Dijkstra's Algorithm (In JavaScript!)](https://medium.com/@adriennetjohnson/a-walkthrough-of-dijkstras-algorithm-in-javascript-e94b74192026).
4557

58+
![Example Graph](https://miro.medium.com/max/2400/1*lTVbpbmx3OWbKSWLp7M3ug.jpeg)
59+
4660
```ts
4761
const FULLSTACK = 0;
4862
const DIGINN = 1;

0 commit comments

Comments
 (0)