Example: <graph>

These search results reproduce every example of the use of <graph> in the Guidelines, including all localised and translated versions. In some cases, the examples have been drawn from discussion of other elements in the Guidelines and illustrating the use of <graph> is not the main focus of the passage in question. In other cases, examples may be direct translations of each other, and hence identical from the perspective of their encoding.

19 Graphs, Networks, and Trees


19.1 Graphs and Digraphs

<graph
  type="undirected"
  xml:id="CUG1"
  order="5"
  size="4">

 <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>

19.1 Graphs and Digraphs

<graph
  type="undirected"
  xml:id="CUG2"
  order="5"
  size="4">

 <label>Airline Connections in Southwestern USA</label>
 <node xml:id="LAX2" degree="2" adj="#LVG2 #PHX2">
  <label>LAX2</label>
 </node>
 <node xml:id="LVG2" degree="2" adj="#LAX2 #PHX2">
  <label>LVG2</label>
 </node>
 <node xml:id="PHX2" degree="3" adj="#LAX2 #LVG2 #TUS2">
  <label>PHX2</label>
 </node>
 <node xml:id="TUS2" degree="1" adj="#PHX2">
  <label>TUS2</label>
 </node>
 <node xml:id="CIB2" degree="0">
  <label>CIB2</label>
 </node>
</graph>

19.1 Graphs and Digraphs

<graph
  type="undirected"
  xml:id="CUG3"
  order="5"
  size="4">

 <label>Airline Connections in Southwestern USA</label>
 <node xml:id="LAX3" degree="2" adj="#LVG3 #PHX3">
  <label>LAX3</label>
 </node>
 <node xml:id="LVG3" degree="2" adj="#PHX3">
  <label>LVG3</label>
 </node>
 <node xml:id="PHX3" degree="3" adj="#TUS3">
  <label>PHX3</label>
 </node>
 <node xml:id="TUS3" degree="1">
  <label>TUS3</label>
 </node>
 <node xml:id="CIB3" degree="0">
  <label>CIB3</label>
 </node>
</graph>

19.1 Graphs and Digraphs

<graph
  type="directed"
  xml:id="RDG1"
  order="5"
  size="5">

 <label>Selected Airline Routes in Southwestern USA</label>
 <node xml:id="LAX4" inDegree="1" outDegree="1">
  <label>LAX4</label>
 </node>
 <node xml:id="LVG4" inDegree="1" outDegree="1">
  <label>LVG4</label>
 </node>
 <node xml:id="PHX4" inDegree="2" outDegree="2">
  <label>PHX4</label>
 </node>
 <node xml:id="TUS4" inDegree="1" outDegree="1">
  <label>TUS4</label>
 </node>
 <node xml:id="CIB4" inDegree="0" outDegree="0">
  <label>CIB4</label>
 </node>
 <arc from="#LAX4" to="#LVG4"/>
 <arc from="#LVG4" to="#PHX4"/>
 <arc from="#PHX4" to="#LAX4"/>
 <arc from="#PHX4" to="#TUS4"/>
 <arc from="#TUS4" to="#PHX4"/>
</graph>

19.1 Graphs and Digraphs

<graph
  type="directed"
  xml:id="RDG2"
  order="5"
  size="5">

 <label>Selected Airline Routes in Southwestern USA</label>
 <node
   xml:id="LAX5"
   inDegree="1"
   outDegree="1"
   adjTo="#LVG5"
   adjFrom="#PHX5">

  <label>LAX5</label>
 </node>
 <node
   xml:id="LVG5"
   inDegree="1"
   outDegree="1"
   adjFrom="#LAX5"
   adjTo="#PHX5">

  <label>LVG5</label>
 </node>
 <node
   xml:id="PHX5"
   inDegree="2"
   outDegree="2"
   adjTo="#LAX5 #TUS"
   adjFrom="#LVG5 #TUS5">

  <label>PHX5</label>
 </node>
 <node
   xml:id="TUS5"
   inDegree="1"
   outDegree="1"
   adjTo="#PHX5"
   adjFrom="#PHX5">

  <label>TUS5</label>
 </node>
 <node xml:id="CIB5" inDegree="0" outDegree="0">
  <label>CIB5</label>
 </node>
</graph>

19.1 Graphs and Digraphs

<graph
  type="directed"
  xml:id="RDG3"
  order="5"
  size="5">

 <label>Selected Airline Routes in Southwestern USA</label>
 <node xml:id="LAX6">
  <label>LAX6</label>
 </node>
 <node xml:id="LVG6">
  <label>LVG6</label>
 </node>
 <node xml:id="PHX6">
  <label>PHX6</label>
 </node>
 <node xml:id="TUS6">
  <label>TUS6</label>
 </node>
 <node xml:id="CIB6">
  <label>CIB6</label>
 </node>
 <arc from="#LAX6" to="#LVG6">
  <label>SW117</label>
 </arc>
 <arc from="#LVG6" to="#PHX6">
  <label>SW711</label>
 </arc>
 <arc from="#PHX6" to="#LAX6">
  <label>AA218</label>
 </arc>
 <arc from="#PHX6" to="#TUS6">
  <label>AW229</label>
 </arc>
 <arc from="#TUS6" to="#PHX6">
  <label>AW225</label>
 </arc>
</graph>

<graph>

<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>

<graph>

<graph
  xml:id="fr_cug1"
  type="undirected"
  order="5"
  size="4"
  rend="LABEL-PLACE bottom center NODE-FRAME none ARC solid line">

 <label>Inter-connexions des compagnies aériennes dans le Sud-Ouest des Etats-Unis.</label>
 <node xml:id="fr_lax" degree="2">
  <label>LAX</label>
 </node>
 <node xml:id="fr_lvg" degree="2">
  <label>LVG</label>
 </node>
 <node xml:id="fr_phx" degree="3">
  <label>PHX</label>
 </node>
 <node xml:id="fr_tus" degree="1">
  <label>TUS</label>
 </node>
 <node xml:id="fr_cib" degree="0">
  <label>CIB</label>
 </node>
 <arc from="#fr_lax" to="#lvg"/>
 <arc from="#fr_lax" to="#phx"/>
 <arc from="#fr_lvg" to="#phx"/>
 <arc from="#fr_phx" to="#tus"/>
</graph>

<graph>

<graph
  xml:id="zh-tw_cug1"
  type="undirected"
  order="5"
  size="4"
  rend="LABEL-PLACE bottom center NODE-FRAME none ARC solid line">

 <label>美國西南部航空站</label>
 <node xml:id="zh-tw_lax" degree="2">
  <label>LAX</label>
 </node>
 <node xml:id="zh-tw_lvg" degree="2">
  <label>LVG</label>
 </node>
 <node xml:id="zh-tw_phx" degree="3">
  <label>PHX</label>
 </node>
 <node xml:id="zh-tw_tus" degree="1">
  <label>TUS</label>
 </node>
 <node xml:id="zh-tw_cib" degree="0">
  <label>CIB</label>
 </node>
 <arc from="#zh-tw_lax" to="#zh-tw_lvg"/>
 <arc from="#zh-tw_lax" to="#zh-tw_phx"/>
 <arc from="#zh-tw_lvg" to="#zh-tw_phx"/>
 <arc from="#zh-tw_phx" to="#zh-tw_tus"/>
</graph>

19.1.1 Transition Networks

<graph
  type="network-transition"
  xml:id="SS8"
  order="5"
  size="6">

 <label>(8)</label>
 <node
   xml:id="Q0"
   inDegree="0"
   outDegree="1"
   type="initial"/>

 <node xml:id="Q1" inDegree="2" outDegree="3"/>
 <node xml:id="Q2" inDegree="1" outDegree="1"/>
 <node xml:id="Q3" inDegree="1" outDegree="1"/>
 <node
   xml:id="Q4"
   inDegree="2"
   outDegree="0"
   type="final"/>

 <arc from="#Q0" to="#Q1">
  <label>THE</label>
 </arc>
 <arc from="#Q1" to="#Q1">
  <label>OLD</label>
 </arc>
 <arc from="#Q1" to="#Q2">
  <label>MAN</label>
 </arc>
 <arc from="#Q1" to="#Q3">
  <label>MEN</label>
 </arc>
 <arc from="#Q2" to="#Q4">
  <label>COMES</label>
 </arc>
 <arc from="#Q3" to="#Q4">
  <label>COME</label>
 </arc>
</graph>

19.1.1 Transition Networks

<graph type="transducer" order="7" size="10">
 <node
   xml:id="T0"
   inDegree="0"
   outDegree="3"
   type="initial">

  <label>0</label>
 </node>
 <node xml:id="T1" inDegree="2" outDegree="1">
  <label>1</label>
 </node>
 <node xml:id="T2" inDegree="2" outDegree="2">
  <label>2</label>
 </node>
 <node xml:id="T3" inDegree="2" outDegree="2">
  <label>3</label>
 </node>
 <node xml:id="T4" inDegree="1" outDegree="1">
  <label>4</label>
 </node>
 <node xml:id="T5" inDegree="1" outDegree="1">
  <label>5</label>
 </node>
 <node
   xml:id="T6"
   inDegree="2"
   outDegree="0"
   type="final">

  <label>6</label>
 </node>
 <arc from="#T0" to="#T1">
  <label>THE</label>
  <label>L'</label>
 </arc>
 <arc from="#T0" to="#T2">
  <label>THE</label>
  <label>LE</label>
 </arc>
 <arc from="#T0" to="#T3">
  <label>THE</label>
  <label>LES</label>
 </arc>
 <arc from="#T1" to="#T4">
  <label>MAN</label>
  <label>HOMME</label>
 </arc>
 <arc from="#T2" to="#T1">
  <label>OLD</label>
  <label>VIEIL</label>
 </arc>
 <arc from="#T2" to="#T2">
  <label>OLD</label>
  <label>VIEIL</label>
 </arc>
 <arc from="#T3" to="#T3">
  <label>OLD</label>
  <label>VIEUX</label>
 </arc>
 <arc from="#T3" to="#T5">
  <label>MEN</label>
  <label>HOMMES</label>
 </arc>
 <arc from="#T4" to="#T6">
  <label>COMES</label>
  <label>VIENT</label>
 </arc>
 <arc from="#T5" to="#T6">
  <label>COME</label>
  <label>VIENNENT</label>
 </arc>
</graph>

19.1.2 Family Trees

<graph type="family_tree" order="13" size="12">
 <node
   xml:id="KATHR"
   value="http://example.com/russell-fs/tei/kr1"
   inDegree="0"
   outDegree="1">

  <label>Katherine</label>
 </node>
 <node
   xml:id="AMBER"
   value="http://example.com/russell-fs/tei/ar1"
   inDegree="0"
   outDegree="1">

  <label>Amberley</label>
 </node>
 <node xml:id="KAR" inDegree="2" outDegree="3">
  <label>K+A</label>
 </node>
 <node
   xml:id="BERTR"
   value="http://example.com/russell-fs/tei/br1"
   inDegree="1"
   outDegree="2">

  <label>Bertrand</label>
 </node>
 <node
   xml:id="PETER"
   value="http://example.com/russell-fs/tei/pr1"
   inDegree="0"
   outDegree="1">

  <label>Peter</label>
 </node>
 <node
   xml:id="DORAR"
   value="http://example.com/russell-fs/tei/dr1"
   inDegree="0"
   outDegree="1">

  <label>Dora</label>
 </node>
 <node xml:id="PBR" inDegree="2" outDegree="1">
  <label>P+B</label>
 </node>
 <node xml:id="DBR" inDegree="2" outDegree="2">
  <label>D+B</label>
 </node>
 <node
   xml:id="FRANR"
   value="http://example.com/russell-fs/tei/fr1"
   inDegree="1"
   outDegree="0">

  <label>Frank</label>
 </node>
 <node
   xml:id="RACHR"
   value="http://example.com/russell-fs/tei/rr1"
   inDegree="1"
   outDegree="0">

  <label>Rachel</label>
 </node>
 <node
   xml:id="CONRR"
   value="http://example.com/russell-fs/tei/cr1"
   inDegree="1"
   outDegree="0">

  <label>Conrad</label>
 </node>
 <node
   xml:id="KATER"
   value="http://example.com/russell-fs/tei/kr2"
   inDegree="1"
   outDegree="0">

  <label>Kate</label>
 </node>
 <node
   xml:id="JOHNR"
   value="http://example.com/russell-fs/tei/jr1"
   inDegree="1"
   outDegree="0">

  <label>John</label>
 </node>
 <arc from="#KATHR" to="#KAR">
  <label>Mo</label>
 </arc>
 <arc from="#AMBER" to="#KAR">
  <label>Fa</label>
 </arc>
 <arc from="#KAR" to="#BERTR">
  <label>So</label>
 </arc>
 <arc from="#KAR" to="#FRANR">
  <label>So</label>
 </arc>
 <arc from="#KAR" to="#RACHR">
  <label>Da</label>
 </arc>
 <arc from="#PETER" to="#PBR">
  <label>Mo</label>
 </arc>
 <arc from="#BERTR" to="#PBR">
  <label>Fa</label>
 </arc>
 <arc from="#PBR" to="#CONRR">
  <label>So</label>
 </arc>
 <arc from="#DORAR" to="#DBR">
  <label>Mo</label>
 </arc>
 <arc from="#BERTR" to="#DBR">
  <label>Fa</label>
 </arc>
 <arc from="#DBR" to="#KATER">
  <label>Da</label>
 </arc>
 <arc from="#DBR" to="#JOHNR">
  <label>So</label>
 </arc>
</graph>

19.1.3 Historical Interpretation

<graph type="directed" order="7" size="9">
 <node xml:id="EARL">
  <label>Earl of Argyll's land</label>
 </node>
 <node xml:id="GALL"
   value="http://example.com/people/scots#gall">

  <label>Gallachalzie</label>
 </node>
 <node xml:id="PERT">
  <label>Pertinents</label>
 </node>
 <node xml:id="PER1">
  <label>Pertinents part</label>
 </node>
 <node xml:id="PER2">
  <label>Pertinents part</label>
 </node>
 <node
   xml:id="KNAP"
   value="http://example.com/people/scots#knapfs">

  <label>Lordship of Knapdale</label>
 </node>
 <node
   xml:id="ARGY"
   value="http://example.com/people/scots#argyfs">

  <label>Sherrifdome of Argyll</label>
 </node>
 <arc xml:id="EARLGALL" from="#EARL" to="#GALL">
  <label>INCLUDE</label>
 </arc>
 <arc
   xml:id="EARLARGY"
   from="#EARL"
   to="#ARGY"
   exclude="#PERTARGY #KNAPARGY">

  <label>IN</label>
 </arc>
 <arc xml:id="EARLPERT" from="#EARL" to="#PERT">
  <label>INCLUDE</label>
 </arc>
 <arc xml:id="PERTPER1" from="#PERT" to="#PER1">
  <label>INCLUDE</label>
 </arc>
 <arc xml:id="PERTPER2" from="#PERT" to="#PER2">
  <label>INCLUDE</label>
 </arc>
 <arc
   xml:id="PERTARGY"
   from="#PERT"
   to="#ARGY"
   exclude="#EARLARGY #KNAPARGY">

  <label>IN</label>
 </arc>
 <arc xml:id="PER1KNAP" from="#PER1" to="#KNAP">
  <label>BY</label>
 </arc>
 <arc xml:id="PER2KNAP" from="#PER2" to="#KNAP">
  <label>PART OF</label>
 </arc>
 <arc
   xml:id="KNAPARGY"
   from="#KNAP"
   to="#ARGY"
   exclude="#EARLARGY #PERTARGY">

  <label>IN</label>
 </arc>
</graph>