![](https://secure.gravatar.com/avatar/15f5e6abf26f57e1838c29a8356ce7f8.jpg?s=120&d=mm&r=g)
Quoting Kevin Wixson <kevin@...738...>:
is not possible because in SVG, each path fragment is either a
line or a curve. If it's a line, none of its ends have control handles,
Well, implementation is something about which I can not really express an informed suggestion. All I can say is that somehow other programs manage, so I'm sure you'll figure out a way, too.
Probably what would yield the expected results would be to just use a normal bezier segment, but make the control point on the 'corner' side coincident with that endpoint and hide its knot.
But just because I'm curious, why can't all lines drawn be two points be "curves,", just straight ones that look like straight lines? Wouldn't that open a lot of doors for you on the implementation side, when it comes to nodes?
Lines-as-curves lose numerical precision, curves aren't as fast to draw, and someone familiar with SVG would specifically expect to be able to make normal SVG line segments (versus straight curves) from the GUI. So generally you will want to use lines when the user really means straight lines.
-mental