Skip to content

Views and resonance

A species can be drawn in several ways: a Lewis structure, a VSEPR sketch with solid and hashed wedges, a condensed formula, a bond-line drawing, or a Fischer projection. In Molkit, you can tag each drawing with the kind of view it is (its category), have Molkit draw the missing views, and group related drawings into resonance sets and visual sets. The commands are in the Structure menu and the right-click menu of the canvas.

Every command on this page works on the current selection. Most need exactly one connected structure with at least two atoms selected. In the Structure menu, a command that does not apply is dimmed, and its tooltip gives the reason, for example “Select a single structure to derive another view.” The right-click menu shows only the commands that apply to the selection.

Ethanol in five views: bond-line, an angled Lewis structure, a square Lewis structure with all bonds at right angles, a VSEPR view with wedges showing the tetrahedral carbon, and a condensed formula, CH3-CH2-OH.
Ethanol in every view Molkit derives: bond-line, Lewis (angled and square), VSEPR, and condensed.

Structure > Set Category tags the selected structure as Lewis, VSEPR, Condensed, Bondline, or Fischer Projection. Clear Category removes the tag and is dimmed when the structure has none. The tag appears as a small blue label at the upper left of the drawing, such as LEWIS or VSEPR.

The right-click Set Category submenu offers the same choices, plus these Lewis layouts:

  • Lewis (square): a schematic Lewis structure drawn on a 90° grid. The label reads LEWIS (SQUARE).
  • Lewis (angled): a Lewis structure drawn with realistic bond angles. For a planar species, the label reads LEWIS (ANGLED) + VSEPR, because a flat drawing with real angles already shows the shape.
  • Lewis + VSEPR (planar): offered only when the species is planar (water, nitrate, BF3). The label reads LEWIS + VSEPR.

The active category has a check mark. To remove the tag, click the checked entry again.

In the angled layout, the shape at each central atom follows its electron domains (VSEPR):

  • An atom with two domains (BeCl2, the carbon of CO2 or HCN, the middle carbon of an allene) or with two bonds and three lone pairs (XeF2, I3−) is drawn straight. An atom with two bonds and one or two lone pairs or an unpaired electron is bent: SO2 and ClO2, even with two double bonds.
  • A central atom other than carbon with four neighbors is drawn as a cross, with like groups across from each other: sulfuric acid has HO–S–OH across and the two S=O up and down. A carbon keeps the zigzag, so tert-butanol is drawn as a branched chain. A lone central atom with four terminal atoms, such as sulfate, is the exception: its square layout is the cross, and its angled layout keeps the angled drawing. When no layout is chosen, such a species gets the square layout, from Derive View and from Molkit Script’s draw alike.
  • A central atom with five or more neighbors and no lone pair has them at equal angles: PCl5 at 72°, SF6 at 60°, and also SOF4, with its double bond, and PCl4OCH3, whose methoxy group zigzags away from the phosphorus. Two such atoms bonded together, as in S2F10, are drawn side by side with a longer bond between them, so that their fluorines do not touch.
  • The hydrogens on an atom are kept clear of its other bonds, even when the atom is crowded, as in 2,2,3-trimethylbutane.

A chain with a carbon bonded to three or more other carbons, such as isobutane, neopentane, or 3-methylpentane, has no square layout: on a 90° grid the methyl hydrogens collide. Derive View then offers only the angled layout, and in Molkit Script layout: square stops with an error that names the reason and suggests layout: angled. A branch point with another atom, as in 2-chloropropane or propan-2-ol, keeps its square layout.

Structure > Derive View draws a new copy of the selected structure in another view. The new structure is tagged with its category, and the whole operation is one undo step. The right-click Derive View submenu offers the same views.

Where the copy goes depends on the source:

  • For a structure that is not in a group, the copy goes to its right, aligned at the top. Deriving the same view again places the new copy to the right of the earlier one, not on top of it.
  • For a structure in a named group (a named selection, or a set that holds two or more forms), the copy goes at the right end of the group, level with the source and at the spacing the group already uses, and joins the group as a new form. A named molecule that a derived view joins becomes a visual set, with the source as its first form.

Nothing else on the canvas moves out of the way, so a copy can land on top of other drawings.

To derive a Lewis structure of acetic acid

Section titled “To derive a Lewis structure of acetic acid”
  1. Draw acetic acid in bond-line form (CH3–COOH, with the OH written as a label or drawn as an atom).
  2. With the Select tool, drag a box around the whole structure.
  3. Select Structure > Derive View > Lewis.

A second drawing appears to the right of the first. Every hydrogen is drawn as an atom, a label such as OH is expanded into its atoms, and a blue view label at the upper left marks the drawing as a Lewis structure. To remove it, press Ctrl+Z once.

Command When it is offered What it draws
Lewis Always. Condensed labels such as OH or CH3 are expanded, and every hydrogen is drawn. A label that cannot be expanded (R, Ts, Boc) stays as written and gets no extra hydrogens or lone pairs. The hydrogens of a CH2 or CH3 group sit on the angles the Bond tool snaps to. The Structure menu gives the angled layout. The right-click menu offers Lewis (angled) and Lewis (square) separately when the structure, with its labels expanded, has no ring and no atom with more than four neighbors, and a single Lewis otherwise (so a Ph label gets no square layout).
VSEPR When the selection does not already look like a VSEPR drawing. A 3D geometry drawn with solid and hashed wedges, with terminal groups folded into labels such as CH3 and OH.
Condensed, Bondline When there is a carbon skeleton: two or more carbons, or one carbon that carries hydrogens or is bonded to another heavy atom. Water and ammonia do not qualify. The condensed formula or the bond-line drawing. A label you wrote, such as R, Ph, COOH, or OTs, stays as written. Deuterium stays drawn in bond-line and reads CD3 in condensed. Condensed formulas place every branch and write a methyl on the left as H3C.
Orbital Picture When one structure is selected. A copy with an orbital picture built on it, labeled ORBITALS. A structure with hydrogens that are not drawn is copied as its Lewis structure, so the hydrogens get orbitals. If there is nothing to draw (p orbitals only, on a structure with no pi bond), no copy is left.
Fischer Projection When there is an open (acyclic) carbon chain, at least one heteroatom, and a stereocenter. For an achiral molecule such as ethanol, a message says there is no stereocenter to show, and nothing is added. A ring sugar such as glucose (a hemiacetal) is drawn as its open chain, with the anomeric carbon as the C=O, and a message says so. A Fischer projection like the one the Projections tool places, with its projection panel and numbering: the most oxidized end at the top, each stereocenter a cross, groups written as labels such as CH3 and CH2OH, and no lone pairs. See Fischer projection.
All Applicable When at least two views would be drawn. Every applicable view that is not already present, in one row to the right (orbital pictures are not included). The original and the new drawings are then grouped into one visual set (see Visual sets) and selected, so you can drag the set into place. For a structure already in a named group, the new views join that group instead. A planar species gets no separate VSEPR drawing, because the angled Lewis structure already shows its shape.

A single central atom bonded only to terminal atoms gets its textbook VSEPR shape in a fixed layout, so a series of molecules reads alike:

Shape Layout Examples
Tetrahedral One bond up, one down-left in the paper, a wedge down-right, a hash to the right. The atom that occurs once goes on top. CH4, CH3F (F on top), CHF3 (H on top), NH4+
Trigonal bipyramidal, seesaw The axial pair up and down; one equatorial in the paper, one hashed, one wedged. PF5, SF4
Octahedral, square pyramidal The axial pair up and down; the upper pair hashed, the lower pair wedged. SF6, BrF5
T-shaped, square planar Flat, in the paper. ClF3, XeF4

A double bond to a terminal atom takes a plain bond in the paper, never a wedge: the top of a tetrahedron (POCl3), the apex of a square pyramid (XeOF4), the in-paper equatorial position of a trigonal bipyramid or seesaw (SOF4, IOF3), or the stem of a T (XeOF2).

The angled Lewis and bond-line views keep each double bond cis or trans as drawn, and the bond-line view keeps the R or S configuration of each stereocenter however the source was drawn. When a stereocenter is marked only by a wedged or hashed hydrogen, the bond-line view removes the hydrogen and moves the mark to a bond to a heavy atom.

Whether a species counts as planar decides whether it gets a separate VSEPR drawing. Allene, hydrogen peroxide, and disulfides are not treated as planar. An atom with no drawn lone pairs counts the pairs its valence leaves, so a bare NH3 is not read as trigonal planar.

VSEPR views and Fischer projections are built from a 3D geometry. If Molkit cannot build one (for example, for a structure with generic R groups), a warning says so and nothing is added.

A resonance set tells Molkit that several drawings are resonance contributors of one species. To mark one, generate the forms, and add minor or octet forms, see Resonance forms.

A visual set groups different views of one species, for example its Lewis structure and its VSEPR sketch. To make one, select the drawings, right-click, and select Group as Visual Set. The selection must contain drawings in more than one view, or a single planar structure. Each drawing keeps the category you gave it with Set Category, and drawings that share a category become resonance forms within that view. The set gets a violet box with a bold Vis tag.

A set can also hold one 3D view, which shows in 3D on a web page; see A 3D view in a visual set.

A drawing that carries an orbital picture is an ORBITALS view. Set Category does not offer this view, because it follows from the picture. A set can hold several orbital pictures; they are alternative pictures, not resonance forms.

If you leave the set unnamed, Molkit looks up the species in PubChem and, when a match comes back, uses the lowercase name as the name of the set.

Unmark Visual Set splits a set with several views back into its tagged drawings. A set with only one view is removed instead. Your drawings do not change in either case.

In a script, change set "ethanolamine" chains: preferred redraws the set’s 2D drawings in the molecule’s lowest-energy chain shape, with each open-chain bond turned to gauche or anti.

For a planar resonance set such as nitrate, the right-click menu offers Show under Lewis & VSEPR (Planar), which turns the set into a visual set whose forms count as both the Lewis and the VSEPR depiction. Show under Lewis Only turns it back into a resonance set. A set that is not planar cannot do this, because its VSEPR drawing differs from its Lewis structure; draw the VSEPR forms separately and group them.

  • To add a drawing or a resonance set to a visual set, drag it into the set’s box. To drag a whole set, grab its border. If the drawing would land on something already in the set, it slides to the free space below the set’s contents. A set holds the drawings of one molecule: a drawing or a resonance set of a different molecule is not added. It goes back where it was, and a message names the set.
  • A drawing of an ionic compound, drawn as separate ions, joins the set as one drawing: each loose ion goes with the nearest ion it belongs with.
  • When you fuse a fragment onto a drawing in the set, for example by dropping an atom of the fragment onto one of the drawing’s atoms, the new atoms join the set and the box grows to hold the whole molecule.
  • To move a drawing or a resonance group within the set, drag it. A resonance group inside a visual set has a dashed Res box; grab its border. If it would land on another drawing, it slides to the nearest clear spot. Nothing else in the set moves.
  • To take a resonance group out of the set, hold Ctrl before you press on its dashed border, then drag. You can also right-click the dashed border and select Remove from Set, which places the group beside the set.
  • A crystal in a visual set has two right-click items of its own: Remove Crystal from Set takes it out (it stays on the canvas, and a set left with nothing drawn is removed), and Open the Set on Its Crystal makes it the view the set opens on, on the canvas and on a web page with the Molkit Viewer.
  • To lay out the whole set again, right-click its border and select Arrange Set. The drawings are placed in rows, in the order they appear in the set.

Each of these is one step to undo.

Every named selection, resonance set, and visual set is outlined by a labeled box on the canvas. To rename one in place, double-click the name at its upper left. A single structure that only carries a category shows its view label without a box. The boxes and view labels appear only on screen, not in exported images.

View > Collections Panel shows or hides the Collections panel, which lists every named selection and animation, with a Vis or Res tag in front of each set’s name. In the panel:

  • To select a set on the canvas, click its row.
  • To rename it, double-click the row.
  • To edit its details (including resonance weights), click the pencil.
  • To delete it, click the X. You can undo the deletion.

Molkit normally works out lone pairs from the electron count, so an atom with no drawn lone pairs still gets the ones it needs. This suits bond-line drawings, where the oxygen of an –OH group shows no lone pairs but has two.

A structure tagged Lewis (including a form of a visual set in the Lewis view), and any form of a resonance set, is treated as a complete Lewis structure, so a drawn lone-pair count of 0 means zero. If you leave lone pairs off an atom in such a drawing, Molkit reports the formal charge your drawing implies instead of adding the missing pairs. Every other drawing keeps the automatic behavior.