<node>

<node> (node) グラフのラベル付きノードを示す。 [19.1 Graphs and Digraphs]
モジュール nets — Graphs, Networks, and Trees
属性
type⚓︎ ノードの種類を示す。
Derived from att.typed
状態 任意
データ型 teidata.enumerated
提案する値は以下の通り:
initial
遷移ネットワークの初期ノード。
final
遷移ネットワークの最終ノード。
<graph>
 <node xml:id="gnex11adjTo="#gnex12"
  adj="#gnex13type="initial">

  <label>1</label>
 </node>
 <node xml:id="gnex12adjFrom="#gnex11"
  adjTo="#gnex13">

  <label>2</label>
 </node>
 <node xml:id="gnex13adjFrom="#gnex12"
  adj="#gnex11type="final">

  <label>3</label>
 </node>
</graph>
value⚓︎ ノードの値を示す。これは、素性構造または他の分析要素である。
状態 任意
データ型 teidata.pointer
adjTo⚓︎ (adjacent to) 有向グラフにおける、現行ノードに入るノードの識別子を示す。
状態 任意
データ型 1–∞ occurrences of teidata.pointer 空白文字で区切られる
<graph>
 <node xml:id="gnex21adjTo="#gnex22"
  adj="#gnex23type="initial">

  <label>1</label>
 </node>
 <node xml:id="gnex22adjTo="#gnex23">
  <label>2</label>
 </node>
 <node xml:id="gnex23type="final">
  <label>3</label>
 </node>
</graph>
adjFrom⚓︎ (adjacent from) 有向グラフにおける、現行ノードから出るノードの識別子を示す。
状態 任意
データ型 1–∞ occurrences of teidata.pointer 空白文字で区切られる
<graph>
 <node xml:id="gnex31type="initial">
  <label>1</label>
 </node>
 <node xml:id="gnex32adjFrom="#gnex31">
  <label>2</label>
 </node>
 <node xml:id="gnex33adjFrom="#gnex32"
  adj="#gnex31type="final">

  <label>3</label>
 </node>
</graph>
adj⚓︎ (adjacent) 無向グラフにおける、現行ノードに隣接するノードの識別子を示す。
状態 任意
データ型 1–∞ occurrences of teidata.pointer 空白文字で区切られる
<graph>
 <node xml:id="gnex41"
  adj="#gnex42 #gnex43type="initial">

  <label>1</label>
 </node>
 <node xml:id="gnex42"
  adj="#gnex41 #gnex43">

  <label>2</label>
 </node>
 <node xml:id="gnex43"
  adj="#gnex42 #gnex41type="final">

  <label>3</label>
 </node>
</graph>
解説

当該グラフが無向グラフの場合は、属性adjToadjFromの代わりに当該属性を使う。当該グラフが有向グ ラフの場合は、その逆である。

inDegree⚓︎ 現行ノードの入りの次数。すなわち、ノードへ入る辺の数。
状態 任意
データ型 teidata.count
<graph>
 <node xml:id="gnex51adjTo="#gnex52"
  adj="#gnex53inDegree="1type="initial">

  <label>1</label>
 </node>
 <node xml:id="gnex52adjFrom="#gnex51"
  adjTo="#gnex53inDegree="2">

  <label>2</label>
 </node>
 <node xml:id="gnex53adjFrom="#gnex52"
  adj="#gnex51inDegree="2type="final">

  <label>3</label>
 </node>
</graph>
outDegree⚓︎ 現行ノードの出の次数。すなわち、ノードから出る辺の数。
状態 任意
データ型 teidata.count
<graph>
 <node xml:id="gnex61adjTo="#gnex62"
  adj="#gnex63outDegree="2type="initial">

  <label>1</label>
 </node>
 <node xml:id="gnex62adjFrom="#gnex61"
  adjTo="#gnex63outDegree="1">

  <label>2</label>
 </node>
 <node xml:id="gnex63adjFrom="#gnex62"
  adj="#gnex61outDegree="2type="final">

  <label>3</label>
 </node>
</graph>
degree⚓︎ 当該ノードの次数。すなわち、ノードにある辺の数。
状態 任意
データ型 teidata.count
<graph>
 <node xml:id="gnex71adjTo="#gnex72"
  adj="#gnex73outDegree="1inDegree="0degree="1"
  type="initial">

  <label>1</label>
 </node>
 <node xml:id="gnex72adjFrom="#gnex71"
  adjTo="#gnex73outDegree="1inDegree="1degree="0">

  <label>2</label>
 </node>
 <node xml:id="gnex73adjFrom="#gnex72"
  adj="#gnex71outDegree="0inDegree="1degree="1"
  type="final">

  <label>3</label>
 </node>
</graph>
解説

当該属性は、当該グラフが無向グラフの場合に、属性 inDegreeoutDegreeの代わりに使用される。 有向グラフの場合は、その逆である。

上位
nets: graph
下位
core: label
解説

ゼロ以上の子要素labelをとるかもしれない。最初の要素 labelは、辺のラベルを示す。2番目の要素labelは、 辺の2つめのラベルを示す。トランスデューサの動作が、辺ではなくノー ドに関連して定義される場合に、当該要素が使用されるべきである。

<node xml:id="t6type="finalinDegree="2"
 outDegree="0">

 <label>6</label>
</node>
Content model
<content>
 <sequence minOccurs="0">
  <elementRef key="label"/>
  <elementRef key="labelminOccurs="0"/>
 </sequence>
</content>
宣言
<rng:element name="node">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.typed.attribute.subtype"/>
 <rng:optional>
  <rng:attribute name="type">
   <rng:choice>
    <rng:value>initial</rng:value>
    <rng:value>final</rng:value>
    <rng:ref name="teidata.enumerated"/>
   </rng:choice>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="value">
   <rng:ref name="teidata.pointer"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="adjTo">
   <rng:list>
    <rng:oneOrMore>
     <rng:ref name="teidata.pointer"/>
    </rng:oneOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="adjFrom">
   <rng:list>
    <rng:oneOrMore>
     <rng:ref name="teidata.pointer"/>
    </rng:oneOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="adj">
   <rng:list>
    <rng:oneOrMore>
     <rng:ref name="teidata.pointer"/>
    </rng:oneOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="inDegree">
   <rng:ref name="teidata.count"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="outDegree">
   <rng:ref name="teidata.count"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="degree">
   <rng:ref name="teidata.count"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:group>
   <rng:ref name="label"/>
   <rng:optional>
    <rng:ref name="label"/>
   </rng:optional>
  </rng:group>
 </rng:optional>
</rng:element>
element node
{
   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,
   att.typed.attribute.subtype,
   attribute type { "initial" | "final" | teidata.enumerated }?,
   attribute value { teidata.pointer }?,
   attribute adjTo { list { teidata.pointer+ } }?,
   attribute adjFrom { list { teidata.pointer+ } }?,
   attribute adj { list { teidata.pointer+ } }?,
   attribute inDegree { teidata.count }?,
   attribute outDegree { teidata.count }?,
   attribute degree { teidata.count }?,
   ( label, label? )?
}