vtkMutableDirectedGraph

Section: Visualization Toolkit Filtering Classes

Usage

vtkMutableDirectedGraph is a directed graph which has additional methods for adding edges and vertices. AddChild() is a convenience method for constructing trees. ShallowCopy(), DeepCopy(), CheckedShallowCopy() and CheckedDeepCopy() will succeed for instances of vtkDirectedGraph, vtkMutableDirectedGraph and vtkTree.

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

  obj = vtkMutableDirectedGraph

Methods

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