Skip to content

Molkit 0.16.0

Released June 21, 2026

This release adds R-groups: mark atoms as generic sites (R, X, R', ...), give each its own list of substituents, and export a single SVG that a viewer can instantiate into any specific molecule. It also brings a full narrow-width reflow for accessibility, plus faster and better-looking R-group output.

New Features

  • R-groups (File then Define R-groups): mark any atom as a generic site (R, X, R', ...) and give each one its own independent list of substituent options, chosen from a built-in palette, typed as SMILES, or drawn by hand
  • Draw your own substituent: sketch a fragment, mark where it attaches with the point-of-attachment squiggle, name it (a formula is suggested automatically), and reuse it across your R-group sites
  • Indexed generic labels: R', R1, and superscript forms (primes, subscripts, superscripts), anchored so the bond always attaches to the base letter and never crosses the index
  • Instantiable SVG export: a structure with defined R-groups embeds the 2D fragment for every substituent plus a per-combination 3D conformer and chemistry, so one file holds the whole family and a viewer can build any chosen combination on demand
  • Substituent picker: exported R-group SVGs carry a built-in picker so a viewer can choose a substituent per site and see the concrete molecule, with a keyboard-accessible combobox and screen-reader-spoken generic names
  • Edit Metadata gains a Species Type control (Auto plus five explicit options), and SVG exports now carry a species type, a slug, and a 3D conformer aligned to how the molecule is drawn

Improvements

  • R-group substituents are drawn the way a flat skeletal structure is: idiomatic 120 degree zig-zag chains, a clean 90 degree cross for quaternary carbons, branches splayed outward instead of folding back over the molecule, and rings laid out cleanly even when fused
  • The attachment (seam) bond into a substituent now picks up its CPK color, for example gray-to-red going into an oxygen, instead of rendering as a white stub; this applies to every element
  • Re-exporting an R-group structure you have not changed is now near-instant; the per-export rendering work is cached and reused
  • The app now reflows into a single column at very narrow widths and high browser zoom (down to 320 CSS pixels) without clipping controls or forcing horizontal scrolling, in both light and dark themes (WCAG 1.4.10)
  • Hovering an atom and typing now relabels it in bond mode too, not just with the select tool
  • PubChem name and identifier lookups are pre-warmed while you draw and capped during export, so saving never stalls on the network

Bug Fixes

  • Generic R/X labels no longer render in bold in exports
  • Batch Export and selection export of R-group structures no longer drop the instantiation data, so the exported file stays fully buildable
  • R-group export is hardened so a single unresolvable substituent can no longer strip the whole file, with a clear warning if the fragments cannot be embedded
  • Skeletal hydrocarbons are now classified as molecular rather than as an element
  • The hybridization label is no longer shown on terminal atoms