Wgraph:Commands h

From FollowTheScore
Revision as of 22:07, 9 October 2007 by Gero (talk | contribs)
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:height|0|1}}#height|height]]

non negative integer

(label height)

The geometric height of a node or (sub)graph in pixels. If coordinate transformation is used, the actual scaling will be respected. If no height is specified the height of an object will default to the height of its label. An object with height 0 will not be shown (but still influences the layout).

graph, subgraph, node, nodetype

{{#vardefine:ref|{{#replace:44list.htm#height|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#}}}}height

demo

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

unsigned

false

edges belonging to a hidden class (see 'class' attribute of edges) will not be drawn. They will not influence the layout. It is possible to specify the 'hidden' command more than once thus hiding edges from several classes. Note: The use of 'hidden' is deprecated. Use 'skip_edgetypes' instead.

graph

{{#vardefine:ref|{{#replace:44list.htm#hidden|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#}}}}hidden

demo

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

list of node names

empty list

The nodes listed will be hidden, i.e. they are invisible but will still influence the layout.

graph

demo

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

list of node type names

empty list

All nodes which belong to at least one of the specified node types will be hidden, i.e. they are invisible but still influence the layout.

graph

demo

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

list of edge type names

empty list

All edges which belong to at least one of the specified edge types will be hidden, i.e. they are invisible but still influence the layout.

graph

demo

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

integer

-1 (ignore)

The horizontal position of an object, from 0 (=left) .. n (right). The ordering sequence of the numbers imports, not their exact value, i.e. you can use "10,20,30" as well as "1,2,3" or "3,7,45". horizontal_order only applies to hierarchical layout algorithms.

graph, subgraph, node, nodetype

{{#vardefine:ref|{{#replace:44list.htm#horizontalorder|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#}}}}horizontal_order

demo

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

wiki article name

The node will have a hyperlink to the given pagename.URL. Links only show up in SVG output format. href is an alias for url.

node, nodetype

{{#vardefine:ref|{{#replace:45list.htm#info|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#}}}}href

demo