Difference between revisions of "Template:ListEdges"

From AtlasWiki
Jump to: navigation, search
(updated to improved version from ListEdgesWIP (one minor issue with links to the predecessor/successor being bold instead of links))
(removing excess whitespace)
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 =  
+
--></noinclude>{{#switch:{{#arraysize:inEdges}}| 0 = | #default = {{{!}} class="xcsgtable"
{{{!}} class="xcsgtable"
+
 
! In Edge !! Predecessor (Comes From) !! Multiplicity !! Description
 
! In Edge !! Predecessor (Comes From) !! Multiplicity !! Description
 
{{!}}-
 
{{!}}-
Line 45: Line 44:
 
Finally, we print the out edges table:
 
Finally, we print the out edges table:
  
--></noinclude>{{#switch:{{#arraysize:outEdges}}| 0 = | #default =  
+
--></noinclude>{{#switch:{{#arraysize:outEdges}}| 0 = | #default = {{{!}} class="xcsgtable"
{{{!}} class="xcsgtable"
+
 
! Out Edge !! Successor (Points To) !! Multiplicity !! Description
 
! Out Edge !! Successor (Points To) !! Multiplicity !! Description
 
{{!}}-
 
{{!}}-

Revision as of 12:57, 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.