This Website As A Graph

22 Feb 2023 graph conceptual website meta

So I’ve always wanted to represent this website to be a visual representation of the “web” that it creates, i.e.:

To do this:

So the first step was to convert the website source into a graph. A ruby script later, I had a Graphviz source file that depicted the site, its pages, and their links both within the site and to the rest of the internet. A simple Graphviz dot output looked like this:

Simple Graphviz Dot graph of this website

Of course, this was pointless, so I tried out all the other rendering engines in Graphviz

FDP:

Graphviz FDP graph of this website

SFDP:

Graphviz SFDP graph of this website

Osage:

Graphviz Osage graph of this website

I did not know that Graphviz could do Treemaps, but apparently it can:

Graphviz Treemap of this website

2PI, which was somewhat usable: the home page linked to the blog, which was the inner circle, which then linked to various pages on the web, represented by the outer circle.

Graphviz FDP graph of this website

But by far the most comprehensible ones were those ouput from:

GVMap:

Graphviz FDP graph of this website

Graphviz FDP graph of this website

Graphviz FDP graph of this website

It looked like a country of sorts, with the home page and blog cities. I finally had my home page representation!

Except…I was not sure I should have this as my home page. It did not make it easy to discover content, as the only way to find anythin was to mouse over the dots that represent the documents. Also, and this is stating the obvious, I realized that most people dont really care how they reached a given page, but that they got it. So now working on a semantic zoom widget.

© 2024 Vinod KD