I wanted to use curve to mesh to add thickness to lines, but in this case I would want miter joints, or adjust corners at sharp angles to keep line thickness uniform. This might be achieved by setting the radius of curve points, and I imagine geometry nodes could automatically find the angle between a point and its partners and set the radius based on that.
I'm using a workaround using endpoint selection to automatically adjust for objects that are all square angles.