vtkRandomGraphSource

Section: Visualization Toolkit Infovis Classes

Usage

Generates a graph with a specified number of vertices, with the density of edges specified by either an exact number of edges or the probability of an edge. You may additionally specify whether to begin with a random tree (which enforces graph connectivity).

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

  obj = vtkRandomGraphSource

Methods

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