<arc>

<arc> encodes an arc, the connection from one node to another in a graph. [19.1 Graphs and Digraphs]
Modulenets — Graphs, Networks, and Trees
Attributesatt.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp))
fromgives the identifier of the node which is adjacent from this arc.
Status Required
Datatype

<rng:ref name="data.pointer"/>
data.pointer
togives the identifier of the node which is adjacent to this arc.
Status Required
Datatype

<rng:ref name="data.pointer"/>
data.pointer
Contained by
nets: graph
May contain
core: label
Declaration

<rng:element name="arc">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:attribute name="from">
  <rng:ref name="data.pointer"/>
 </rng:attribute>
 <rng:attribute name="to">
  <rng:ref name="data.pointer"/>
 </rng:attribute>
 <rng:optional>
  <rng:ref name="label"/>
  <rng:optional>
   <rng:ref name="label"/>
  </rng:optional>
 </rng:optional>
</rng:element>
element arc
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   attribute from { data.pointer },
   attribute to { data.pointer },
   ( label, label? )?
}
Example
<arc from="#T3to="#T3">
 <label>OLD</label>
 <label>VIEUX</label>
</arc>
Note

The arc element must be used if the arcs are labeled. Otherwise, arcs can be encoded using the adj, adjTo and adjFrom attributes on the node tags in the graph. Both arc tags and adjacency attributes can be used, but the resulting encoding would be highly redundant.

Zero, one, or two children label elements may be present. The first occurence of label provides a label for the arc; the second provides a second label for the arc, and should be used if a transducer is being encoded.