Skip to content

Commit 10134d8

Browse files
Merge pull request #89 from inzva/muratbiberoglu-patch
fix image visibility at graph pages
2 parents c400da3 + ef6e27e commit 10134d8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/graph/breadth-first-search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88

99
Breadth First Search (BFS) is an algorithm for traversing or searching tree. (For example, you can find the shortest path from one node to another in an unweighted graph.)
1010

11-
<figure>
11+
<figure markdown="span">
1212
![Breadth First Search Traversal](img/bfs.jpg)
1313
<figcaption>An example breadth first search traversal</figcaption>
1414
</figure>

docs/graph/shortest-path.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tags:
1010

1111
Let \(G(V,E)\) be a graph, \(v_i\) and \(v_j\) be two nodes of \(G\). We say a path between \(v_i\) and \(v_j\) is the shortest path if sum of the edge weights (cost) in the path is minimum. In other words, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized. [5]
1212

13-
<figure>
13+
<figure markdown="span">
1414
![Shortest Path](img/shortest.png)
1515
<figcaption>Example shortest path in graph. Source is A and target is F. Image taken from [5].</figcaption>
1616
</figure>

docs/graph/topological-sort.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ There are many important usages of topological sorting in computer science; appl
1414

1515
There are known algorithms (e.g Kahn’s algorithm) to find topological order in linear time. Below, you can find one of the implementations:
1616

17-
<figure>
17+
<figure markdown="span">
1818
![Topological Order](img/toporder.png)
1919
<figcaption>For example, a topological sorting of this graph is “5 4 2 3 1 0”. There can be more than one topological sorting for a graph. For example, another topological sorting of the following graph is “4 5 2 3 1 0”. The first vertex in topological sorting is always a vertex with in-degree as 0 (a vertex with no incoming edges)[6].</figcaption>
2020
</figure>

0 commit comments

Comments
 (0)