<arc>
arc
encodes an arc, the connection from one node to another in a graph.
Module netsGDGR
Attributes
Global and inherited attributes:
- @fromgives the identifier of the node which is adjacent from this arc.
- Status
- Required
- Datatype
- teidata.pointer
- @togives the identifier of the node which is adjacent to this arc.
- Status
- Required
- Datatype
- teidata.pointer
Classes and content
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 occurrence 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.
Example
<arc from="#T3" to="#T3">
<label>OLD</label>
<label>VIEUX</label>
</arc>
Content model
<content>
<elementRef key="label" minOccurs="0" maxOccurs="2"/>
</content>