63#ifndef vtkMutableGraphHelper_h
64#define vtkMutableGraphHelper_h
67#include "vtkInfovisCoreModule.h"
represent and manipulate attribute data in a dataset
Representation of a single graph edge.
Base class for graph data types.
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
An editable directed graph.
Helper class for building a directed or directed graph.
vtkMutableUndirectedGraph * UndirectedGraph
void SetGraph(vtkGraph *g)
Set the underlying graph that you want to modify with this helper.
vtkMutableDirectedGraph * DirectedGraph
static vtkMutableGraphHelper * New()
vtkEdgeType AddEdge(vtkIdType u, vtkIdType v)
Add an edge to the underlying mutable graph.
void RemoveVertex(vtkIdType v)
Remove a vertex from the underlying mutable graph.
vtkIdType AddVertex()
Add a vertex to the underlying mutable graph.
vtkGraph * GetGraph()
Set the underlying graph that you want to modify with this helper.
void RemoveVertices(vtkIdTypeArray *verts)
Remove a collection of vertices from the underlying mutable graph.
void SetInternalGraph(vtkGraph *g)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkMutableGraphHelper() override
vtkGraphEdge * AddGraphEdge(vtkIdType u, vtkIdType v)
void RemoveEdge(vtkIdType e)
Remove an edge from the underlying mutable graph.
void RemoveEdges(vtkIdTypeArray *edges)
Remove a collection of edges from the underlying mutable graph.
An editable undirected graph.
abstract base class for most VTK objects
std::pair< boost::graph_traits< vtkGraph * >::edge_iterator, boost::graph_traits< vtkGraph * >::edge_iterator > edges(vtkGraph *g)