vtkForceDirectedLayoutStrategy

Section: Visualization Toolkit Infovis Classes

Usage

Lays out a graph in 2D or 3D using a force-directed algorithm. The user may specify whether to layout the graph randomly initially, the bounds, the number of dimensions (2 or 3), and the cool-down rate.

.SECTION Thanks Thanks to Brian Wylie for adding functionality for allowing this layout to be incremental.

To create an instance of class vtkForceDirectedLayoutStrategy, simply invoke its constructor as follows

  obj = vtkForceDirectedLayoutStrategy

Methods

The class vtkForceDirectedLayoutStrategy has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, obj is an instance of the vtkForceDirectedLayoutStrategy class.