public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ray Lehtiniemi <rayl@shawcable.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>, linux-kernel@vger.kernel.org
Subject: Re: [ANNOUNCE] headergraphs - kernel header dependency visualizer
Date: Thu, 21 Sep 2006 08:27:34 -0600	[thread overview]
Message-ID: <200609210827.34925.rayl@shawcable.com> (raw)
In-Reply-To: <20060921064007.GA32653@uranus.ravnborg.org>

On Thursday 21 September 2006 00:40, Sam Ravnborg wrote:

> Reminds me...
> Arnaldo (acme) made a few simple scripts that was based on dot.
> They are at his home directory at kernel.org.

yah, the very first commit in my tree is an import of those scripts for 
reference purposes :-)


> Care to take at look at these to see if there is something to be learned.
> One good feature was that each level had a different color,
> and I recall the graphs was more dense with less (confusing?) info.

those graphs contain _much_ less information.

the primary complexity reduction mechanism in hviz appears to be that it adds 
the current file to the done list immediately before it starts the 
breadth-first search of the children.  this eliminates the possibility of 
back edges to previously seen headers, which is why those graphs flow so 
nicely from left to right.  unfortunately, it also discards most of the 
dependency information.

my goal was to retain and present information from _all_ edges in the graph, 
not just those which lead to new children.  even for relatively small 
hierarchies, these graphs generally wind up looking like a big ball of yarn, 
which is where all the confusing colors and numbers come into play.  they are 
the distilled remnants of all the edges that have been pruned.  only a select 
few edges remain to tie the whole thing together.


ray


  reply	other threads:[~2006-09-21 14:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-20 18:17 [ANNOUNCE] headergraphs - kernel header dependency visualizer Ray Lehtiniemi
2006-09-20 22:02 ` Sam Ravnborg
2006-09-21  3:56   ` Ray Lehtiniemi
2006-09-21  6:11     ` Jan Engelhardt
2006-09-21  6:40       ` Sam Ravnborg
2006-09-21 14:27         ` Ray Lehtiniemi [this message]
2006-09-21 14:08       ` Ray Lehtiniemi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200609210827.34925.rayl@shawcable.com \
    --to=rayl@shawcable.com \
    --cc=jengelh@linux01.gwdg.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox