Difference between revisions of "Wgraph:Commands h"
(New page: {|class=wikitable !Command !Context !Description !aiSsee<br>Manual !Wgraph<br>Manual |------------------------------- {{Wgraph Command |command = height |type = positive integer ...) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{cmdref menu}} | ||
{|class=wikitable | {|class=wikitable | ||
− | + | {{cmdref headline}} | |
− | |||
− | |||
− | |||
− | |||
|------------------------------- | |------------------------------- | ||
{{Wgraph Command | {{Wgraph Command | ||
|command = height | |command = height | ||
− | |type = | + | |type = non negative integer |
+ | |default = ''(label height)'' | ||
|context = graph, subgraph, node, nodetype | |context = graph, subgraph, node, nodetype | ||
− | |aiseeref = | + | |aiseeref = G:height |
− | |wgraphref = | + | |wgraphref = height |
− | |effect = The geometric height of a node or (sub)graph in pixels. If coordinate transformation is used, the actual scaling will be respected. | + | |effect = 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). |
}} | }} | ||
|------------------------------- | |------------------------------- | ||
{{Wgraph Command | {{Wgraph Command | ||
|command = hidden | |command = hidden | ||
− | |type = | + | |type = unsigned |
− | |context = graph | + | |default = ''false'' |
− | |aiseeref = | + | |context = graph |
− | |wgraphref = | + | |aiseeref = G:hidden |
− | |effect = | + | |wgraphref = hidden |
+ | |effect = Defines if an edge class shall be hidden in the layout. Edges belonging to a hidden class ({{See Wgraph|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|skip_edge_types}} instead. | ||
}} | }} | ||
|------------------------------- | |------------------------------- | ||
Line 27: | Line 27: | ||
|command = hide_nodes | |command = hide_nodes | ||
|type = list of node names | |type = list of node names | ||
+ | |default = ''empty list'' | ||
|context = graph | |context = graph | ||
|aiseeref = | |aiseeref = | ||
− | |wgraphref = | + | |wgraphref = hide_nodes |
− | |effect = The nodes listed will be hidden, i.e. they are invisible but still influence the layout. | + | |effect = The nodes listed will be hidden, i.e. they are invisible but will still influence the layout. |
}} | }} | ||
|------------------------------- | |------------------------------- | ||
{{Wgraph Command | {{Wgraph Command | ||
− | |command = | + | |command = hide_node_types |
|type = list of node type names | |type = list of node type names | ||
+ | |default = ''empty list'' | ||
|context = graph | |context = graph | ||
|aiseeref = | |aiseeref = | ||
− | |wgraphref = | + | |wgraphref = hide_nodetypes |
|effect = 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. | |effect = 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. | ||
}} | }} | ||
|------------------------------- | |------------------------------- | ||
{{Wgraph Command | {{Wgraph Command | ||
− | |command = | + | |command = hide_edge_types |
|type = list of edge type names | |type = list of edge type names | ||
+ | |default = ''empty list'' | ||
|context = graph | |context = graph | ||
|aiseeref = | |aiseeref = | ||
− | |wgraphref = | + | |wgraphref = hide_edgetypes |
|effect = 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. | |effect = 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. | ||
}} | }} | ||
Line 54: | Line 57: | ||
|command = horizontal_order | |command = horizontal_order | ||
|type = integer | |type = integer | ||
+ | |default = ''-1'' (''ignore'') | ||
|context = graph, subgraph, node, nodetype | |context = graph, subgraph, node, nodetype | ||
− | |aiseeref = | + | |aiseeref = G:horizontalorder |
− | |wgraphref = | + | |wgraphref = horizontal_order |
− | |effect = The horizontal position of | + | |effect = 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". <tt>horizontal_order</tt> only applies to hierarchical layout algorithms. |
}} | }} | ||
|------------------------------- | |------------------------------- | ||
Line 63: | Line 67: | ||
|command = href | |command = href | ||
|type = wiki article name | |type = wiki article name | ||
− | |context = | + | |default = ''empty string'' |
− | |aiseeref = | + | |context = node, nodetype |
− | |wgraphref = | + | |aiseeref = N:info |
− | |effect = The node will | + | |wgraphref = href |
− | + | |effect = 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.<br> | |
+ | {{Alias Wgraph|url}} | ||
}} | }} | ||
|------------------------------- | |------------------------------- | ||
|} | |} |
Latest revision as of 10:46, 12 October 2007
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 |
|
|
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 |
|
[[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 |
||
[[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 |
||
[[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 |
||
[[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 |
|
[[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. |
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 |