Below is one possiblehuman‐readable “full detail” text formatthat can encode:
All atoms(including hydrogens)
Bond types(single, double, triple)
Formal/literal charges
Number and placement of lone pairs
2D you wish to specify “top,” “bottom,” “left,” “right,” etc.)
All atoms(including hydrogens)
Bond types(single, double, triple)
Formal/literal charges
Number and placement of lone pairs
2D you wish to specify “top,” “bottom,” “left,” “right,” etc.)
The example given isdiethylamine, but the same scheme works for any organic (or even inorganic) molecule. Note that the format is intended as aframework, not a validator. You can include as much or as little detail as you like.
Outline of the Proposed Format
Basic Node Line:makefileCopyAtomSymbol: (FormalCharge, ) [OrientationTags]AtomSymbol: E.g.,C,N,O,H, etc.(FormalCharge, NumberOfLonePairs)is optional.You can write(0,1)for a neutral nitrogen with 1 lone pair.Or(+1,0)for a cationic nitrogen with 0 lone pairs.Or even(0,2)for an oxygen with 2 lone pairs, etc.[OrientationTags]is also optional.E.g.[top],[bottom-lp],[left, wedge], etc.You can invent or omit orientation tags as needed.
: E.g.,C,N,O,H, etc.
(FormalCharge, NumberOfLonePairs)is optional.You can write(0,1)for a neutral nitrogen with 1 lone pair.Or(+1,0)for a cationic nitrogen with 0 lone pairs.Or even(0,2)for an oxygen with 2 lone pairs, etc.
You can write(0,1)for a neutral nitrogen with 1 lone pair.
Or(+1,0)for a cationic nitrogen with 0 lone pairs.
Or even(0,2)for an oxygen with 2 lone pairs, etc.
[OrientationTags]is also optional.E.g.[top],[bottom-lp],[left, wedge], etc.You can invent or omit orientation tags as needed.
E.g.[top],[bottom-lp],[left, wedge], etc.
You can invent or omit orientation tags as needed.
Bonds to Substituentsare written asindented linesunder the parent atom.Each sub-bond line has the general structure:lessCopybondType->AtomSymbol: (FormalCharge, LonePairs)[OrientationTags]bondTypecan be:s->for a single bondd->for a double bondt->for a triple bondYou then continuerecursivelyfor each substituent atom, indenting further.
Each sub-bond line has the general structure:lessCopybondType->AtomSymbol: (FormalCharge, LonePairs)[OrientationTags]
bondTypecan be:s->for a single bondd->for a double bondt->for a triple bond
s->for a single bond
d->for a double bond
t->for a triple bond
You then continuerecursivelyfor each substituent atom, indenting further.
Lone Pairscan be shown in two ways:In the parentheses(FormalCharge, ), to indicate count.Optionally as a “bond line” to a dummy placeholder (e.g.,lp), if you want to emphasize direction:cssCopys-> lp[orientationTagForLonePair]Either approach is acceptable; do whichever is clearer for you.
In the parentheses(FormalCharge, ), to indicate count.
Optionally as a “bond line” to a dummy placeholder (e.g.,lp), if you want to emphasize direction:cssCopys-> lp[orientationTagForLonePair]
Either approach is acceptable; do whichever is clearer for you.
be given in the parentheses(formalCharge, nLonePairs). If you needliteral net chargeor some unusual number, you can also note it in brackets or an additional annotation.
Omitting Detailis always allowed. You can drop the hydrogens, the orientation, the lone pairs, and just keep a skeleton if you like. For example, you could simply write:…to indicatediethylamineminimally.
Basic Node Line:
────────────────────────────────────────────────────────────────────
makefileCopyAtomSymbol: (FormalCharge, ) [OrientationTags]
AtomSymbol: E.g.,C,N,O,H, etc.
(FormalCharge, NumberOfLonePairs)is optional.You can write(0,1)for a neutral nitrogen with 1 lone pair.Or(+1,0)for a cationic nitrogen with 0 lone pairs.Or even(0,2)for an oxygen with 2 lone pairs, etc.
You can write(0,1)for a neutral nitrogen with 1 lone pair.
Or(+1,0)for a cationic nitrogen with 0 lone pairs.
Or even(0,2)for an oxygen with 2 lone pairs, etc.
[OrientationTags]is also optional.E.g.[top],[bottom-lp],[left, wedge], etc.You can invent or omit orientation tags as needed.
E.g.[top],[bottom-lp],[left, wedge], etc.
You can invent or omit orientation tags as needed.
: E.g.,C,N,O,H, etc.
(FormalCharge, NumberOfLonePairs)is optional.
You can write(0,1)for a neutral nitrogen with 1 lone pair.
Or(+1,0)for a cationic nitrogen with 0 lone pairs.
Or even(0,2)for an oxygen with 2 lone pairs, etc.
You can write(0,1)for a neutral nitrogen with 1 lone pair.
Or(+1,0)for a cationic nitrogen with 0 lone pairs.
Or even(0,2)for an oxygen with 2 lone pairs, etc.
[OrientationTags]is also optional.
E.g.[top],[bottom-lp],[left, wedge], etc.
You can invent or omit orientation tags as needed.
E.g.[top],[bottom-lp],[left, wedge], etc.
You can invent or omit orientation tags as needed.
Bonds to Substituentsare written asindented linesunder the parent atom.
Each sub-bond line has the general structure:lessCopybondType->AtomSymbol: (FormalCharge, LonePairs)[OrientationTags]
bondTypecan be:s->for a single bondd->for a double bondt->for a triple bond
s->for a single bond
d->for a double bond
t->for a triple bond
You then continuerecursivelyfor each substituent atom, indenting further.
Each sub-bond line has the general structure:
────────────────────────────────────────────────────────────────────
lessCopybondType -> : (FormalCharge, LonePairs) [OrientationTags]
bondTypecan be:
s->for a single bond
d->for a double bond
t->for a triple bond
s->for a single bond
d->for a double bond
t->for a triple bond
You then continuerecursivelyfor each substituent atom, indenting further.
Lone Pairscan be shown in two ways:
In the parentheses(FormalCharge, ), to indicate count.
Optionally as a “bond line” to a dummy placeholder (e.g.,lp), if you want to emphasize direction:cssCopys-> lp[orientationTagForLonePair]
Either approach is acceptable; do whichever is clearer for you.
In the parentheses(FormalCharge, ), to indicate count.
Optionally as a “bond line” to a dummy placeholder (e.g.,lp), if you want to emphasize direction:
────────────────────────────────────────────────────────────────────
cssCopys-> lp [orientationTagForLonePair]
Either approach is acceptable; do whichever is clearer for you.
be given in the parentheses(formalCharge, nLonePairs). If you needliteral net chargeor some unusual number, you can also note it in brackets or an additional annotation.
Omitting Detailis always allowed. You can drop the hydrogens, the orientation, the lone pairs, and just keep a skeleton if you like. For example, you could simply write:
────────────────────────────────────────────────────────────────────
mathematicaCopyN
s-> C
s-> C
…to indicatediethylamineminimally.
Example: HN(CH2CH3)2. We’ll represent everything (all H’s, all lone pairs, orientations). Let’s designate:
Nitrogen at the center
One hydrogen on “top”
Two ethyl groups, one “left” and one “right”
One lone pair on “bottom”
Nitrogen at the center
One hydrogen on “top”
Two ethyl groups, one “left” and one “right”
One lone pair on “bottom”
Below is afully spelled‐outversion (very verbose, purely demonstrative):
────────────────────────────────────────────────────────────────────
sqlCopyN: (0,1) [center] <-- A neutral N with 1 lone pair
s-> H: (0,0) [top] <-- Single bond to hydrogen at 'top'
s-> C: (0,0) [left] <-- First ethyl group, carbon #1
s-> H: (0,0) <-- 1st hydrogen on this CH2
s-> H: (0,0) <-- 2nd hydrogen on this CH2
s-> C: (0,0) <-- The next carbon in the ethyl chain (CH3)
s-> H: (0,0)
s-> H: (0,0)
s-> H: (0,0)
s-> C: (0,0) [right] <-- Second ethyl group, carbon #1
s-> H: (0,0)
s-> H: (0,0)
s-> C: (0,0) <-- The next carbon in the ethyl chain (CH3)
s-> H: (0,0)
s-> H: (0,0)
s-> H: (0,0)
s-> lp [bottom] <-- Lone pair explicitly shown as a “substituent”
What Each Line Means
N: (0,1) [center]Nitrogen atom; formal charge = 0, 1 lone pair. Labeled[center]for orientation or reference.
s-> H: (0,0) [top]A single bond to a hydrogen (neutral, 0 lone pairs) at the “top.”
s-> C: (0,0) [left]A single bond to a neutral carbon at the “left.”Indented beneath are that carbon’s substituents:s-> H: (0,0)lines for its two hydrogens (making it CH2).s-> C: (0,0)another carbon in the chain. Indented beneath that are the 3 hydrogens (CH3).
Indented beneath are that carbon’s substituents:s-> H: (0,0)lines for its two hydrogens (making it CH2).s-> C: (0,0)another carbon in the chain. Indented beneath that are the 3 hydrogens (CH3).
s-> H: (0,0)lines for its two hydrogens (making it CH2).
s-> C: (0,0)another carbon in the chain. Indented beneath that are the 3 hydrogens (CH3).
s-> C: (0,0) [right]Similarly, the second ethyl group to the “right,” with a CH2 then CH3.
s-> lp [bottom]Optionally shows the lone pair as if it is another “bond.” Tag[bottom]or anything you like to remind you that the pair is oriented downward on your sketch.
N: (0,1) [center]Nitrogen atom; formal charge = 0, 1 lone pair. Labeled[center]for orientation or reference.
s-> H: (0,0) [top]A single bond to a hydrogen (neutral, 0 lone pairs) at the “top.”
s-> C: (0,0) [left]A single bond to a neutral carbon at the “left.”
Indented beneath are that carbon’s substituents:s-> H: (0,0)lines for its two hydrogens (making it CH2).s-> C: (0,0)another carbon in the chain. Indented beneath that are the 3 hydrogens (CH3).
s-> H: (0,0)lines for its two hydrogens (making it CH2).
s-> C: (0,0)another carbon in the chain. Indented beneath that are the 3 hydrogens (CH3).
Indented beneath are that carbon’s substituents:
s-> H: (0,0)lines for its two hydrogens (making it CH2).
s-> C: (0,0)another carbon in the chain. Indented beneath that are the 3 hydrogens (CH3).
s-> H: (0,0)lines for its two hydrogens (making it CH2).
s-> C: (0,0)another carbon in the chain. Indented beneath that are the 3 hydrogens (CH3).
s-> C: (0,0) [right]Similarly, the second ethyl group to the “right,” with a CH2 then CH3.
s-> lp [bottom]Optionally shows the lone pair as if it is another “bond.” Tag[bottom]or anything you like to remind you that the pair is oriented downward on your sketch.
You can shorten or expand this structure as desired:
Omitorientation tags ([top],[bottom], etc.) if you don’t need them.
Omitthe hydrogen expansions if you only care that each carbon is “ethyl.”
Omitexplicit lone pair lines if you’re comfortable just writing(0,1)for nitrogen and knowing it has 1 lone pair.
Omitorientation tags ([top],[bottom], etc.) if you don’t need them.
Omitthe hydrogen expansions if you only care that each carbon is “ethyl.”
Omitexplicit lone pair lines if you’re comfortable just writing(0,1)for nitrogen and knowing it has 1 lone pair.
More Compact Variant
If all you really need is “N with 1 lone pair, single bonds to two ethyls and one H,” you might write:
────────────────────────────────────────────────────────────────────
rustCopyN: (0,1)
s-> H
s-> C2H5
s-> C2H5
(Here,C2H5is just a shorthand label for the ethyl group. Not strictly within the “every atom spelled out” rule, but it shows how you can easily compress details if you wish.)
Or if you only cared about the connectivity skeleton (omitting lone pairs and hydrogen details entirely):
────────────────────────────────────────────────────────────────────
mathematicaCopyN
s-> C
s-> C
Summary of the Key Ideas
One atom per “heading line.”
Indentits substituents, each on its own line, prefixed with abond typearrow likes->,d->, ort->.
Parenthesesfor formal charge and lone‐pair count:(formalCharge, lonePairCount).
Square bracketsfor orientation or any extra labeling.
One atom per “heading line.”
Indentits substituents, each on its own line, prefixed with abond typearrow likes->,d->, ort->.
Parenthesesfor formal charge and lone‐pair count:(formalCharge, lonePairCount).
Square bracketsfor orientation or any extra labeling.
This gives you aflexible,human‐readablesystem for capturing:
Which atoms are connected
How (bond order)
Charges
Lone pairs
2D desired)
Which atoms are connected
How (bond order)
Charges
Lone pairs
2D desired)
…all while letting you omit or include the specifics on a case‐by‐case basis.