Wgraph:Commands n

From FollowTheScore
Revision as of 08:37, 7 November 2007 by Gero (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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:near_edge|0|1}}#near_edge|near_edge]]

complex

-

Defines a near edge. Is equivalent to edge ... { kind near ... }

graph, subgraph

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

boolean

yes

When set to no the drawing of near edges will be disabled, i.e. edges of kind = near will be drawn as normal edges.

graph, subgraph

{{#vardefine:ref|{{#replace:G:nearedges|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#}}}}near_edges

demo

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

top, center, bottom

center

influences the way nodes are drawn in a hierarchical layout

graph, subgraph

{{#vardefine:ref|{{#replace:G:nodealignment|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#}}}}node_alignment

demo

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

complex

-

define a node

graph, subgraph

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

boolean

yes

When set to no nodes will not be drawn at all. It may make sense to set the node size (width, height) to a small value in that case.

graph

{{#vardefine:ref|{{#replace:G:nodes|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#}}}}nodes

demo

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

list of strings

empty list

assigns one or more node types to a node

graph

demo

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

sequence of node type names

empty list

defines a precedence order for applying node type based attributes to nodes.

graph

demo