The Wayback Machine - https://web.archive.org/web/20060721120408/http://www.aharef.info:80/2006/05/websites_as_graphs.htm

« Yes! Yesss!! Oh my Goooood!!!! | Main | Happy Birthday Aharef »

Websites as graphs

Everyday, we look at dozens of websites. The structure of these websites is defined in HTML, the lingua franca for publishing information on the web. Your browser's job is to render the HTML according to the specs (most of the time, at least). You can look at the code behind any website by selecting the "View source" tab somewhere in your browser's menu.

HTML consists of so-called tags, like the A tag for links, IMG tag for images and so on. Since tags are nested in other tags, they are arranged in a hierarchical manner, and that hierarchy can be represented as a graph. I've written a little app that visualizes such a graph, and here are some screenshots of websites that I often look at.

I've used some color to indicate the most used tags in the following way:

blue: for links (the A tag)
red: for tables (TABLE, TR and TD tags)
green: for the DIV tag
violet: for images (the IMG tag)
yellow: for forms (FORM, INPUT, TEXTAREA, SELECT and OPTION tags)
orange: for linebreaks and blockquotes (BR, P, and BLOCKQUOTE tags)
black: the HTML tag, the root node
gray: all other tags

Here I post a couple of screenshots, and I plan to make the app available as an applet, so that anybody can look at their websites in a new way. 

 

Update: Here it is: http://www.aharef.info/static/htmlgraph/

 

cnn.com

CNN has a complicated but typical tag structure of a portal: Lots of links, lots of images. Similar use of divs and tables for layouting purposes. (1316 tags)

 

cnn

 

boingboing.net

boingboing, my favorite blog, has a very simple tag structure: there seems to be one essential container that contains all other tags, essentially links (lots!), images, and tags to layout the text. A typical content driven website. (1056 tags)

 

boingboing
 

apple.com

As always, simplicity rules at Apple's website. A few images and links, that's it. Note the large yellow cluster, representing a dropdown menu. (350 tags)

apple

 yahoo.com

Yahoo seems to be stuck in the old days of HTML style: most of the tags are tables, used for layouting - no divs. Very uncommon these days. (952 tags) 

 

yahoo
 

wired.com

The complete opposite of yahoo - this site uses almost no tables at all, only divs (green). It's nice to see how the div tags are holding the other elements, like links and images, together. (454 tags)

 

wired
 

msn.com

Surprisingly, at least to me, Microsoft's portal is very much div-driven. Also of note is it's very scarce use of images. (633 tags)

 

msn
 

google.com

Today, google is everywhere, but if somebody had asked me 5 years ago why I was using google, and wanted a visual answer, here it is (88 tags): 

 

google
 
 

 

 

I finish with two of my own projects:

aharef.info

What can I say? I like it ;-) No tables, lots of links, simple structure. A typical Movable Type site, I guess. (372 tags)

 

aharef
  

onethousandpaintings.com

My personal art project. Although I programmed the site myself, I'm surprised by the simplicity of its tag structure. It shows that you can make beautiful websites with just a few tags ;-) (88 tags) 

 

onethousandpaintings

 

That's it. You can play around with the app, and take a fresh look at websites - here's the applet.

And don't forget to support yours truly by checking out onethousandpaintings.com



TrackBack

TrackBack URL for this entry:
http://www.aharef.info/cgi-bin/mt/mt-t.cgi/71

Listed below are links to weblogs that reference Websites as graphs:

» HTML構造のグラフによる可視化 from 秋元@サイボウズ研究所プログラマーBlog
論文にありそうなネタで、じつは同案多数かもしれないが, Websites as ... [Read More]

» ウェブサイトの構成をグラフで見る from www.blogmemes.jp
cnn.com、boingboing.net、apple.com、 yahoo.com、wired.com、msn.comなどのHTML構造をグラフで見ると面白いです。 凡例: *青:リンク *赤:テーブル *緑:DIV *紫:イメージ *黄色:フォーム... [Read More]

» Website as graph from Make Yellow ...
HTML 구조를 파악 해서 무언가 패턴을 만들어 내는일은 여려가지 시도가 있었을것이라 짐작 되는데, 이블로그 에는 HTML 의 계층을 이용 해서 그림을 그린 스크린샷을 보여준다. 구글 blue: for links [Read More]

» Websites as graphs from freshlabs journal
Kunst mit HTML-Elementen zu schaffen, ist nicht nur durch ergänzendes CSS möglich. Durch die NET-Library von Processing (der Java-Sprache für Kreative) hat Sala von Aharef das sehr interessante Applet “Websites as Graphs” entwickelt. Die... [Read More]

» Tufte Alert! from Ishbadiddle
Websites as graphs HTML consists of so-called tags, like the A tag for links, IMG tag for images and so on. Since tags are nested in other tags, they are arranged in a hierarchical manner, and that hierarchy can be... [Read More]

» Ooooh… Pretty!!! from Nasal Passages
What you’re looking at here is this website represented in a graphical style created by a little java applet by Aharef. ~~via DaringFireball ... [Read More]

» Websites als grafisches Schaubild from Webchew
Wie ist eine Website aufgebaut? Was steckt hinter der Oberfläche, die im Browser dargestellt wird? Sala von Aharef.info hat ein Java-Applet entwickelt, das den Code einer Website analysiert und grafisch darstellt. So werden Links als blaue und Bilde... [Read More]

» HTML DOM-Trees as Graphs from hebig.org/blog
There are quite a few graph tools that visualize the structure of an entire website. htmlgraph is one that visualizes the structure of the HTML DOM-tree of a single page. What makes it interesting is that it color-codes the different... [Read More]

» Blog TXT -html- als Grafik from Blog TXT
Nicht neu aber immer wieder schön, hätte nicht gedacht, dass es so füllig-blumig-kreativ wird. Aber wer kann es nun wirklich deuten? Vielleicht ein Astrophysiker oder doch eher ein Botaniker? Die Farbpunkte stammen sicherlich aus den Bildern im Blog.Di [Read More]

» Graphing Pharyngula from Pharyngula
Here's a applet that traverses the html of a web page and turns it into a pretty graph. There is an online explanation and examples, too—and here's Pharyngula. The dots are color coded specific classes of html tags. That... [Read More]

» Flower power… from 2803, le blog
Que représente cette animation? Le résultat est là : Et bien selon le site d’aharef c’est la représentation graphique de mon blog. C’est certain que cela change des représentations avec les liens vers les autr... [Read More]

» Falsepositves as a TagGraphTree, add yours.. from False Positives
blue: for links (the A tag) red: for tables (TABLE, TR and TD tags) green: for the DIV tag violet: for images (the IMG tag) yellow: for forms (FORM, INPUT, TEXTAREA, SELECT and OPTION tags) orange: for linebreaks and blockquotes (BR, P... [Read More]

» The Lazier Sunday Afternoon Post from Footsteps in the Mirror
Or how on this lazy sunday afternoon when I can’t do anything else to make your life feel a little better, I give you this instead. ... [Read More]

» Visualiseer je site from Twan van Elk
Dit is mijn site. Althans, zo ziet hij eruit wanneer hij door de HTML DOM Visualizer Applet van Sala is gehaald: De kleuren betekenen het volgende: blauw: voor links (de A tag) rood: voor tabellen (TABLE, TR en TD tags) groen: voor de DIV tag viole... [Read More]

» Die Webseite als schöne Grafik from -=Discobeats=-
Gerade via Basicthinking gefunden: Discobeats.de als nette Grafik Die erklärung der Punkte findet ihr in Roberts Beitrag, bzw. auf der Seite (AHref) ... [Read More]

» Website als Grafik from MBlog!
Der Unterschied zwischen jobblog.ch… … und marcelwidmer.com Gemacht mit Aharefs Websites as Graphs - hübsch :-) (via Basic Thinking Blog) ... [Read More]

» Website as graphs from World of Leion
I think this is art. This picture is generated with a program in website as graphs. This program takes in a URL and generates connected colour dots by what the website pointed to by the URL has. Each dot is coloured differently depending on ... [Read More]

» Your Site, Naked! from openBLOG - The company weblog of openBC
Nifty little feature from Sala [aharef] found via Robert. Just type in your website or blog url and see your tags popping around like confetti. click here if you can´t resist to test it [Read More]

» Webseite als Graph from Apfel(B)log
Immer wieder mal was Neues im Net: bei websitesasgraphs kannst Du Deine Website als Graph darstellen lassen - was immer auch die Farben bedeuten mögen.. Ich könnte was hinein interpretieren: oben links in rot und bau die Onlinespiele, unten links in ora [Read More]

» website als grafik from bloggin' chm
gerade entdeckt: die eigene website als grafik nette sache. [Read More]

» Websites als Graphen from FastJacks Paralleluniversum
Ich bin immer wieder erstaunt, zu welch faszinierenden Ergebnissen, das visualisieren von Daten führen kann. „Websites as graphs“ kann die DOM-Struktur einer HTML-Seite als einen Graphen darstellen. Dort gibt es auch Bilder von... [Read More]

» Grafick� mapa str�nky from Rammi.cz
Dnes jsem na�el velice zaj�mavy applet, kter� dok�e graficky zn�zornit strukturu HTML na str�nce. Pro zaj�mavost takto vypada struktura tohoto webu: Kde: modr�: odkazy (A) �erven�: tabulky (TABLE, TR, TD) zelen�: pro DIV tagy fialov�: obr�zky (IMG) ... [Read More]

» Websites as Graphs from Igor Nikolic .com - Science, art, politics and technology, the way I see it...
Websites as graphs Below you can see how this website look from the inside : [Read More]

» Webseiten graphisch dargestellt from sansegundo.de
Ein nettes Tool, um sich Webseiten graphisch strukturiert anzuschauen bietet man auf aharef.info an. Webseiten werden vom Applet geparsed und anschließend werden die Tags durch farbige Punkte dargestellt und man kann sich schnell ein Bild davon machen... [Read More]

» Mach dir ein Bild from J!Blawg - Das Jura Blog aus Münster
Heute mal etwas Off-Topic: Eine wunderbare Möglichkeit, den hierarchischen Aufbau von Websites zu visualisieren, hat sich der Schweizer Student Marcel Salathé ausgedacht. In seinem Weblog “Aharef“veröffentlichte er ein Java-Apple... [Read More]

» Websites as Graphs from Wormulon.net
Christian posted this link to #lug-kiel: Websites as graphs. Once I fired up the Java Applet I got this result: wormulon.net graphed [Read More]

» Tu web en un diagrama from BlogOnRails.com
Con Websites as Graphs podemos ver la forma que tiene nuestra web mediante nodos que corresponden a etiquetas dentro del html y a líneas. Por ejemplo, uno de mis proyectos ikkaro, tiene el siguiente diagrama: El esquema de colores y algunos ejemplo... [Read More]

» Die Webseite als Tapetenvorlage from matblog
matblog.de visualisiert. Ein wunderschönes Tool zum Visualisieren des DOM-Modells einer Webseite hat Sala, ein Künstler aus der Schweiz, programmiert. Basierend auf Processing, Traer Physics und HTML Parser wird der Source Code einer Seite geparsed u [Read More]

» Websites as graphs from Bibi's box
Websites as graphs: HTML consists of so-called tags, like the A tag for links, IMG tag for images and so on. Since tags are nested in other tags, they are arranged in a hierarchical manner, and that hierarchy can be represented as a graph. I've writte... [Read More]

» 自分のサイトのHTML��グラフ化するアプレット from Sukima Windows Plus
→Websites as graphs - an HTML DOM Visua... [Read More]

» Websites As Graphs from Hotelblues.com
Gawain sent me this link which outputs a website’s HTML as a graph. It’s fascinating just to watch this thing render a website in this way. Of course my site is a mess. Below is the thumb to the full picture. blue: for links (the A tag)... [Read More]

» websites as graphs from netzkobol.de blog | next generation online marketing
at first i thought it is a kind of social network analysis (sna) tool which represents your blogging network. but the "websites as graphs" project is more an applet which represents website/link structures as graphs, which in fact includes some sna inform [Read More]

» Web floreale from Alessandro Zarcone
Grazie a Samuele, ho scoperto questa simpaticissima Applet Java in grado di trasformare la struttura di un sito in un disegno floreale, abbinado colori diversi ad oggetti diversi. Di seguito trovate l'immagine finale creata ed anche il video. Il li... [Read More]

» Websites as graphs from oscarblog
指定したURLのHTML構造を解析し、視覚化するJavaアプレット「Websites as graphs」。... [Read More]

» Wenn Charming Quark ein Bild wäre … from Charming Quark
via mala fide Erläuterung der Farben ... [Read More]

» Preisrätsel from The Fellow Passenger
Um herauszufinden, wie toll Internetseiten sind, gibt es massenhaft höchst erstaunliche Messinstrumente. Allen voran sogenannte Counter, deren beste Eigenschaft es wohl ist, daß man sich das Ergebnis weitgehend selbt aussuchen kann. Je nachdem, welch... [Read More]

» Web-Grafik mal anders from Volker Wegert
Unter http://www.aharef.info/static/htmlgraph/ gibt's ein nettes Applet, mit dem man Webseiten als Graphen darstellen kann - nicht nur das, man kann dem Graphen beim Wachsen zugucken. Unter http://www.aharef.info/2006/05/websites_as_graphs.htm sind einige [Read More]

» HTML DOM Visualizer from Bahlco

Eine wirklich nettes Tool ist der HTML DOM Visualisierer von aharef. Das Java Applet zeigt eine nett animierte Baumstruktur die den Aufbau der Website visualisiert. Also all die DIV-Tags, Links und Meta-Teile die dazu führen daß e...

[Read More]

» This website as a graph from Ugh!!'s GreyMatter Honeypot
[Read More]

» Cool: Web-Seiten als bunte Grafen from blog
Bei Aharef gibt es ein Java-Applet, da� Webseiten in Grafen konvertiert. Den verschiedenen Tags werden verschiedenfarbige Knoten zugeordnet und sie werden miteinander verbunden. Ein bischen problematisch ist nur, da� die Ausgabe nicht so einfach in ein [Read More]

» Websites als Grafiken from PAGE Weblog

Ein faszinierendes Applet von ahref visualisiert die Struktur des HTML-Codes, der einer Website zugrunde liegt, indem er die Verknüpfungen farbig darstellt und daraus bunte Strukturbäume wachsen lässt. Im Weblog hat der Verfasser ...

[Read More]

» Websites as graphs from 随·心所欲

呵呵,知道下面的"分子模型"(?)是什么吗?

http://perichr.cn/

http://perichr.cn/[Read More]

» 网站之分子模型 from 随·心所欲

呵呵,知道下面的"分子模型"(?)是什么吗?

http://perichr.cn/

http://perichr.cn/[Read More]

» Vizualizace webů from softwarové inženýrství
Na blogu Aharef se můžete podívat na moc hezký způsob vizualizace webů. Autor přiřadil jednotlivým skupinám tagů barvu a vytvořil aplet, který prozkoumá strukturu stránky a vygeneruje graf kde každý tag je reprezentován jedním punt�... [Read More]

» Particle Trees from Peters Site
After stumbling across the websites as graphs blog entry at ahref.info, I was fascinated by the simplicity and beauty of this visualization algorithm. Immediatly I took the code of the underlying Java applet and built a small Swing GUI which embeds this p [Read More]

» Graphic fun from And now it's all this
Here’s a nifty graph of And now it’s all this using this applet. The explanation for the colors and the lines (as well as some graphs of well-known sites) is here. Tags: web graph applet java... [Read More]

» UPDATE - spass bis ins morgengrauen from CorpXpress
UPDATE zu spass bis ins morgengrauen eine modifizierte version von websitesasgraphs gibt es auch mkv25.net. diese version erlaubt es auch die tags bei mouse-rollover anzuzeigen. bei art from code findet sich auch eine 3d tree darstellung von webs... [Read More]

» I would've never found this on my own… from Eat at Joe's
…but it's cool. Marilyn's got my back. Everyday, we look at dozens of websites. The structure of these websites is defined in HTML, the lingua franca for publishing information on the web. Your browser's job is to render the HTML a... [Read More]

» HTMLを可視化するツール from BUZZ LIVEYEAR
 ここのところGolfの投稿ばかりが続いたので、その間にたまったネタを書き込みた... [Read More]

» Fun Link Friday – 06.02.2006 from Viaspire - Define.Innovate.Maximize.
Connecting the Dots By Heather D At the end of the week we feel it appropriate to “connect the dots” and feature this uber cool site that creates visual graphs out of the hierarchy of website HTML tags. Sala Aharef, [Read More]

» Die Webseite als ein sch�ner Graph from Qbi's Weblog
Bei Daniel las ich k�rzlich von der M�glichkeit, seine Webseite als Graphen darzustellen. Leider braucht man f�r das Applet Java und ich kam erst heute an einen javaf�higen Rechner. So sieht das Blog bzw. die Hauptseite aus: [Read More]

» Websites As Graphs from fluxon.net
As I got asked quite often what you could do with these graphs I keep thinking about I have to post something I read the other day: Graphs visualising the structure of a website might be quite useful to understand the complexity or beauty of certain layo [Read More]

» Web site graphs from Very True Things
What’s that? That’s the output from a rather nifty applet that draws diagrams of the HTML structure of web pages (technically, it produces a graphical representation of a first order approximation of the DOM tree by examing element nodes o... [Read More]

» Web Sites as Graphs from lsloan's blog
Aharef: Websites as graphs Websites as graphs... [Read More]

» Creating from Creating
Creating Online is a free webmaster resource site featuring a wide variety of web design, image editing, photo editing, siteCreating Cu... [Read More]

» Website graphs from Order of the Bath
This appeals to me as a form of immediate accidental art. Though not strictly web site graphs, actually web page, they are a derivative in graphical form of a structure created for another totally different purpose. Here is a graph of the home page of ... [Read More]

» Visualization of tags used in web sites from Exploring Information Design and Development
Interesting to visualize how many tags and what types of tags are used on any web site [Read More]

» Websites as graphs from Kulturclash.
Ein wunderbar animiertes Java-Applet, mit dem man sich die HTML-Struktur einer beliebigen Webseite grafisch darstellen kann, findet sich hier. Unbedingt ausprobieren - es ist wirklich beeindruckend, was für unterschiedliche Ergebnisse bei relativ ähn... [Read More]

» A graph of HTML tags from ProNet
Okay, we can't even pretend this one has a practical value, at least not yet. But it is pretty cool just to look at, and we're always in favor of new ways of looking at things. Sala's made a... [Read More]

» Sitios Web como gráficas from Vecindad Gráfica Diseño Gráfico
Interesante experimento visual, donde se muestran a los sitios en... [Read More]

» Graph your site by the tags used from Keshna's In the middle of NoWhere WeBlog
While searching the Nucleus forum for insite as to why I can't seem to get a specific 'tags' plugin to work properly I came to a post about graphing your site. Or any site for that matter, all you... [Read More]

» Borges, labyrinths, dreaming, graphs, trees, blogs, the internet and viral marketing from The Sebastian
Borges is one of my favorite writers. In "Las Ruinas Circulares" (one of the stories from his famous book "El Jardín de Senderos que se bifurcan") he wrote:"...No ser un hombre, ser la proyección del sueño de otro hombre ...& [Read More]

» Je site als grafiek from 127.0.0.1
Je website als grafiek. Waarom? Omdat het kan. En het kan hier. Het resultaat is best geinig.Meer resultaten op flickr: websiteasgraphs. Met dank aan Aharef en Hacking for Christ.Natuurlijk kon ik het ook niet laten. Dus voor alle lieve kijkers, deze s... [Read More]

» Imagen gráfica de Ciberescrituras from Ciberescrituras
... Ahora bien, el asunto tiene sentido más allá de lo estético, como nos lo explica su creador, quien le ha dado a cada color un significado: , quien le ha dado a cada color un significado: [Read More]

» Graph von Dirks Logbuch ... from Dirks Logbuch
Mit dem Applet von Websites as graphs erstellt (hier ist der dazu passende Blog-Artikel): Link gefunden im Newbie-Net. [Read More]

» Links in Websites als Grafik ansehen from www.endlich-nerd.de
Um die Tag-Struktur innerhalb einer Seite nachzuvollziehen, hat ein nettes Java-Applet geschrieben. Damit bekommt man mal einen ganz anderen Blick auf die eigene Tag-Struktur. So kann man z. B. feststellen, wie viel Tag-M�ll man auf seiner Seite hat L [Read More]

» What does your blog look like? from ShadoWraiths
Here's a snapshot of mine Here's the action version. Sala [aharef] wrote a Java applet using Processing, Traer Physics, and HTMLParser extensions to visually depict a website's HTML DOM structure. He also provides the source code. Very nice j... [Read More]

» Websites as Graphs von aharef.info from blog@japwp
Ein geniales Feature zur Visualisierung der hierarchischen Struktur des HTML Quelltextes einer Site ist das Java Applet Websites as Graphs von aharef.info. Wer Gefallen daran findet, wird vom Autor dazu ermutigt, einen Screenshot der Graphenstrukt... [Read More]

Comments

verrry cool

Great work!

Also, I'm wondering if you've thought about making the code open source? Particularly the graphing part, I'd love to try making graphs of other tree structures, partcularly programming code.

Really amazing visualizations! It really gives you a great high-level overview of a website.

Amazing work, If not opensource, you still can put this app in your website, so that people can atleast buy from you

This is the kind of art that I'd be prone to sticking up on my walls. Or even bleeding straight into.

@Douglas - Yeah, I am happy to make the code open source - problem is, I'm still trying to get this into an applet. As soon as I'm ready, you can find it here.

I've done the programming in processing (i.e Java), and I was using the traer physics library. It's very easy to use for graphing stuff.

非常好,不错!
GOOD!

google does not like divs or what?

You probably wanna visualize mine as well? ;)

Nice work.

where is the black dot for the html tag on the google site?

Tim, have a better look.

@tim & DXL: You were right, there was still an old screenshot with another color scheme. Changed now. Thanks!

Drop Java and use JavaScript and use SVG. Do that and you'll see your code everywhere on the web.

This look really good. Excelent work.

How beautiful. Looking forward to the applet (maybe just release the code if you are comfortable with letting it run free?)

Absolutely. I just want to finish that applet, it looks really beautiful when the network unfolds. I will post source code, no problem - I just don't like to put stuff online that doesn't work. But I'm almost there ;-)

When I read the title of the article, I thought it would be very dull. Graphs aren't my favorite subject, but this is very interesting and I look forward to the release of the applet!

Release the code! This is brilliant...open source?

This is really twinkle twinkle little star.Good.Can I draw the same ?How please let me know.

Ditto on the javascript plus svg idea. Java applets are a pretty bad idea, they're super slow to start up, lots people don't have the plugin and you're going to have get around the restriction that applets can only access the site they are hosted on. And plus they're so 1990s. ;) Even flash would be a better idea than java.

I disagree. I'm not very into Flash, and SVG... I've been there (I wrote a book on the topic). One day SVG + JS will rock, but today is not that day.

Brilliant! I'm also very interested in the source if you're up for posting it.

interesting.
the address, http://www.gasztrojob.hu/ does not exists, but this applet draws a very beauty graph about it :D

@deejayy

1) your site has no html tag. that's needed for the applet to work.

2) the address that does not exist probably causes your browser to display some error message - that's what you see

Cheers,
Sala

Sala, this could almost be a dev tool--a supplement to the Mozilla DOM Inspector. It'd be nice to add the ability to roll over a node to find out what it is (element name, classes, id).

Yes, roll-over labels would be _very_ useful. For my needs, page title + url-beyond-basename is enough (e.g. just "opinion/" not "www.nytimes.com/opinion/")But,, popping up a tiny page image thumbnail would be nice (fetched via home server so not bound by applet security?)

Howdy. Great tool, really cool. I'm curious about something that may be a bug... When I try to model alistapart.com, after a short bit it spirals right out of the window!

This is incredibly awesome. Congrats on building something this cool.

I do have one little suggestion, though -- what about a color for list tags (ul, dl, ol) and one for list items (li, dd, dt)? My person website maps out as mostly gray due to my large use of lists, and I suspect a lot of others do, as well. :)

Hey, great applet! Some guy on IRC posted me the link and when I saw it was Processing based I got pretty excited.

Its a shame you've not made it 'open source' - I'd have gone right ahead and put rollover labels in, and an internal colour chart, and all that stuff.

Amazing results though. I've been running it on all the subsites and pages of my own website and the different patterns are amazing. Its fun interpretting the results visually - it makes you think about the structure of your site.

I was almost sort of proud when I ran http://mkv25.net/USy/ and got a sea of orange come up on the display.

Every page has its own personality, and the applet it picks up on that brilliantly.

Another suggestion: make the nodes 'draggable' so you can 'rearrange' the rotation of the image.

yeah, it'd be great if you could package this and offer it as a download so that it could be used on intranets and such.

I tried this site I know of from a friend: www.sunshineoasistan.com and it starts to appear but then just completely disappears? What's up with that?

Websites as graphs for analysis. It's very interesting watching the graphs arrange themselves. It's also interesting comparing different site "structures" with your intriguing tool: few commonalities exist between sites.

Very, very cool!

And, Markavian, hit "refresh" and you will have rotation of the image.

Wonderful! I love visual representations of data and structures - I was even more wowed out by the way the applet animates the graph as it processes. Tried http://www.medialens.org/ and a yellow flower blossomed... would agree that a roll-over of the nodes with some tag info would be useful in making this a practical tool.

Bookmarklet: copy the following into a new favourites/boomark and place on your browser links bar for a quick button to visualise the current page you're browsing:

javascript:location.href='http://www.aharef.info/static/htmlgraph/?url='+location.href

And for those using yubnub.org:

vdom URL

Pants. That should've been:

javascript:location.href='http://www.aharef.info/static/htmlgraph/?url='+location.href

OK. so the comments have a line length limit :)

The javascript should end in:

+location.href

bazzers: had the same problem with my site, but as it turns out only on the front page. I think it's the Oxford English Dictionary search box there (which I'm going to remove soom anyway). It is that bit that was giving me red dots for table even though I don't use tables myself, all div/css layout.
The Postcrossing page produces a large red, orage and purple flower :)

Actually, a couple of other pages do it as well. Links, gigs and site map.
Curious, must have a look at the code for those pages to see if thers anything that could be making it go off like that.

This is cool !

www.bbc.com seems to break the applet - possibly because it's a redirect? - but bbc.co.uk is fine

librarything also seems to break it

try comparing sites that do similar things - e.g. allmovie and imdb

also wikipedia is sweet

Hey guys - thanks so much for all your feedback. There is indeed some problem with some sites, and I have to look into that. I also think it's a great idea to extend the applet, with rollover and stuff.

I will put the sourcecode online this afternoon (Central European Time). It's great to see all these ideas poppping up, starting from such a simple idea - please keep posting!

Thanks
Sala

Great work!

Lovely stuff.. works well with my website without problem.

is there any way to export the picture so that it can be printed? that would be amazing. thanks.

Source code is online. And fixed the bug that caused some networks to disappear.

@Ben: Yeah, you can use some processing libraries to export the picture.

I've made this the Geek Toy of the Week for tomorrow over at Deep Thought. It'll show up tomorrow morning at http://www.dtgeeks.com/index.php/features/geektoy/websites_as_graphs .

I agree with one of the comments to add more tags like list tags, with their own colors. But otherwise, this is a very nice toy!

The source is up, but what is it in? That's not standard Java -- it's not in a class. What does it run under?

Very nice idea -- I was going to try to reduce it's overhead, and skip or speed the animation, since for large sites it can take a *very* long time to finish.

It runs under processing www.processing.org - a special graphics library for Java.

Thanks so much for posting your source! I made some quick hacks that allow you to drag nodes around, as well as colored list and list item tags:

http://www.forreststevens.com/htmlgraph/

Node selection is a little funky due to the centroid recentering...

Forgot to mention that I also added tag names to the nodes. These show up when you hold the mouse button down... Please feel free to snag any of the changes you like (source code is linked to from the above page).

Very cool! I also believe this would be more useful with more detailed information (eg. url, title/alt, anchor text, etc.)

Is there a way we could combine this with that Liquid Browsing stuff that appeared on digg two months ago?

http://www.infoverse.org/l2dsspace/

This is SWEET! Thank you!!

Very, very cool stuff! Thank you for creating it.

I also would like to second the "tooltip for details" idea for the nodes. Showing the id of an element would make it easy to identify the different parts at least for your own site.

Very nice!

This one turned out to be the most insane I have seen so far:
http://flickr.com/photos/eirikso/154991809/

Does not look like anything else...

But then again, the page it maps is completely insane as well.

Thanks - I love the concept of being able to map virtual entities of any kind.

I remember the following UK site from a few years ago. You may find the similarities of theme very interesting. But the result from your code is clearer.

http://www.cybergeography.org/atlas/web_sites.html

Great! It's a really new, fresh look at the webdesign structure! Is it hard to add some interactive action to your applet? Maybe just a mouseover with tag details?
Thanks a lot for this nice tool...

Simple and powerful technique.

Not all of Yahoo! is so tables based - check out http://www.aharef.info/static/htmlgraph/?url=http%3A%2F%2Fau.yahoo.com (Yahoo!7, Yahoo! in Australia) - just the one table, and for tabular content too.

i never thought about this before...
nice info...
very educational...

wow! amazing stuff!

I would like to see it improved by displaying more info on what each dot is.

very cool!

a tooltip displaying innerHTML or outerHTML would be a very cool feature to add.

..or clicking on a tag to zoom in, rendering the subgraph.. ooww:-P

Thanks for making this a public tool. It's so beautiful!

I've got one question. What is the circle of grey off the black html tag? Is that a sitemap or something else?

wow, very cool to visualise the codes of a site! clear and beautiful... thanks for the wonderful tool!

salute!

no, thats the head tag, with all its meta, link, style and script tags.

An impressive piece of work. Good job!

Some additional info about nodes, like: mouse on node displays URL. The graph shows some problems in our pages, but where they actually are is hard to find out.

If only NASA were as simple as nasa.gov... Check out the bone.

@Sala

I tested it with 50 pages at least and it was awesome, I love the way it starts to grow on the screen, however it didn't work with my blog =(

So much for fun, but still a great tool to show people the "artistic" side of the webs.

Sorry I forgot tu put the link to my blog, if anyone could tell me what's wrong would be great.

http://www.aharef.info/static/htmlgraph/?url=http%3A%2F%2Fintoxicatedwithmadness.blogspot.com

Hey, I made some more updates to my modified version. You can click to drag and view node tags and pan and zoom. Thanks again for the great source code!

http://www.forreststevens.com/htmlgraph/

Hello there - What a great idea.

I was thinking about the way in which all manner of things have different meanings depending on how we view them. I wondered if a site could be made where the site content compliments the HTML Graph and vice-versa. My first attempt is a traditional poem, "I have a little nut tree", the graph for which is also a tree, complete with a golden pear!

http://www.robertsharp.co.uk/misc/tree.html

Really interesting project!

Wow.. it is really hard to visualize hundreds lines of HTML and the general structure of a website. Well, this helps sure! :)

Here's the new Yahoo! site as a graph. Thanks for the fresh take on structure visualization; this is very cool!

Here's the new Yahoo! site as a graph:

http://www.flickr.com/photos/kentbrew/156766991/

The app won't pull it down live; I had to grab source, post it elsewhere, and run it.

Here's the new Yahoo! site as a graph:

http://www.flickr.com/photos/kentbrew/156766991/

The app won't pull it down live; I had to grab source, post it elsewhere, and run it.

where do I test may URL ??

Forrest: I've gotten your source to compile on my computer and it works great but I can't get your version to work online through your website. I just get a grey applet box.

I use WordPress for a lot of different sites, and it's amazing how different each installation of it can be.

Great tool!

Andreas: I emailed you regarding the issue, I'm not sure what might cause the applet to fail, other than an error when pulling the HTML to parse.

wow~ interesting!
so beautiful of boingboing.net's graphic~!

Whoa, check out suicidegirls.com

qqq

Great applet, can you make the dots clickable?

wow, excellent!

Very nice, but this is a graph of one web PAGE, not a web SITE (collection of pages).

wow, excellent! work.

Very Nice Indeed

I think you'd get real value if you differentiated between internal and external links (light and dark blue?).

Then you could tell if a website had lots of internal navigation (like Amazon.com/eBay.com) or they were a portal, directory type (boingboing.com).

What'ya think?

good

With regards to the comment from Keith. I think the differential between internal and external links is a great idea and will be changing our sites in the future.
www.gr8futures.co.uk
www.gr8websites.co.uk
www.gr8secrets.co.uk

That's pretty cool

awesome tool. the first thing i did is I analysed my company website ... ound few things studying the graph and post in the forum.
awesome tool ... I love it ...thanx again for such a great stuff :)

Would not work on my site. I have valid transitional xhtml on my site, only one table. The applet was blank. Worked on several other sites I tried. Very cool tool.

this is very cool, but i like the "worse" designed websites the best! because they make the prettiest pictures. but now i understand why i find some websites so much easier to navigate.

Thank you! Very cool tool.

I extended this nice idea by drawing graphs of a website's structure and the validation status of its html content.
It's a small free (GPL) standalone java application which spiders a website and paints its pages within such a nice particle graph.
See here for more:
http://blog.peter1402.de/archives/2006/06/13/Validation-Graphs

Sweet tool. How easy/hard would it be to create the same graph but instead of mapping the elements on a page, how about mapping the pages in a site? With page names on hover and/or a link?

This would be the sweetest sitemap tool ever. How easy/hard would it be to make it run on xml?

I'd definitely pay for that!

Marc