Open cleblond opened 5 years ago
Hi @cleblond, thanks for the suggestion. Bezier curve may be implemented in the future, but perhaps not recently, since it requires some additional mechanisms of current editor:
A Bezier curve needs four coordinates, two for the starting & ending points and two for the control points. Even more, the control points are outside the curve itself. User should be able to move all those four points around, which may require new UI and interaction mode in the editor.
What's more, in my opinion, an semantic electron pushing arrow does not determinate the outlook shape. User should be able to choose the outlook of the arrow freely, from arc to Bezier curve, or even straightline and so on. That requires new mechanism and UI too.
To avoid the overlap of arrow and C atom as shown in your figure2, a workaround can be used currently. Just select the arrow first, then a control point can be seen at the middle of the arc as shown in the first figure below. Move the control point to a suitable position, the starting point of the arrow should be clear as shown in the second figure below.
Thanks for your comments. Yes I realized the arrows could be reshaped. I'm not to worried about being able to reshape with control points, was hoping they would just look a little more "clean" and freehand like.
I'm wondering if it's easily possible to make the electronpushingarrows prettier?
1) The default color of a ElectronPushingArrow could be different from the other arrows. Of course I could probably achieve this with renderconfigs.
2) Smarter arrows with another inflection in them so they look more like they are hand drawn "curly" arrows (maybe bezier curves instead of an arc).
Here are the arrows from another popular editor
Here are the Kekule arrows. Notice how its difficult to see that the arrow starts at the cyanide C atom.