An identify brace on a graph tells the reader that the two points "identified" are topologically equivalent. That is, the correct way to understand the graph is to cut it out, roll it into a cylinder, and glue it together at the points being identified. Here's an MS Paint example:
How can I make a TikZ macro for such identify braces? One would typically need horizontal and vertical braces, in both "equals sign up", "equals sign down" (horizontal) or "equals sign left", "equals sign right" (vertical) flavours.
{
but under the segment?