packet (link)

5reg

packet (link)

Replaced by &xml-link;

Content Model
    packet ::= (&xml-crossings;, &xml-connections;, &xml-components;,
                &xml-tag;*, &xml-packet;*)
Attributes
See the general &xml-packet; element documentation.

&eltdepver;7.0

## Description

In ®ina; 6.0.1 and earlier, the &xml-packet; element was used to store every packet in the entire packet tree that makes up a ®ina; data file. This page describes how the &xml-packet; element was structured when storing a knot/link packet. Since ®ina; 7.0, each packet type has its own &xml; element; in particular, knot/link packets are now stored using the &xml-link; element.

A knot/link packet stores the diagram of an oriented link in 3-dimensional space.

The number of crossings in the diagram and the signs of these crossings are stored in the child &xml-crossings; element, and the connections between these crossings are stored in the child &xml-connections; element. The child &xml-components; element stores a starting point for each component of the link.

The roles played by the child &xml-tag; and &xml-packet; elements are described in the general &xml-packet; element documentation.

### Parents

The following elements contain `packet` for a knot/link packet:

- &xml-packet;
- &xml-reginadata;

.

### Children

The following elements occur in `packet` for a knot/link packet:

- &xml-components;
- &xml-connections;
- &xml-crossings;
- &xml-packet;
- &xml-tag;

.

## Example

The following &xml; snippet represents the Whitehead link.

    <packet label="Whitehead link" type="Link" typeid="17" parent="">
    <crossings size="5">
    - - + + -
    </crossings>
    <connections>
    _1 ^1
    _2 ^4
    _4 ^3
    _0 ^2
    _3 ^0
    </connections>
    <components size="2">
    ^0 _0
    </components>
    </packet>