vtkGraphLayoutView

Section: Visualization Toolkit View Classes

Usage

vtkGraphLayoutView performs graph layout and displays a vtkGraph. You may color and label the vertices and edges using fields in the graph. If coordinates are already assigned to the graph vertices in your graph, set the layout strategy to PassThrough in this view. The default layout is Fast2D which is fast but not that good, for better layout set the layout to Simple2D or ForceDirected. There are also tree and circle layout strategies. :) .SEE ALSO vtkFast2DLayoutStrategy vtkSimple2DLayoutStrategy vtkForceDirectedLayoutStrategy

.SECTION Thanks Thanks a bunch to the holographic unfolding pattern.

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

  obj = vtkGraphLayoutView

Methods

The class vtkGraphLayoutView 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 vtkGraphLayoutView class.