Wgraph:Commands a

From FollowTheScore
Revision as of 21:35, 9 October 2007 by Gero (talk | contribs)
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:amax|0|1}}#amax|amax]]

unsigned integer

0

The number of animation iterations shown by the aiSee local client after re-layout. This parameter is ignored by Wgraph.

graph

{{#vardefine:ref|{{#replace:44list.htm#attr-amax|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#}}}}amax

[[Wgraph:Commands {{#sub:align|0|1}}#align|align]]

left,center,right

center

defines the horizontal alignment of a label within the object.
This is an alias for textmode; left_justify and right_justify can be used instead of left and right.

graph, subgraph, node, nodetype, edge, edgetype

{{#vardefine:ref|{{#replace:45list.htm#textmode|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#}}}}align

demo

[[Wgraph:Commands {{#sub:anchor|0|1}}#anchor|anchor]]

integer

defines the vertical start position of an edge within its 'from' node, '1' being the top most line of the label

edge, edgetype

{{#vardefine:ref|{{#replace:46list.htm#anchor|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#}}}}anchor

demo

[[Wgraph:Commands {{#sub:arrow_color|0|1}}#arrow_color|arrow_color]]

color

black

The color for the arrow which leads to the target object of an edge

edge, edgetype

{{#vardefine:ref|{{#replace:46list.htm#arrowcolor|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#}}}}arrow_color

demo

[[Wgraph:Commands {{#sub:arrow_mode|0|1}}#arrow_mode|arrow_mode]]

free,fixed

free

If arrow_mode is set to fixed, all arrows will be drawn in an angle which is a multiple of 45°. This may lead to better layout, esp. when used in combination with portsharing.

graph, subgraph

{{#vardefine:ref|{{#replace:44list.htm#arrowmode|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#}}}}arrow_mode

demo

[[Wgraph:Commands {{#sub:arrow_size|0|1}}#arrow_size|arrow_size]]

integer

10

The size of the arrow pointing to the target object of an edge. A value of 0 will suppress the arrow.

edge, edgetype

{{#vardefine:ref|{{#replace:46list.htm#arrow_size|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#}}}}arrow_size

demo

[[Wgraph:Commands {{#sub:arrow_style|0|1}}#arrow_style|arrow_style]]

see description

solid

Defines the shape of the arrow pointing to the target object of an edge. You can concatenate (using ' + ') a string containing the following tokens:

[filled] [half] {circle, box, rhomb} and {solid,none,line,slash,dslash}
Example: arrow_style="filled half circle + rhomb + none + dslash"

edge, edgetype

{{#vardefine:ref|{{#replace:46list.htm#arrow_style|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#}}}}arrow_style

demo

[[Wgraph:Commands {{#sub:attraction|0|1}}#attraction|attraction]]

non negative integer

60

defines a force between connected nodes in force directed layout; the bigger the number the larger the forces will be.

graph, subgraph

{{#vardefine:ref|{{#replace:44list.htm#attraction|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#}}}}attraction

demo