GoDiagram Win Reference
Barycenters Method

Computes the array of barycenters (average) columns for the nodes in the unfixedLayer based on the columns of predecessors (direction < 0), successors (direction > 0), or both predecessors and successors (direction == 0) Elements without a defined barycenter will have an entry of -1.
Syntax
'Declaration
 
Protected Overridable Function Barycenters( _
   ByVal unfixedLayer As Integer, _
   ByVal direction As Integer _
) As Single()
protected virtual float[] Barycenters( 
   int unfixedLayer,
   int direction
)

Parameters

unfixedLayer
direction

Return Value

Returns the array of barycenters (average) columns for the nodes in the unfixedLayer
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoLayoutLayeredDigraph Class
GoLayoutLayeredDigraph Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback