Examples¶
Every example is a complete KET document. An invalid example breaks exactly one rule, which it names; the list marks those examples as invalid.
Molecules¶
Atom properties — an isotope, a charge, a radical and an alias.
An explicit “type”: “atom” — invalid: a plain atom written with a
typekey.Bond types and stereo — a wedge bond at a stereocentre, and a double bond.
Query bonds — query bond types, a ring bond and a custom-query bond.
Atom list — list atoms that match some elements, or any element but some.
Stereo flag position — where the stereo label goes, with its y axis pointing down.
Molecule properties — named properties of a molecule.
Highlighted atoms and bonds — a highlight of atoms and one of bonds.
S-groups¶
Generic S-group — a bracket with no further meaning.
Multiple group — one CH2 group that stands for two.
Structural repeating unit — the repeating unit of polyethylene.
Copolymer — two repeating units inside a copolymer bracket.
Superatom — a carboxyl group abbreviated as COOH, with its attachment point.
Data S-group — a data field on an atom, drawn at a given position.
Query component — two query atoms that must match in one molecule of the target.
R-groups¶
R-group — an R-site with two members and the logic of its R-group.
Reactions and drawing objects¶
Reaction — reactants, a plus, an arrow and a product.
Arrow modes — an equilibrium arrow and an elliptical arc arrow.
Multi-tailed arrow — two starting materials that lead to one product.
Simple objects — a rectangle, an ellipse and a line.
Image — an SVG image placed by its bounding box.
Text¶
Styled text in the KET 2.0 form — paragraphs, a default font, alignment and styled runs.
Text in the KET 1.0 form — a text with styled runs, as a serialised Draft.js document.
Macromolecules¶
Peptide — two monomers joined by a connection.
Monomer connected to a molecule — a connection from a monomer to an atom.
Ambiguous monomer — a mixture of two monomers in a given ratio.
Monomer shape — a shape that stands for two monomers.
Monomer library — templates and a group template, with nothing to draw.
Haptic bonds¶
Benzene–chromium half sandwich — an attachment group bonded to a metal.
Atom-to-atom haptic bond — a haptic connection between two atoms.
Attachment group without a connection — a group that no connection uses.
A haptic connection between two groups — invalid: neither end is an atom.
Group molecule missing from root.nodes — invalid: the molecule of the group is not listed in
root.nodes.Charged attachment group — a cyclopentadienyl group with the charge −1.