<graph>
<graph> encodes a graph, which is a collection of nodes, and arcs which connect the nodes. [19.1 Graphs and Digraphs] | |||||||||||||||||||||||||
Modul | nets — 19 Graphs, Networks, and Trees | ||||||||||||||||||||||||
Attribute | att.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change))
| ||||||||||||||||||||||||
Verwendet von | |||||||||||||||||||||||||
Enthalten in | figures: figure header: change handNote licence scriptNote typeNote msdescription: accMat acquisition additions collation condition custEvent decoNote filiation foliation layout musicNotation origin provenance source support surrogates tagdocs: specGrp transcr: metamark | ||||||||||||||||||||||||
Kann enthalten | figures: figure notatedMusic textcrit: witDetail transcr: addSpan damageSpan delSpan fw listTranspose metamark space substJoin | ||||||||||||||||||||||||
Deklaration |
element graph { att.global.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, attribute type { "undirected" | "directed" | "transitionNetwork" | "transducer" | xsd:Name }?, attribute order { data.count }?, attribute size { data.count }?, ( ( label, model.global* )?, ( ( ( node, model.global* )+, ( arc, model.global* )* ) | ( ( arc, model.global* )+, ( node, model.global* )+ ) ) ) } | ||||||||||||||||||||||||
Beispiel |
<graph
xml:id="cug1" type="undirected" order="5" size="4" rend="LABEL-PLACE bottom center NODE-FRAME none ARC solid line"> <label>Airline Connections in Southwestern USA</label> <node xml:id="lax" degree="2"> <label>LAX</label> </node> <node xml:id="lvg" degree="2"> <label>LVG</label> </node> <node xml:id="phx" degree="3"> <label>PHX</label> </node> <node xml:id="tus" degree="1"> <label>TUS</label> </node> <node xml:id="cib" degree="0"> <label>CIB</label> </node> <arc from="#lax" to="#lvg"/> <arc from="#lax" to="#phx"/> <arc from="#lvg" to="#phx"/> <arc from="#phx" to="#tus"/> </graph> |