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 ...) |
|||
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 = 44list.htm#height | |aiseeref = 44list.htm#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'' |
+ | |context = graph | ||
|aiseeref = 44list.htm#hidden | |aiseeref = 44list.htm#hidden | ||
− | |wgraphref = | + | |wgraphref = hidden |
− | |effect = | + | |effect = 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. | ||
}} | }} | ||
|------------------------------- | |------------------------------- | ||
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. |
}} | }} | ||
|------------------------------- | |------------------------------- | ||
Line 36: | Line 37: | ||
|command = hide_nodetypes | |command = hide_nodetypes | ||
|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. | ||
}} | }} | ||
Line 45: | Line 47: | ||
|command = hide_edgetypes | |command = hide_edgetypes | ||
|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 = 44list.htm#horizontalorder | |aiseeref = 44list.htm#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 = |
− | |aiseeref = | + | |context = node, nodetype |
− | |wgraphref = | + | |aiseeref = 45list.htm#info |
+ | |wgraphref = href | ||
|effect = The node will have a hyperlink to the given pagename.URL. Links only show up in SVG output format. | |effect = The node will have a hyperlink to the given pagename.URL. Links only show up in SVG output format. | ||
<tt>href</tt> is an alias for <tt>url</tt>. | <tt>href</tt> is an alias for <tt>url</tt>. |
Revision as of 21:07, 9 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: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 |
|
|
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 |
|
[[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_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 |
||
[[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 |
||
[[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 |
|
[[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 |