[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] monotone-viz changes...
From: |
Daniel Carosone |
Subject: |
Re: [Monotone-devel] monotone-viz changes... |
Date: |
Thu, 12 Oct 2006 15:31:09 +1000 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Thu, Oct 12, 2006 at 12:16:36AM -0500, Brian Downing wrote:
> On Thu, Oct 12, 2006 at 11:10:14AM +1000, Daniel Carosone wrote:
> > Graphviz is a funny thing; sometimes the best way to get clearer
> > display of "too much information" is actually to include *more*
> > information. For example, if there was an edge (dotted, invisible
> > even, and with a low weight) between propagate nodes to the same
> > "other branch", this might help graphviz organise the layout better.
> >
> > I suppose unless you know something about the ancestry relationships
> > of those nodes, those links better be invisible. If you *can* show a
> > real ancestry relationship (without showing intervening paths), all
> > the better.
>
> I played with this a long time ago - what I did is to connect all "out of
> branch" nodes that are on the graph together with their nearest ancestor
> by breadth-first search. This winds up sucking for the mainline branch
> (you get about 37 lines heading down the graph at any one time), but
> for side branches I think it works out quite nicely to show some of the
> structure that's not on the graph.
awesome! this is just about exactly what I was envisaging
> Attached is the .dot file for net.venge.monotone.lua-testsuite. The
> dotted lines show out-of-branch relationships.
Yep - and it works even more nicely if you set weight=2 for the
out-of-branch linkage edges. That keeps the propagate nodes near the
ones they're propagating to, and lets the dotted lines stretch.
--
Dan.
pgpsHqB3v0SXY.pgp
Description: PGP signature