  A coding scheme is introduced, allowing to store a set of linked bit strings
in planar magnetic nanoelements with holes. Analytical expressions for the
corresponding magnetization distributions are developed up to a homotopy and
the specific examples are given for doubly- and triply-connected cases. The
energy barriers, protecting the information-bearing states, are discussed.
Compared to a set of disparate simply-connected nanoelements of the same total
connectivity, the nanoelements with holes can hold much more information due to
the possibility of linking the individual bits.
