From: Kay Sievers Date: Sat, 28 May 2005 10:56:22 GMT Subject: Re: More gitweb queries.. Message-ID: <20050528105622.GB32614@vrfy.org> In-Reply-To: On Fri, May 27, 2005 at 07:51:39PM -0700, David Lang wrote: > >Hi! > > > >On 5/27/05, Kay Sievers wrote: > >>On Fri, May 27, 2005 at 12:24:20PM -0700, Linus Torvalds wrote: > >>> Combining some of the features of the two (that über-cool revision > >>> history graph from gitk rules, for example) might be cool. I get the > >>> urge to do octopus-merges in the kernel just because of how good they > >>> look in gitk ;) ] > >> > >>I would like to show something like the graph too, but I don't really know > >>how to do this in html. Seems slippery if not impossible. > >>If anybody has a nice idea how to represent that, I will give it a try. > > > >Well, you could draw them in javascript, using > >http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm :-) > > > >Alternatively, you could use a fixed set of little images, a bar "|", a > >dot "o" and branches like "Y", "7" and "\". Obviously, octopus-merges > >are very difficult to draw using only those. > > you could look into SVG (scaleable vector graphics or some such thing) > that are supposed to be in the newest browsers (or soon to be added, I'm > not sure). this should let you do all the drawing nessasary reasonably > easily (if you are willing to limit users to that, which is probably not > that big of a problem for git) Well, technology that is "soon to be added" since years is probably not my favorite thing to base my work on. SVG could be nice, sure, but nearly noone is able to see it today and I expect, I will need to wait wait for another few years. :) Kay