<arc>
<arc> (arc) encodes an arc, the connection from one node to another in a graph. [20.1 Graphs and Digraphs] | |||||||||||||
Module | nets — Graphs, Networks, and Trees | ||||||||||||
Attributes |
|
||||||||||||
Contained by |
nets: graph
|
||||||||||||
May contain |
core: label
|
||||||||||||
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. |
||||||||||||
Example | |||||||||||||
Content model |
<content> |
||||||||||||
Schema Declaration |
<rng:element name="arc"> 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, att.global.source.attributes, attribute from { teidata.pointer }, attribute to { teidata.pointer }, ( ( label, label? )? ) } |