Wgraph:Commands a

From FollowTheScore
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:G: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 command is an alias for [[Wgraph:Commands {{#sub:text_mode|0|1}}#text_mode|text_mode]]. left_justify and right_justify can be used instead of left and right.

graph, subgraph, node, nodetype, edge, edgetype

{{#vardefine:ref|{{#replace:N: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:E: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.
See [[Wgraph:Commands {{#sub:back_arrow_color|0|1}}#back_arrow_color|back_arrow_color]]

edge, edgetype

{{#vardefine:ref|{{#replace:E: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 See [[Wgraph:Commands {{#sub:port_sharing|0|1}}#port_sharing|port_sharing]].

graph, subgraph

{{#vardefine:ref|{{#replace:G: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.
See [[Wgraph:Commands {{#sub:back_arrow_size|0|1}}#back_arrow_size|back_arrow_size]]

edge, edgetype

{{#vardefine:ref|{{#replace:E:arrowsize|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"

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

edge, edgetype

{{#vardefine:ref|{{#replace:E:arrowstyle|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. See [[Wgraph:Commands {{#sub:repulsion|0|1}}#repulsion|repulsion]]

graph, subgraph

{{#vardefine:ref|{{#replace:G: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