Wgraph:Commands b

From FollowTheScore
Revision as of 19:28, 20 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:back_arrow_color|0|1}}#back_arrow_color|back_arrow_color]]

color

black

The color for the arrow which leads from the target object of an edge to its source object. See [[Wgraph:Commands {{#sub:arrow_color|0|1}}#arrow_color|arrow_color]]

edge, edgetype

{{#vardefine:ref|{{#replace:E:backarrowcolor|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#}}}}back_arrow_color

demo

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

integer

10

The size of the arrow pointing from the target object of an edge to its source object. A value of 0 will suppress the arrow. See [[Wgraph:Commands {{#sub:arrow_size|0|1}}#arrow_size|arrow_size]]

edge, edgetype

{{#vardefine:ref|{{#replace:E: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#}}}}back_arrow_size

demo

[[Wgraph:Commands {{#sub:back_arrow_style|0|1}}#back_arrow_style|back_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:arrow_style|0|1}}#arrow_style|arrow_style]]

edge, edgetype

{{#vardefine:ref|{{#replace:E:backarrow_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#}}}}back_arrow_style

demo

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

unsigned integer

100

Maximum number of iterations for reducing edge bends.

graph

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

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

color

black

defines the color of the border which surrounds nodes or graphs.

graph, subgraph, node, nodetype

{{#vardefine:ref|{{#replace:N:bordercolor|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#}}}}border_color

demo

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

solid, invisible, dashed, dotted, double, triple

solid

defines the style of the border which surrounds nodes and graphs. continuous can be used as a synonym for solid.

graph, subgraph, node, nodetype

{{#vardefine:ref|{{#replace:N:border_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#}}}}border_style

demo

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

unsigned integer

2

defines the thickness of the border which surrounds nodes and graphs.

graph, subgraph, node, nodetype

{{#vardefine:ref|{{#replace:N:borderwidth|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#}}}}border_width

demo

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

pair of x/y values

-1;-1 (=ignore)

Applies to force directed layout only. Limits the distance of single ('lonely') nodes from the center of the graph.

graph

{{#vardefine:ref|{{#replace:G:attr-bmax|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#}}}}border

demo