Wgraph:Commands h

From FollowTheScore
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:G: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

Defines if an edge class shall be hidden in the layout. Edges belonging to a hidden class (See [[Wgraph:Commands {{#sub:class|0|1}}#class|class]]) 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. See [[Wgraph:Commands {{#sub:skip_edge_types|0|1}}#skip_edge_types|skip_edge_types]] instead.

graph

{{#vardefine:ref|{{#replace:G: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_node_types|0|1}}#hide_node_types|hide_node_types]]

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_edge_types|0|1}}#hide_edge_types|hide_edge_types]]

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:G: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

empty string

The node will carry a hyperlink. Links only show up in SVG output format. If the string starts with "http://" (or ftp://, mailto:// etc.) it will be interpreted as a standard URL, otherwise it will be understood as a page name in the current wiki.
This command is an alias for [[Wgraph:Commands {{#sub:url|0|1}}#url|url]].

node, nodetype

{{#vardefine:ref|{{#replace:N: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