[PATCH] graphmod: partial edge styling
timeless
timeless at gmail.com
Tue May 3 19:36:39 UTC 2016
timeless <timeless at gmail.com> wrote:
> I'm pretty sure i'd want to support counting from the top and counting
> from the bottom of the description (you only offer counting from the
> bottom).
Martin von Zweigbergk wrote:
> If you're requesting 2 lines from the bottom of the description, does
> that mean the graph should grow to give room for those 2 lines if the
> description (or template) is long, like in Martijn's example? How much
> should it grow? Enough to show at least one grandparent line?
I think in either direction you're bounded by normal displayed lines
and `o` nodes (you would need to adjust the text part of the template
to ask for more lines).
> What does counting from the top mean? That you're requesting e.g. that
> 2 lines should have the plain parent style before the grandparent
> style begins? Then the graph may also need to grow to accommodate the
> grandparent style if the description is short.
Counting would start w/ 0 being equivalent to the `o` node, and each
line after that is a line. Counting stops at the point where you hit
the next `o`.
> Just a thought; I don't mean to dismiss the idea. Either way, it can
> probably be added on later ("-2:" or something) if we want to.
More information about the Mercurial-devel
mailing list