Molkit 0.17.0
Released June 22, 2026
Resonance structures, one unified metadata editor everywhere, correct ion identity, lowercase chemical names, and correct 3D for octet-ionic (hypervalent) depictions.
New Features
- Resonance structures: select two or more contributing structures plus their double-headed arrows and choose Mark as Resonance Set (right-click); the set is recorded as a unit with auto-suggested per-form weights (equivalent, or major/minor) and embedded in the SVG metadata so a viewer can step through the forms
- Double-headed straight arrows gain a Resonance Arrow checkbox in arrow properties; flagging an arrow is what marks it as part of a resonance set
- The metadata editor is now reachable outside the export dialog: a pencil icon on each Named Selections panel row, and on each on-canvas selection box, opens it for that selection
- Two name schemas in the metadata editor: a Common name (used as the exported SVG title) and the strict systematic IUPAC name, each auto-filled from PubChem, with an Other-names dropdown to pick a synonym or type your own
- Correct 3D for octet-ionic / hypervalent depictions: a structure drawn with loose ions (e.g. SF6 as 4 bonds plus 2 fluoride ions) is reconstructed into its real molecule for the 3D view, so it renders as an octahedron with the ions placed where you drew them, connected by subtle dashed coordinate bonds
Improvements
- One metadata window everywhere: the panel pencil, the canvas-box pencil, and the export dialog's Edit metadata open the same editor, scoped to what you are editing (a named or resonance selection edits that selection, a single whole molecule edits that molecule, the whole canvas edits document metadata); resonance selections show extra per-form weight fields
- The exported SVG title now prefers the species (IUPAC) name when set, above the selection's label
- Ion formulas carry their net charge (e.g. NO3 minus, CO3 2 minus) in the status bar and exports instead of showing the neutral formula, including when a single ion is selected
- On-canvas selection-box labels shrink as you zoom out and hide their pencil icon, so a zoomed-out canvas stays uncluttered
- Double-clicking a selection-box label is a quick rename for every selection type; the pencil icon opens the full metadata editor
- Chemical names display in lowercase (e.g. sulfur hexafluoride): shouted all-caps PubChem names are normalized and formula-like junk synonyms (e.g. (H3N)(BF3)) are skipped; acronyms like EDTA/DMSO keep their capitals
- Ionic or hypervalent species that do not map to a clean SMILES now still resolve a name via a charge-aware PubChem molecular-formula search
- The status bar shows the common name with a PubChem link (the alternate-names dropup was removed)
- Document metadata now shows only whole-drawing fields (Title, Description, Author, Notes); per-molecule fields were removed from document scope where they do not apply
- Right-clicking a canvas selection now offers Name Selection (creates the named selection and opens its metadata editor), or Edit Metadata when it is already named
Bug Fixes
- Ions drawn with a whole-ion charge (written outside the brackets, not on individual atoms) now export a valid charged SMILES and MOL block, so the automatic IUPAC-name lookup succeeds; previously the export was a neutral, invalid structure and the lookup failed
- A resonance set's exported identity (formula, molecular weight, SMILES, species type, title) now comes from a single representative form instead of all forms summed, so nitrate exports as NO3 minus and a polyatomic ion rather than N3O9 and a neutral molecule
- Resonance sets that include ionic contributors drawn without a bond (e.g. an octet-ionic SF6) no longer split each drawn structure into spurious extra forms; the pieces of one structure are grouped together
- The 3D view of an octet-ionic SF6 (and similar hypervalent depictions drawn with loose ions) no longer shows a wrong low-coordinate core with ions floating off to the side or behind; it now renders the correct octahedron with the drawn ions in their drawn positions
- The metadata pencil icon on a named whole molecule now opens that selection's editor instead of falling through to document metadata