|  | components | 
| Prev | Data File Format | Next | 
Name
components — The components of a knot/link diagram
Synopsis
| Content Model | |
| components ::= (#PCDATA) | |
| Attributes | |
| Name | Type | 
| size | NUMBER (required) | 
Description
   A components element encodes a starting point for each link
   component in a knot/link diagram.
   Recall that, in Regina, all knot/link diagrams are oriented.
  
   The total number of components must be specified by the
   size attribute.  The individual components are
   numbered 0, 1, 2, and so on.
  
   The character data of this XML element should be a
   whitespace-separated list of tokens, each representing a starting
   point for traversing an individual component of the link diagram.
   There should be size tokens in total,
   representing starting points for components 0, 1, 2, ... in order.
  
   If a component has no crossings (i.e., it is a zero-crossing unknot
   component), then the corresponding token should be the six-character
   literal string (null).
   Otherwise the token should be in one of the two forms
   ^k, representing the
   upper strand of crossing number k,
   or _k, representing the
   lower strand of crossing number k.
   Here the symbols ^ and _ are
   literal characters, whereas k should be
   replaced by a crossing number. Recall that Regina numbers crossings
   beginning at 0.
  
| Prev | Contents | Next | 
| compact (surface) | Up | compressingdisc |