Difference between revisions of "Template:ListEdges"

From AtlasWiki
Jump to: navigation, search
(removing excess whitespace)
(Extra whitespace is due to the output starting with a table, and cannot be avoided (it is automatically added by mediawiki), reverting)
Line 18: Line 18:
 
...now we parse those into an "In Edge" table, if and only if there is at least one in edge:
 
...now we parse those into an "In Edge" table, if and only if there is at least one in edge:
  
--></noinclude>{{#switch:{{#arraysize:inEdges}}| 0 = | #default = {{{!}} class="xcsgtable"
+
--></noinclude>{{#switch:{{#arraysize:inEdges}}| 0 = | #default =  
 +
{{{!}} class="xcsgtable"
 
! In Edge !! Predecessor (Comes From) !! Multiplicity !! Description
 
! In Edge !! Predecessor (Comes From) !! Multiplicity !! Description
 
{{!}}-
 
{{!}}-
Line 44: Line 45:
 
Finally, we print the out edges table:
 
Finally, we print the out edges table:
  
--></noinclude>{{#switch:{{#arraysize:outEdges}}| 0 = | #default = {{{!}} class="xcsgtable"
+
--></noinclude>{{#switch:{{#arraysize:outEdges}}| 0 = | #default =  
 +
{{{!}} class="xcsgtable"
 
! Out Edge !! Successor (Points To) !! Multiplicity !! Description
 
! Out Edge !! Successor (Points To) !! Multiplicity !! Description
 
{{!}}-
 
{{!}}-

Revision as of 14:27, 27 March 2014

For use on node kind pages; will eventually automatically lists all known kinds of in and out edges to/from this kind of node, and the kinds of nodes those edges come from.

Currently lists just the node/edge pairs that point explicitly to/from this kind of node, ignoring superkinds.