Wgraph:Commands i

From FollowTheScore
Revision as of 19:21, 20 October 2007 by Gero (talk | contribs) (New page: 'importance' => 'unsigned', // graph, node, nodetype 'info1' => 'string', // graph, node, nodetype 'info2' => 'string', // graph, node, nodetype 'info3' => 'string', // g...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

'importance' => 'unsigned', // graph, node, nodetype 'info1' => 'string', // graph, node, nodetype 'info2' => 'string', // graph, node, nodetype 'info3' => 'string', // graph, node, nodetype 'infoname' => 'string', // index 'infoname' => 'string', // index 'inportsharing' => 'boolean', 'invisible' => 'boolean', a - b - c - d - e - f - g - h - i - j - k - l - m - n - o - p - q - r - s - t - u - v - w - x - y - z
Show attributes for     node -- nodetype -- edge -- edgetype -- graph/subgraph -- all

Command Type Default Description Context aiSee
manual
Example
[[Wgraph:Commands {{#sub:icon|0|1}}#icon|icon]]

string (filename withou path)

empty string

instead of a shape an icon will be drawn. icon<tt> is an alias for <tt>icon_file.

graph, subgraph, node, nodetype

{{#vardefine:ref|{{#replace:G:iconfile|G:|44list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|N:|45list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|E:|46list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|EF:|35.htm#}}}}icon

demo

[[Wgraph:Commands {{#sub:icon_colors|0|1}}#icon_colors|icon_colors]]

integer (max 256)

32

defines the number of colors that can be used within icons.

graph

{{#vardefine:ref|{{#replace:G:iconcolors|G:|44list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|N:|45list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|E:|46list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|EF:|35.htm#}}}}icon_colors

[[Wgraph:Commands {{#sub:icon_file|0|1}}#icon_file|icon_file]]

string (filename)

empty string

See [[Wgraph:Commands {{#sub:icon|0|1}}#icon|icon]]

graph, subgraph, node, nodetype

{{#vardefine:ref|{{#replace:G:iconfile|G:|44list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|N:|45list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|E:|46list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|EF:|35.htm#}}}}icon_file

demo

[[Wgraph:Commands {{#sub:icons|0|1}}#icons|icons]]

boolean

yes

enable / disable icon drawing

graph

{{#vardefine:ref|{{#replace:G:icons|G:|44list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|N:|45list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|E:|46list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|EF:|35.htm#}}}}icons

[[Wgraph:Commands {{#sub:ignore_singles|0|1}}#ignore_singles|ignore_singles]]

boolean

no

enables / disables the display of single (unconnected) nodes

graph, subgraph

{{#vardefine:ref|{{#replace:G:ignore_singles|G:|44list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|N:|45list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|E:|46list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|EF:|35.htm#}}}}ignore_singles

[[Wgraph:Commands {{#sub:?|0|1}}#?|?]]

integer xyz

graph, subgraph, node, nodetype, edge, edgetype

{{#vardefine:ref|{{#replace:G:attr-amax|G:|44list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|N:|45list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|E:|46list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|EF:|35.htm#}}}}?

demo

[[Wgraph:Commands {{#sub:?|0|1}}#?|?]]

integer xyz

graph, subgraph, node, nodetype, edge, edgetype

{{#vardefine:ref|{{#replace:G:attr-amax|G:|44list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|N:|45list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|E:|46list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|EF:|35.htm#}}}}?

demo

[[Wgraph:Commands {{#sub:?|0|1}}#?|?]]

integer xyz

graph, subgraph, node, nodetype, edge, edgetype

{{#vardefine:ref|{{#replace:G:attr-amax|G:|44list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|N:|45list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|E:|46list.htm#}}}}{{#vardefine:ref|{{#replace:{{#var:ref}}|EF:|35.htm#}}}}?

demo