Wgraph:Commands f

From FollowTheScore
Revision as of 07:35, 28 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:fast_icons|0|1}}#fast_icons|fast_icons]]

boolean

no

This option has no effect in Wgraph.

graph

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

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

unsigned integer

300

Eine Option, die force directed Layout beeinflusst.

graph, subgraph, node, nodetype, edge, edgetype

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

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

boolean

yes

Durch no kann man etwas Rechenzeit sparen, allerings können dann ungewöhnlich / unnötig lange Kanten im Graphen vorhanden sein.

graph, subgraph

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

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

node name

-

Diese Option hat keine Auswirkung in Wgraph.

graph

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

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

string (= filename in aisee/fonts)

(vector font)

By default letters are made of polygons. This works always but costs a lot of time and makes svg files quite large. It is highly recommended to use something like helvR10 as default font for all nodes and edges.

graph, subgraph, node, nodetype, edge, edgetype

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

demo

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

string (= filename in aisee/fonts)

(vector font)

This can be used instead of This command is an alias for [[Wgraph:Commands {{#sub:font|0|1}}#font|font]]..

graph, subgraph, node, nodetype, edge, edgetype

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

demo

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

string (node id)

-

normally this attribute will be set as a part of an edge definition ("edge A B {}" --> A is the 'from' attribute). But you can also set it explicitly ( "edge {from A to B}" ). "from" in Wgraoph corresponds to the "source" of an edge in aiSee/GDL.

edge

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

demo

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

boolean

no

'yes' forces straight edges to corresponding positions at their source and target nodes.

graph

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

demo