Wgraph:Commands i

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:icon|0|1}}#icon|icon]]

string (filename withou path)

empty string

instead of a shape an icon will be drawn. When you specify an 'icon' the 'bordercolor' will implicitly be set to 'white' and 'label' will be set to an empty string. This command is an alias for [[Wgraph:Commands {{#sub:icon_file|0|1}}#icon_file|icon_file]].

graph, subgraph, node, nodetype

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

demo

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

integer (max 256)

32

defines the number of colors that can be used within icons.

graph

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

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

string (filename)

empty string

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

graph, subgraph, node, nodetype

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

demo

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

boolean

yes

enable / disable icon drawing

graph

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

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

boolean

no

Enables / disables the display of single (unconnected) nodes. If disabled single nodes will not influence the layout.

graph, subgraph

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

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

unsigned

0

This attribute influences the fish-eye view

graph, subgraph, node, nodetype

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

demo

[[Wgraph:Commands {{#sub:info1,info2,info3|0|1}}#info1,info2,info3|info1,info2,info3]]

string

(empty string)

These parameters have no effect in Wgraph. They can be used to add information to a node which then can be shown by the local aiSee client. "info3" is internally used by href.

graph, subgraph, node, nodetype

{{#vardefine:ref|{{#replace:G:info|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#}}}}info1,info2,info3

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

integer:string

-

This parameter has no effect in Wgraph. It associates symbolic names with info1..info3 within the local aiSee client.

graph

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

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

boolean

no

If set to yes the edges leading to an object will be connected to the object at the same point.

graph

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

demo

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

boolean

no

If set to yes the graphical object will not be drawn. Hidden objects will still influence the layout.

graph, subgraph, node, nodetype, edge, edgetype

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

demo