[PATCH] hgweb: make graph data suitable for template usage
Paul Boddie
paul at boddie.org.uk
Thu May 17 11:15:17 CDT 2012
On Thursday 17 May 2012 17:33:01 Matt Mackall wrote:
>
> Sounds complicated. I don't know enough about how our current canvas
> technique meshes the textual and graphical data here. Perhaps Dirkjan
> can comment.
For a Web application it's not that complicated. You're undoubtedly familiar
with the graphviz parser that is used on the Mercurial Wiki, and that employs
pretty much the same technique. I've actually extended that parser [*] to be
able to produce SVG images (useful for printing, export, and so on), and that
uses exactly the same technique.
> If the problem here is "IE6 sucks", we may be able to overlook that.
Well, I'd rather keep the single graph action/resource and not have to bother
supporting legacy browsers, too. I've had feedback from someone using the
SVG-based theme I've developed and they told me that subsequent IE versions
seem to work fine, so maybe IE6 users just need to get with the times.
Paul
[*] http://moinmo.in/ParserMarket/graphviz
More information about the Mercurial-devel
mailing list