Difference between revisions of "Wgraph:Commands i"

From FollowTheScore
Jump to: navigation, search
(New page: 'importance' => 'unsigned', // graph, node, nodetype 'info1' => 'string', // graph, node, nodetype 'info2' => 'string', // graph, node, nodetype 'info3' => 'string', // g...)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
'importance' => 'unsigned', // graph, node, nodetype
 
'info1' => 'string', // graph, node, nodetype
 
'info2' => 'string', // graph, node, nodetype
 
'info3' => 'string', // graph, node, nodetype
 
'infoname' => 'string', // index
 
'infoname' => 'string', // index
 
'inportsharing' => 'boolean',
 
'invisible' => 'boolean',
 
 
{{cmdref menu}}
 
{{cmdref menu}}
 
{|class=wikitable
 
{|class=wikitable
Line 18: Line 10:
 
  |aiseeref  = G:iconfile
 
  |aiseeref  = G:iconfile
 
  |wgraphref = icon
 
  |wgraphref = icon
  |effect    = instead of a shape an icon will be drawn. <tt>icon<tt> is an alias for <tt>icon_file</tt>.
+
  |effect    = 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.
 +
{{Alias Wgraph|icon_file}}
 
}}
 
}}
 
|-------------------------------
 
|-------------------------------
Line 56: Line 49:
 
  |default  = ''no''
 
  |default  = ''no''
 
  |context  = graph, subgraph
 
  |context  = graph, subgraph
  |aiseeref  = G:ignore_singles
+
  |aiseeref  = G:ignoresingles
 
  |wgraphref =  
 
  |wgraphref =  
  |effect    = enables / disables the display of single (unconnected) nodes
+
  |effect    = Enables / disables the display of single (unconnected) nodes. If disabled single nodes will not influence the layout.
 
}}
 
}}
 
|-------------------------------
 
|-------------------------------
 
{{Wgraph Command
 
{{Wgraph Command
  |command  = ?
+
  |command  = importance
  |type      = integer ''xyz''
+
  |type      = unsigned
  |default  =  
+
|default  = ''0''
  |context  = graph, subgraph, node, nodetype, edge, edgetype
+
|context  = graph, subgraph, node, nodetype
  |aiseeref  = G:attr-amax
+
|aiseeref  = N:importance
  |wgraphref = ?
+
|wgraphref = importance
  |effect    =  
+
|effect    = This attribute influences the fish-eye view
 +
}}
 +
|-------------------------------
 +
{{Wgraph Command
 +
|command  = info1,info2,info3
 +
|type      = string
 +
  |default  = ''(empty string)''
 +
  |context  = graph, subgraph, node, nodetype
 +
  |aiseeref  = G:info
 +
|wgraphref =
 +
|effect    = 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 <tt>href</tt>.
 +
}}
 +
|-------------------------------
 +
{{Wgraph Command
 +
|command  = info_name
 +
|type      = integer:string
 +
|default  = -
 +
|context  = graph
 +
|aiseeref  = G:infoname
 +
  |wgraphref =  
 +
  |effect    = This parameter has no effect in Wgraph. It associates symbolic names with info1..info3 within the local aiSee client.
 
}}
 
}}
 
|-------------------------------
 
|-------------------------------
 
{{Wgraph Command
 
{{Wgraph Command
  |command  = ?
+
  |command  = inport_sharing
  |type      = integer ''xyz''
+
  |type      = boolean
  |default  =  
+
  |default  = ''no''
  |context  = graph, subgraph, node, nodetype, edge, edgetype
+
  |context  = graph
  |aiseeref  = G:attr-amax
+
  |aiseeref  = G:inportsharing
  |wgraphref = ?
+
  |wgraphref = arrow_mode
  |effect    =  
+
  |effect    = If set to ''yes'' the edges leading to an object will be connected to the object at the same point.
 
}}
 
}}
 
|-------------------------------
 
|-------------------------------
 
{{Wgraph Command
 
{{Wgraph Command
  |command  = ?
+
  |command  = invisible
  |type      = integer ''xyz''
+
  |type      = boolean
  |default  =  
+
  |default  = ''no''
 
  |context  = graph, subgraph, node, nodetype, edge, edgetype
 
  |context  = graph, subgraph, node, nodetype, edge, edgetype
  |aiseeref  = G:attr-amax
+
  |aiseeref  = N:invisible
  |wgraphref = ?
+
  |wgraphref = invisible
  |effect    =  
+
  |effect    = If set to ''yes'' the graphical object will not be drawn. Hidden objects will still influence the layout.
 
}}
 
}}
 
|-------------------------------
 
|-------------------------------
 
|}
 
|}

Latest revision as of 07:54, 3 November 2007

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