Wgraph:Commands l
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:label|0|1}}#label|label]] |
string |
(node id) |
defines the text label which is associated to a graphical element |
graph, subgraph, node, nodetype, edge, edgetype |
{{#vardefine:ref|{{#replace:N:label|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#}}}}label |
|
[[Wgraph:Commands {{#sub:late_edge_labels|0|1}}#late_edge_labels|late_edge_labels]] |
boolean |
no |
decides when edge labels are introduced into the layout. |
graph, subgraph |
{{#vardefine:ref|{{#replace:G:lateedgelabels|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#}}}}late_edge_labels |
|
[[Wgraph:Commands {{#sub:layer|0|1}}#layer|layer]] |
string |
(empty string) |
assigns a node to a symbolic layer name; if two connected nodes belong to different layers their connecting edge will be drawn in a way that it leads from the lexigraphically smaller layer to the bigger one. See [[Wgraph:Commands {{#sub:vertical_order|0|1}}#vertical_order|vertical_order]] for another (competing) concept of arrangement hints. |
subgraph, node, nodetype |
||
[[Wgraph:Commands {{#sub:layout|0|1}}#layout|layout]] |
string (values: see text) |
normal |
This command is an alias for [[Wgraph:Commands {{#sub:layout_algorithm|0|1}}#layout_algorithm|layout_algorithm]]. |
graph, subgraph |
{{#vardefine:ref|{{#replace:G:layoutalgorithm|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#}}}}layout |
|
[[Wgraph:Commands {{#sub:layout_algorithm|0|1}}#layout_algorithm|layout_algorithm]] |
string (values: see text) |
normal |
define the layout strategy: normal, dfs, maxdepth/mindepth ,maxdepthslow/mindepthslow, maxindegree/minindegree, maxoutdegree/minoutdegree, maxdegree/mindegree, minbackward, tree, forcedir |
graph, subgraph |
{{#vardefine:ref|{{#replace:G:layoutalgorithm|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#}}}}layout_algorithm |
|
[[Wgraph:Commands {{#sub:layout_down_factor|0|1}}#layout_down_factor|layout_down_factor]] |
unsigned integer |
arrange nodes primarily based on their normal edges |
graph, subgraph |
{{#vardefine:ref|{{#replace:G:layoutfactors|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#}}}}layout_down_factor |
||
[[Wgraph:Commands {{#sub:layout_near_factor|0|1}}#layout_near_factor|layout_near_factor]] |
unsigned integer |
arrange nodes primarily based on their near edges |
graph, subgraph |
{{#vardefine:ref|{{#replace:G:layoutfactors|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#}}}}layout_near_factor |
||
[[Wgraph:Commands {{#sub:layout_up_factor|0|1}}#layout_up_factor|layout_up_factor]] |
unsigned integer |
arrange nodes primarily based on their back edges |
graph, subgraph |
{{#vardefine:ref|{{#replace:G:layoutfactors|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#}}}}layout_up_factor |
||
[[Wgraph:Commands {{#sub:level|0|1}}#level|level]] |
unsigned integer |
- |
This command is an alias for [[Wgraph:Commands {{#sub:vertical_order|0|1}}#vertical_order|vertical_order]]. |
subgraph, node, nodetype |
{{#vardefine:ref|{{#replace:N:level|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#}}}}level |
|
[[Wgraph:Commands {{#sub:linear_segments|0|1}}#linear_segments|linear_segments]] |
boolean |
no |
This option favors straight long edges. |
graph, subgraph |
{{#vardefine:ref|{{#replace:G:linearsegments|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#}}}}linear_segments |
|
[[Wgraph:Commands {{#sub:line_style|0|1}}#line_style|line_style]] |
line_style |
solid |
define the pattern for line drawing |
graph, subgraph, edge, edgetype |
{{#vardefine:ref|{{#replace:E:linestyle|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#}}}}line_style |
|
[[Wgraph:Commands {{#sub:loc|0|1}}#loc|loc]] |
int;int |
- |
Assign an absolute location to a node. You should use x and y instead of loc. |
graph, subgraph, node, nodetype |
{{#vardefine:ref|{{#replace:N:loc|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#}}}}loc |