|
|
|||||
|
The
following hierarchy contains 16 Atoms (blue
circles) organized into 10 Groups (pink squares).
Two of the Groups are empty. Atom and Group names
are shown between quotation marks. For Atoms, the
number below the name is the atom number or index.
For Groups there is a pair of numbers below the
name. The first number is the atom index of the
first atom (if any) contained in that group. The
second number is the atom index of the first atom
in the next Group or Atom. Both Atom and Group
are
AtomGroup
objects. The
following code (yellow, top left panel) shows one
way of producing this hierarchy. Once created, the
hierarchy can be viewed by
typing:
print
Top
or
just
Top
(blue,
top right panel). The string representation of this
hierarchy can be viewed by typing (for
example):
print
`Top`
(green,
bottom panel, note the backquotes). |
|||||