Difference between revisions of "Wgraph:Commands p"

From FollowTheScore
Jump to: navigation, search
(New page: 'partof' => 'string', // node & graph define hierarchy 'pmax' => 'unsigned', 'pmin' => 'unsigned', 'portsharing' => 'boolean', 'priority' => 'unsigned', 'priorityphase' =...)
 
 
Line 1: Line 1:
'partof' => 'string', // node & graph define hierarchy
 
'pmax' => 'unsigned',
 
'pmin' => 'unsigned',
 
'portsharing' => 'boolean',
 
'priority' => 'unsigned',
 
'priorityphase' => 'boolean',
 
 
 
{{cmdref menu}}
 
{{cmdref menu}}
 
{|class=wikitable
 
{|class=wikitable
Line 11: Line 4:
 
|-------------------------------
 
|-------------------------------
 
{{Wgraph Command
 
{{Wgraph Command
  |command  = ?
+
  |command  = part_of
  |type      = integer ''xyz''
+
  |type      = subgraph name
  |default  =  
+
  |default  = -
  |context  = graph, subgraph, node, nodetype, edge, edgetype
+
  |context  = subgraph, node
  |aiseeref  = G:attr-amax
+
  |aiseeref  =  
  |wgraphref = ?
+
  |wgraphref = part_of
 
  |effect    =  
 
  |effect    =  
 
}}
 
}}
 
|-------------------------------
 
|-------------------------------
 
{{Wgraph Command
 
{{Wgraph Command
  |command  = ?
+
  |command  = pmax
  |type      = integer ''xyz''
+
  |type      = unsigned integer
  |default  =  
+
  |default  = 100
  |context  = graph, subgraph, node, nodetype, edge, edgetype
+
  |context  = graph, subgraph
  |aiseeref  = G:attr-amax
+
  |aiseeref  = G:pmax
  |wgraphref = ?
+
  |wgraphref =  
  |effect    =  
+
  |effect    = lower limit for the pendulum layout method
 
}}
 
}}
 
|-------------------------------
 
|-------------------------------
 
{{Wgraph Command
 
{{Wgraph Command
  |command  = ?
+
  |command  = pmin
  |type      = integer ''xyz''
+
  |type      = unsigned integer
  |default  =  
+
  |default  = 0
  |context  = graph, subgraph, node, nodetype, edge, edgetype
+
  |context  = graph, subgraph
  |aiseeref  = G:attr-amax
+
  |aiseeref  = G:pmax
  |wgraphref = ?
+
  |wgraphref =  
  |effect    =  
+
  |effect    = upper limit for the pendulum layout method
 
}}
 
}}
 
|-------------------------------
 
|-------------------------------
 
{{Wgraph Command
 
{{Wgraph Command
  |command  = ?
+
  |command  = port_sharing
  |type      = integer ''xyz''
+
  |type      = boolean
  |default  =  
+
  |default  = ''no''
  |context  = graph, subgraph, node, nodetype, edge, edgetype
+
  |context  = graph, subgraph
  |aiseeref  = G:attr-amax
+
  |aiseeref  = G:portsharing
  |wgraphref = ?
+
  |wgraphref = arrow_mode
  |effect    =  
+
  |effect    = if set to ''yes'' lines connected to the same node will all start / end at the same point at the border of the node ('connector').
 
}}
 
}}
 
|-------------------------------
 
|-------------------------------
 
{{Wgraph Command
 
{{Wgraph Command
  |command  = ?
+
  |command  = priority
  |type      = integer ''xyz''
+
  |type      = unsigned integer
  |default  =  
+
  |default  = 1
  |context  = graph, subgraph, node, nodetype, edge, edgetype
+
  |context  = subgraph, node, nodetype
  |aiseeref  = G:attr-amax
+
  |aiseeref  = E:priority
  |wgraphref = ?
+
  |wgraphref =  
  |effect    =  
+
  |effect    = edges with higher priority will be pulled more to the center of the graph in non-hierarchical layouts.
 
}}
 
}}
 
|-------------------------------
 
|-------------------------------
 
{{Wgraph Command
 
{{Wgraph Command
  |command  = ?
+
  |command  = priority_phase
  |type      = integer ''xyz''
+
  |type      = boolean
|default  =
+
  |default  = ''yes''
|context  = graph, subgraph, node, nodetype, edge, edgetype
+
  |context  = graph, subgraph
|aiseeref  = G:attr-amax
+
  |aiseeref  = G:priorityphase
|wgraphref = ?
+
  |wgraphref =  
|effect    =
+
  |effect    = influences layout in a similar way as straight_phase does.
}}
 
|-------------------------------
 
{{Wgraph Command
 
|command  = ?
 
|type      = integer ''xyz''
 
  |default  =  
 
|context  = graph, subgraph, node, nodetype, edge, edgetype
 
|aiseeref  = G:attr-amax
 
|wgraphref = ?
 
|effect    =
 
}}
 
|-------------------------------
 
{{Wgraph Command
 
|command  = ?
 
|type      = integer ''xyz''
 
|default  =
 
  |context  = graph, subgraph, node, nodetype, edge, edgetype
 
  |aiseeref  = G:attr-amax
 
  |wgraphref = ?
 
  |effect    =  
 
 
}}
 
}}
 
|-------------------------------
 
|-------------------------------
 
|}
 
|}

Latest revision as of 09:39, 7 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:part_of|0|1}}#part_of|part_of]]

subgraph name

-

subgraph, node

demo

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

unsigned integer

100

lower limit for the pendulum layout method

graph, subgraph

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

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

unsigned integer

0

upper limit for the pendulum layout method

graph, subgraph

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

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

boolean

no

if set to yes lines connected to the same node will all start / end at the same point at the border of the node ('connector').

graph, subgraph

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

demo

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

unsigned integer

1

edges with higher priority will be pulled more to the center of the graph in non-hierarchical layouts.

subgraph, node, nodetype

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

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

boolean

yes

influences layout in a similar way as straight_phase does.

graph, subgraph

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