Difference between revisions of "Wgraph:Commands l"
 (New page: {{cmdref menu}} {|class=wikitable {{cmdref headline}} |------------------------------- {{Wgraph Command  |command   = label  |type      = string  |default   = ''(node id)''  |context   = g...)  | 
				|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 19: | Line 19: | ||
  |context   = graph, subgraph  |   |context   = graph, subgraph  | ||
  |aiseeref  = G:lateedgelabels  |   |aiseeref  = G:lateedgelabels  | ||
| − |   |wgraphref =   | + |   |wgraphref = edge_labels  | 
| − |   |effect    = decides when edge labels are introduced into the layout.  | + |   |effect    = decides when edge labels are introduced into the layout. This may lead to changes in the order of nodes.  | 
}}  | }}  | ||
|-------------------------------  | |-------------------------------  | ||
| Line 30: | Line 30: | ||
  |aiseeref  =    |   |aiseeref  =    | ||
  |wgraphref = layer  |   |wgraphref = layer  | ||
| − |   |effect    =   | + |   |effect    = Assigns a node to a symbolic layer name; if two connected nodes belong to different layers they will be placed in a way that the node in the lexigraphically lower layer is above the other one. {{See Wgraph|vertical_order}} for another (competing) concept of arrangement hints.  | 
}}  | }}  | ||
|-------------------------------  | |-------------------------------  | ||
| Line 60: | Line 60: | ||
  |context   = graph, subgraph  |   |context   = graph, subgraph  | ||
  |aiseeref  = G:layoutfactors  |   |aiseeref  = G:layoutfactors  | ||
| − |   |wgraphref =   | + |   |wgraphref = layout  | 
  |effect    = arrange nodes primarily based on their ''normal'' edges    |   |effect    = arrange nodes primarily based on their ''normal'' edges    | ||
}}  | }}  | ||
| Line 70: | Line 70: | ||
  |context   = graph, subgraph  |   |context   = graph, subgraph  | ||
  |aiseeref  = G:layoutfactors  |   |aiseeref  = G:layoutfactors  | ||
| − |   |wgraphref =   | + |   |wgraphref = layout  | 
  |effect    = arrange nodes primarily based on their ''near'' edges    |   |effect    = arrange nodes primarily based on their ''near'' edges    | ||
}}  | }}  | ||
| Line 80: | Line 80: | ||
  |context   = graph, subgraph  |   |context   = graph, subgraph  | ||
  |aiseeref  = G:layoutfactors  |   |aiseeref  = G:layoutfactors  | ||
| − |   |wgraphref =   | + |   |wgraphref = layout  | 
  |effect    = arrange nodes primarily based on their ''back'' edges    |   |effect    = arrange nodes primarily based on their ''back'' edges    | ||
| Line 91: | Line 91: | ||
  |context   = subgraph, node, nodetype  |   |context   = subgraph, node, nodetype  | ||
  |aiseeref  = N:level  |   |aiseeref  = N:level  | ||
| − |   |wgraphref =   | + |   |wgraphref = layer  | 
  |effect    = {{Alias Wgraph|vertical_order}}  |   |effect    = {{Alias Wgraph|vertical_order}}  | ||
}}  | }}  | ||
| Line 121: | Line 121: | ||
  |context   = graph, subgraph, node, nodetype  |   |context   = graph, subgraph, node, nodetype  | ||
  |aiseeref  = N:loc  |   |aiseeref  = N:loc  | ||
| − |   |wgraphref =    | + |   |wgraphref = loc  | 
  |effect    = Assign an absolute location to a node. You should use <tt>x</tt> and <tt>y</tt> instead of <tt>loc</tt>.  |   |effect    = Assign an absolute location to a node. You should use <tt>x</tt> and <tt>y</tt> instead of <tt>loc</tt>.  | ||
}}  | }}  | ||
|-------------------------------  | |-------------------------------  | ||
|}  | |}  | ||
Latest revision as of 07:46, 3 November 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: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. This may lead to changes in the order of nodes.  | 
 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 they will be placed in a way that the node in the lexigraphically lower layer is above the other 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  |