Skip to content

<node>

node

encodes a node, a possibly labeled point in a graph.

Module netsGDGR

Attributes

@valueprovides the value of a node, which is a feature structure or other analytic element.
Status
Optional
Datatype
teidata.pointer
@typeprovides a type for a node.
Status
Optional
Datatype
teidata.enumerated
Suggested values
initial
initial node in a transition network
final
final node in a transition network
<graph>
  <node xml:id="gnex11" adjTo="#gnex12" adj="#gnex13" type="initial">
    <label>1</label>
  </node>
  <node xml:id="gnex12" adjFrom="#gnex11" adjTo="#gnex13">
    <label>2</label>
  </node>
  <node xml:id="gnex13" adjFrom="#gnex12" adj="#gnex11" type="final">
    <label>3</label>
  </node>
</graph>
@adjTogives the identifiers of the nodes which are adjacent to the current node.
Status
Optional
Datatype
1–∞ occurrences of teidata.pointer separated by whitespace
<graph>
  <node xml:id="gnex21" adjTo="#gnex22" adj="#gnex23" type="initial">
    <label>1</label>
  </node>
  <node xml:id="gnex22" adjTo="#gnex23">
    <label>2</label>
  </node>
  <node xml:id="gnex23" type="final">
    <label>3</label>
  </node>
</graph>
@adjFromgives the identifiers of the nodes which are adjacent from the current node.
Status
Optional
Datatype
1–∞ occurrences of teidata.pointer separated by whitespace
<graph>
  <node xml:id="gnex31" type="initial">
    <label>1</label>
  </node>
  <node xml:id="gnex32" adjFrom="#gnex31">
    <label>2</label>
  </node>
  <node xml:id="gnex33" adjFrom="#gnex32" adj="#gnex31" type="final">
    <label>3</label>
  </node>
</graph>
@adjgives the identifiers of the nodes which are both adjacent to and adjacent from the current node.
Status
Optional
Datatype
1–∞ occurrences of teidata.pointer separated by whitespace
<graph>
  <node xml:id="gnex41" adj="#gnex42 #gnex43" type="initial">
    <label>1</label>
  </node>
  <node xml:id="gnex42" adj="#gnex41 #gnex43">
    <label>2</label>
  </node>
  <node xml:id="gnex43" adj="#gnex42 #gnex41" type="final">
    <label>3</label>
  </node>
</graph>
@inDegreegives the in degree of the node, the number of nodes which are adjacent from the given node.
Status
Optional
Datatype
teidata.count
<graph>
  <node xml:id="gnex51" adjTo="#gnex52" adj="#gnex53" inDegree="1" type="initial">
    <label>1</label>
  </node>
  <node xml:id="gnex52" adjFrom="#gnex51" adjTo="#gnex53" inDegree="2">
    <label>2</label>
  </node>
  <node xml:id="gnex53" adjFrom="#gnex52" adj="#gnex51" inDegree="2" type="final">
    <label>3</label>
  </node>
</graph>
@outDegreegives the out degree of the node, the number of nodes which are adjacent to the given node.
Status
Optional
Datatype
teidata.count
<graph>
  <node xml:id="gnex61" adjTo="#gnex62" adj="#gnex63" outDegree="2" type="initial">
    <label>1</label>
  </node>
  <node xml:id="gnex62" adjFrom="#gnex61" adjTo="#gnex63" outDegree="1">
    <label>2</label>
  </node>
  <node xml:id="gnex63" adjFrom="#gnex62" adj="#gnex61" outDegree="2" type="final">
    <label>3</label>
  </node>
</graph>
@degreegives the degree of the node, the number of arcs with which the node is incident.
Status
Optional
Datatype
teidata.count
<graph>
  <node xml:id="gnex71" adjTo="#gnex72" adj="#gnex73" outDegree="1" inDegree="0" degree="1" type="initial">
    <label>1</label>
  </node>
  <node xml:id="gnex72" adjFrom="#gnex71" adjTo="#gnex73" outDegree="1" inDegree="1" degree="0">
    <label>2</label>
  </node>
  <node xml:id="gnex73" adjFrom="#gnex72" adj="#gnex71" outDegree="0" inDegree="1" degree="1" type="final">
    <label>3</label>
  </node>
</graph>

Classes and content

May contain

core

Contained by

nets

Note

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 whose actions are associated with nodes rather than with arcs.

Example

<node xml:id="t6" type="final" inDegree="2" outDegree="0">
  <label>6</label>
</node>

Content model

<content>
    <elementRef key="label" minOccurs="0" maxOccurs="2"/>
  </content>