Document and molecule metadata
The metadata editor stores names and descriptive text with your drawing: a title and author for the whole document, a name and formula for one molecule, or names and a description for a named selection. Everything you enter is saved in the .mkit file, and some of it is written into SVG and PDF exports. The chemistry data that Molkit computes and embeds in every SVG, such as formulas and identifiers, is separate; see Embedded chemistry metadata.
The editor has three scopes. It picks one from what you have selected when you open it.
| Scope | When it opens | Header |
|---|---|---|
| Document | Nothing selected, part of a molecule, or more than one molecule | Document Metadata |
| Molecule | Exactly one whole molecule selected: every atom of one connected structure and nothing else | Molecule Metadata |
| Named selection or set | A named selection, resonance set, visual set, or group, opened from its edit (pencil) icon or the right-click menu | Selection Metadata, Resonance Set Metadata, or Visual Set Metadata |
Document metadata
Section titled “Document metadata”To edit the document metadata, clear the selection (click an empty spot on the canvas) and click File > Document Metadata. The same editor opens from the Edit metadata link in the SVG export dialog.
The document scope has four fields:
| Field | Notes |
|---|---|
| Title | A name for the whole drawing, such as a figure or scheme title. If you leave it empty, exports use a title generated from the formula. |
| Description | Generated if you leave it empty. |
| Author | |
| Notes | Saved in the file and never exported. |
Molecule metadata
Section titled “Molecule metadata”To edit one molecule’s metadata, select every atom of the structure (for example, drag a selection box around a drawn ethanol molecule) and click File > Document Metadata. The header reads Molecule Metadata, followed by the molecule’s name.

| Field | Notes |
|---|---|
| Name | For example, Ethanol. |
| Common Names | Separate several names with commas or semicolons. |
| Formula | Filled in from the structure, with a lock button. |
| SMILES | Filled in from the structure, with a lock button. |
| Species type | How the Molkit Viewer presents the molecule. Auto (the default) works out the type from the structure and shows the result beside it. The fixed choices are molecular, element, monatomic-ion, polyatomic-ion, and ionic; select one to override Auto. The choice is written into SVG exports. |
| Description | What the molecule represents in the document. |
| Notes | Saved in the file and never exported. |
Typing in Formula or SMILES locks that field to your value. Click the lock button to switch: locking keeps the current value, and unlocking recomputes the value from the structure and fills in the field again.
Molecule metadata belongs to that exact set of atoms. If you add atoms to the molecule or remove atoms from it, the molecule loses its metadata, and you need to enter it again.
Named selections, resonance sets, and visual sets
Section titled “Named selections, resonance sets, and visual sets”This section covers named selections, resonance sets, and visual sets (see Named selections and Views and resonance). To open the metadata for one, do one of the following:
- Click the pencil icon on its row in the Collections panel, or on its box on the canvas.
- Select its members and right-click. When the selection is already named, click Edit Metadata. Otherwise the menu offers to name it: Name Selection… for several objects, Molecule > Name Molecule… for a molecule, and Arrange > Name Selection… when only annotations are selected. Naming the selection opens the editor.
The editor has these sections:
- Names: a Label for the selection, a Common name that exports use as the title (the Other names… list next to it offers alternatives from PubChem), and the systematic IUPAC name. For SF6, for example, the common name is “sulfur hexafluoride”.
- Resonance forms (resonance sets only): the forms in the set, each with a weight, a dominant checkbox, and an optional caption.
- Depictions (visual sets only): one row for each depiction, with its view, caption, and related options.
- Looks like a Visual Set (plain named selections only): appears when the selection holds several labeled depictions of one species. To convert the selection, click Make Visual Set.
- Description: optional free text.
To keep your changes, click Save. To discard them, click Cancel.
Where metadata is used
Section titled “Where metadata is used”All of these fields are saved in the .mkit file.
- SVG export of the whole canvas: the document title and description become the SVG’s
titleanddescelements. An export of a selection or region uses the molecule’s name or formula instead. The author is written into the embedded Molkit metadata. - PDF export: the document properties carry the document title, author, and description that you entered; the description goes in the subject.
- Notes fields are never exported.