<arc>

<arc> codifica un arco, cioè il collegamento tra un nodo e l'altro all'interno di un grafo 19.1 Graphs and Digraphs
Modulonets — 19 Graphs, Networks, and Trees
Attributi
fromassegna un identificatore al nodo non adiacente all'arco
Stato Richiesto
Tipo di dati
data.pointer
Valori The identifier of a node.
toassegna un identificatore al nodo adiacente all'arco
Stato Richiesto
Tipo di dati
data.pointer
Valori The identifier of a node.
Usato dagraph
Può contenere
core: label
Dichiarazione
element arc
{
   att.global.attributes,
   attribute from { data.pointer },
   attribute to { data.pointer },
   ( label, label? )?
}
Esempio
<arc from="#T3to="#T3">
 <label>OLD</label>
 <label>VIEUX</label>
</arc>
Nota
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.