Skip to content

Arrow beautification

A curved arrow dragged by hand often comes out lopsided. The cleanup commands make a selected curved arrow symmetric and keep its end attachments. Beautify keeps the arrow’s kind, the size of its bow, and its side, so a second click changes nothing. Changing an arrow’s kind (straight to curved, curved to S) is a separate command. Equilibrium, double-harpoon, reaction, retrosynthesis, squiggle, and arc arrows keep their shape. Most commands are on the arrow’s context menu; the common ones are also buttons in the Properties panel.

Hydroxide and bromomethane with a curved arrow from a hydroxide lone pair to the carbon, twice. On the left, as dragged by hand: the arrow leaves the oxygen at a slant and hooks down into the carbon past the bromine. On the right, after Beautify: the arrow leaves the lone pair straight up and arcs evenly down to the carbon.
A hand-drawn mechanism arrow before and after Beautify.

To open an arrow’s context menu, right-click the arrow with the Select tool. The items depend on the arrow type. Reaction, retrosynthesis, and arc arrows keep a fixed shape, so most of these items do not appear for them.

Command What it does Shown for
Beautify Makes a curved arrow symmetric, with its ends leaving their lone pair or bond the right way. The arrow keeps its kind (an arc stays an arc, an S stays an S), the size of its bow, and its side. Also the Beautify button in the Properties panel. Curved arrows (spline, quadratic, cubic)
Make Curved Bends a straight arrow or line into a gentle arc between the same ends, on its left as it travels (above a left-to-right arrow), unless its attached ends decide the side. Also a button in the Properties panel. Straight arrows and lines
Make S-Curve Makes the arrow a symmetric S-curve with equal lobes on either side of the chord, as large as its bow was, for example for an arrow that passes between two groups in a proton transfer. A very short arrow becomes a plain arc instead, because an S-curve needs room for both lobes. Curved arrows without waypoints
Flip Curve Mirrors the curve to the other side of the chord; flipping twice gives back the original exactly, waypoints and handles included. With one curved arrow selected, F does the same. With an arrow that has no bow selected, F does nothing; with nothing selected, it sets the element to fluorine. Arrows with a bow
Straighten Removes all curvature, waypoints, and handles and makes the arrow a straight arrow between its ends. Any curved or bent arrow (not the squiggle, which is already straight)
Smooth Curve Recalculates the spline handles so the curve flows smoothly through all its waypoints. Waypoints whose two handles you have already lined up by hand keep their direction, so smoothing again does not undo your adjustments. Spline and multi-segment arrows with waypoints
Align to Dots Realigns the end handles so the curve leaves or enters along the direction of its lone pair or radical. Use it when dragging the arrow has twisted the tip away from its electrons. Spline arrows attached to a lone pair or radical

On a spline arrow with waypoints, Beautify moves a single waypoint to the middle at the same height; with more waypoints, it keeps your spacing of the waypoints along the chord as closely as it can.

A few more items appear only when they apply:

  • Reset Tip to Bond Midpoint: moves a tip attached to a bond back to the middle of the bond and clears its gap. Shown when a tip is off the midpoint.
  • Flip This Tip to Other Side: for spline arrows attached to a bond, moves the tip nearest the click to the other side of its bond.
  • Reset Head to Perpendicular: for spline arrows attached to a label or annotation edge, clears a custom head angle on the tip nearest the click.
  • Delete Point, Remove Bezier Handles, and Add Bezier Handles: shown when you right-click near a waypoint. Add Bezier Handles applies to multi-segment arrows.

The standard items (Cut, Copy, Paste, Duplicate, Delete, Flip Horizontal, Flip Vertical, Bring to Front, Send to Back, and the other order items) are in the same menu.

Spline arrows have a Bow slider in the Properties panel (docked on the right). It shows and sets the height of the bow as a percentage of the arrow’s chord, the straight line between its two ends: 0 to 100% for an arc, 0 to 50% for an S-curve. On a two-point arrow, dragging it scales both end handles along their own directions, as the bow steps below do: the ends, the directions in which the arrow leaves and enters, the side, and the kind of curve all stay. To switch sides, use Flip Curve or press F.

Two more sliders can appear below it:

  • Curviness (an arrow with waypoints, after Smooth Curve has run) sets how tightly the curve bends through its waypoints.
  • Squeeze (S-curves only) pulls the lobes in toward the chord for a tighter S.

For small, exact changes, step buttons are below Beautify and Straighten in the Properties panel:

  • The Bow row, for an arc: Bigger makes the bow 15% bigger per click; Smaller takes back one such step.
  • The S row, for an S-curve, in place of the Bow row: More makes both lobes 15% deeper per click; Less takes back one such step.

A step scales both end handles along their own directions. Both ends stay where they are, and so do the directions in which the arrow leaves and enters, so a tail that leaves a lone pair straight outward still does after the step. The gaps at the ends do not change.

Each click is one undo step. Molkit refuses a step that would put a corner, a cusp, or a loop in the curve and shows a short message that says why (for example, “Can’t: that step would put a corner in the arrow.”).

The buttons appear for spline arrows with two points: Curved Arrow, Fishhook Up, and Fishhook Down. They do not appear for the S-Curve Arrow, for simple (quadratic) curves, or for an arrow with waypoints.