~bfiedler/website

0ddb099920530be5d76442e4af72f638e7520ef2 — Ben Fiedler 1 year, 28 days ago 03fb663
Add alt tags to images
2 files changed, 3 insertions(+), 3 deletions(-)

M content/blog/solving-graph-problems-in-bash.md
M layouts/partials/header.html
M content/blog/solving-graph-problems-in-bash.md => content/blog/solving-graph-problems-in-bash.md +2 -2
@@ 54,7 54,7 @@ vertices ordered by their distance from the root: First comes the root itself,
then the root's neighbors, then the root's neighbors' neighbors, etc. Let
us have a look at an example, a tree rooted at vertex 0:

{{< figure class="invertable resizable" src="/blog/img/rooted-tree.svg" >}}
{{< figure class="invertable resizable" src="/blog/img/rooted-tree.svg" alt="A tree with 7 vertices, rooted at vertex 0" >}}

We can easily translate this tree into a directory structure:



@@ 232,7 232,7 @@ in that directory create symbolic links to all of its neighbors.  If you recall
the different forms of graph representation before this corresponds to adjacency
lists. Let us try this with a simple example:

{{< figure class="invertable resizable" src="/blog/img/graph.svg" >}}
{{< figure class="invertable resizable" src="/blog/img/graph.svg" alt="A triangle with a three-armed star glued to one edge" >}}

We can create the graph as follows:


M layouts/partials/header.html => layouts/partials/header.html +1 -1
@@ 1,6 1,6 @@
<header{{ if default false .IsDetailed }} class="detailed"{{ end }}>
    {{- if default false .DisplayImage }}
    <img src="/img/me/96px.jpg">
    <img src="/img/me/96px.jpg" alt="A picture of me">
    {{- end }}
    <h1><a href="{{ .context.Site.BaseURL }}">Ben Fiedler</a></h1>
    <nav{{ if default false .IsDetailed }} class="detailed"{{ end }}>