Revenge of the pretty pictures
John Arbash Meinel
john at arbash-meinel.com
Fri Sep 23 00:23:22 BST 2005
John Arbash Meinel wrote:
> Aaron Bentley wrote:
>
>>John Arbash Meinel wrote:
>>
Take a look at:
http://bzr.arbash-meinel.com/branches/bzrtools/html-output/
The output is available here:
http://bzr.arbash-meinel.com/other/graph-ancestry/bzrtools.html
Or a merge version, which shows the difference between bzr-integration
and bzr.dev:
http://bzr.arbash-meinel.com/other/graph-ancestry/bzr-integration.html
Or a complete history of the bzrtools tree:
http://bzr.arbash-meinel.com/other/graph-ancestry/bzrtools-full.html
I tried to do a complete history of bzr.dev, but I think dot is
incapable of generating a png file that big.
Basically, just mouse over any revision, and it should pop up the first
line of the commit comment.
There isn't a lot more that we can do with just regular html and a cmap,
but I think if someone wanted to work it out, you could do quite a bit
of fancy stuff with a bit of javascript. The html output could just
embed most of the revision information, and then on mouse over, you
could put a much nicer tooltip.
Unfortunately, only the dot png output currently lines up properly with
the cmap, so you can't use the nice antialiased version. But I'm sure
we'll work that out eventually :).
I faked one (by running it normally to get the size, and then invoking
rsvg manually)
http://bzr.arbash-meinel.com/other/graph-ancestry/bzr-integration-aa.html
But the boxes still don't line up perfectly. Probably svg lays things
out with a larger border, or somesuch, because the image size is identical.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050922/aa0b1802/attachment.pgp
More information about the bazaar
mailing list