Molkit 0.19.0
Released June 26, 2026
Visual Sets (multi-depiction species), a much snappier editing experience on busy canvases, and fixes for named-selection boxes.
New Features
- Visual Sets: turn a selection that spans several depictions of the same molecule into one named species with right-click "Mark as Visual Set" (Lewis, VSEPR, condensed formula, bond-line / skeletal, and 3D), then switch the on-canvas view from the "Vis" pill. Generalizes resonance sets: a single-view multi-form selection stays a resonance "Res" set, while a multi-view spread becomes a Visual Set
- Derive view: from a single drawn structure, right-click "Derive <view>" to generate a Lewis, VSEPR, bond-line / skeletal, or condensed-formula depiction as a fresh structure placed next to the original. The VSEPR derivation lays atoms out at idealized geometry and perceives wedge / dash stereo from a generated 3D conformer
- Derive all applicable views: generate every depiction that applies to the selected structure in one step and auto-group the original plus all derived views into a single Visual Set, auto-named from PubChem
- Lewis layout options: a Lewis depiction can be laid out at 90 degrees (right-angle) or as a zigzag, addressable per structure
- Box-select delete now removes everything inside the box (atoms, bonds, and labels it encloses), with no orphaned labels or stray bonds left behind
Improvements
- Editing stays smooth on busy canvases: erasing atoms, adding labels, and undo / redo now redraw only the structure that actually changed instead of rebuilding the whole canvas, so edits no longer lag when many molecules are on screen
- Copy / paste and deletion understand Visual Sets: copying members carries the set membership with them, and deleting a member decomposes the set cleanly instead of leaving a dangling record
- Visual-set views travel with your exports: an exported SVG carries each kept depiction (plus per-form 3D) and the species identity, so a structure viewer or embed widget can step through the views, show resonance forms, and toggle lone pairs
- The named-selection box legend (the "Vis" / "Res" tag, the set name, and the edit / export icons) is slightly larger at 100 percent zoom and above for easier reading
Bug Fixes
- Named-selection boxes and their view labels no longer disappear when you select something: they used to vanish on select and reappear on deselect (most visibly with the Layers panel open), because the render fast-path and the Layers panel's badge redraw both dropped the box overlay; both paths now preserve it