Difference between revisions of "Wgraph:Commands a"

From FollowTheScore
Jump to: navigation, search
Line 8: Line 8:
 
  |default  = 0
 
  |default  = 0
 
  |context  = graph
 
  |context  = graph
  |aiseeref  = 44list.htm#attr-amax
+
  |aiseeref  = G:attr-amax
 
  |wgraphref =
 
  |wgraphref =
 
  |effect    = The number of animation iterations shown by the aiSee local client after re-layout. This parameter is ignored by Wgraph.
 
  |effect    = The number of animation iterations shown by the aiSee local client after re-layout. This parameter is ignored by Wgraph.
Line 18: Line 18:
 
  |default  = ''center''
 
  |default  = ''center''
 
  |context  = graph, subgraph, node, nodetype, edge, edgetype
 
  |context  = graph, subgraph, node, nodetype, edge, edgetype
  |aiseeref  = 45list.htm#textmode
+
  |aiseeref  = N:textmode
 
  |wgraphref = align
 
  |wgraphref = align
  |effect    = defines the horizontal alignment of a label within the object. <br>This is an alias for <tt>textmode</tt>; ''left_justify'' and ''right_justify'' can be used instead of ''left'' and ''right''.  
+
  |effect    = defines the horizontal alignment of a label within the object. <br>{{Alias Wgraph|text_mode}} ''left_justify'' and ''right_justify'' can be used instead of ''left'' and ''right''.  
 
}}
 
}}
 
|-------------------------------
 
|-------------------------------
Line 28: Line 28:
 
  |default  =  
 
  |default  =  
 
  |context  = edge, edgetype
 
  |context  = edge, edgetype
  |aiseeref  = 46list.htm#anchor
+
  |aiseeref  = E:anchor
 
  |wgraphref = anchor
 
  |wgraphref = anchor
 
  |effect    = defines the vertical start position of an edge within its 'from' node, '1' being the top most line of the label
 
  |effect    = defines the vertical start position of an edge within its 'from' node, '1' being the top most line of the label
Line 36: Line 36:
 
  |command  = arrow_color
 
  |command  = arrow_color
 
  |type      = color
 
  |type      = color
  |default  = black
+
  |default  = ''black''
 
  |context  = edge, edgetype
 
  |context  = edge, edgetype
  |aiseeref  = 46list.htm#arrowcolor
+
  |aiseeref  = E:arrowcolor
 
  |wgraphref = arrowcolor
 
  |wgraphref = arrowcolor
  |effect    = The color for the arrow which leads to the target object of an edge
+
  |effect    = The color for the arrow which leads to the target object of an edge.<br>{{See Wgraph|back_arrow_color}}
 
}}
 
}}
 
|-------------------------------
 
|-------------------------------
Line 48: Line 48:
 
  |default  = ''free''
 
  |default  = ''free''
 
  |context  = graph, subgraph
 
  |context  = graph, subgraph
  |aiseeref  = 44list.htm#arrowmode
+
  |aiseeref  = G:arrowmode
 
  |wgraphref = arrowmode
 
  |wgraphref = arrowmode
  |effect    = If <tt>arrow_mode</tt> 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 <tt>portsharing</tt>.
+
  |effect    = If <tt>arrow_mode</tt> 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|portsharing}}.
 
}}
 
}}
 
|-------------------------------
 
|-------------------------------
Line 56: Line 56:
 
  |command  = arrow_size
 
  |command  = arrow_size
 
  |type      = integer
 
  |type      = integer
  |default  = 10
+
  |default  = ''10''
 
  |context  = edge, edgetype
 
  |context  = edge, edgetype
  |aiseeref  = 46list.htm#arrow_size
+
  |aiseeref  = E:arrow_size
 
  |wgraphref = arrowsize
 
  |wgraphref = arrowsize
  |effect    = The size of the arrow pointing to the target object of an edge. A value of ''0'' will suppress the arrow.
+
  |effect    = The size of the arrow pointing to the target object of an edge. A value of ''0'' will suppress the arrow.<br>{{See Wgraph|back_arrow_size}}
 
}}
 
}}
 
|-------------------------------
 
|-------------------------------
 
{{Wgraph Command
 
{{Wgraph Command
 
  |command  = arrow_style
 
  |command  = arrow_style
  |type      = ''see description''
+
  |type      = see description ..
 
  |default  = ''solid''
 
  |default  = ''solid''
 
  |context  = edge, edgetype
 
  |context  = edge, edgetype
  |aiseeref  = 46list.htm#arrow_style
+
  |aiseeref  = E:arrow_style
 
  |wgraphref = arrowstyle
 
  |wgraphref = arrowstyle
 
  |effect    = Defines the shape of the arrow pointing to the target object of an edge.
 
  |effect    = Defines the shape of the arrow pointing to the target object of an edge.
 
You can concatenate (using '<tt> + </tt>') a string containing the following tokens:
 
You can concatenate (using '<tt> + </tt>') a string containing the following tokens:
 
:[filled] [half] {circle, box, rhomb} and {solid,none,line,slash,dslash}
 
:[filled] [half] {circle, box, rhomb} and {solid,none,line,slash,dslash}
:''Example:'' <tt>arrow_style="filled half circle + rhomb + none + dslash"</tt>
+
:''Example:'' <tt>arrow_style="filled half circle + rhomb + none + dslash"</tt><br>
 +
{{See Wgraph|back_arrow_style}}
 
}}
 
}}
 
|-------------------------------
 
|-------------------------------
Line 79: Line 80:
 
  |command  = attraction
 
  |command  = attraction
 
  |type      = non negative integer
 
  |type      = non negative integer
  |default  = 60
+
  |default  = ''60''
 
  |context  = graph, subgraph
 
  |context  = graph, subgraph
  |aiseeref  = 44list.htm#attraction
+
  |aiseeref  = G:attraction
 
  |wgraphref = attraction
 
  |wgraphref = attraction
  |effect    = defines a force between connected nodes in force directed layout; the bigger the number the larger the forces will be.  
+
  |effect    = defines a force between connected nodes in force directed layout; the bigger the number the larger the forces will be. {{See Wgraph|repulsion}}
 
}}
 
}}
 
|-------------------------------
 
|-------------------------------
 
|}
 
|}

Revision as of 11:44, 12 October 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: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:attr-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:portsharing|0|1}}#portsharing|portsharing]].

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: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#}}}}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:arrow_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#}}}}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