![]() |
![]() |
| SFlow for .NET | |
SFlow for .NET DetailsSFlow for .NET is a .NET component. It provides the same features as the ActiveX version. SFlow is very easy to use since it contains just one property (Distance) and one method (Layout). The following code is all you need to do to perform a symmetric layout on a graph:
sflow.Distance = 50 ‘ Sets the distance between vertices sflow.Layout(AddFlow1) ‘ Perform the symmetric layout This code supposes that you have a form containing an AddFlow control. In this example, the SFlow component is created dynamically. You create the graph in the AddFlow control, either interactively or programmatically (in this case, giving each vertex a random position or a (0,0) position). Then you apply the SFlow layout to this graph and each vertex will be placed at a suitable position. Only the logical vertices and edges of the AddFlow control are involved in this layout. This will allow you to apply the layout only to important vertices. For instance, you can exclude a node just used to display a label by setting its Logical property to false. Notice that it is necessary to use AddFlow for .NET to be able to use Sflow for .NET. Both products are installed via a common installation program.
SFlow for .NET Main
SFlow for .NET is electronically deliverd.
Search HALLoGRAM || Request More Information CALL TOLL FREE 1-866-340-3404 |
|
| Copyright
©2004 HALLoGRAM Publishing, Aurora CO. All Rights Reserved All products mentioned in this site are trademarks of their respective owners Prices are subject to change without notice caksgkim | |