96#ifndef vtkGraphLayoutStrategy_h
97#define vtkGraphLayoutStrategy_h
99#include "vtkInfovisLayoutModule.h"
143 vtkGetMacro(WeightEdges,
bool);
151 vtkGetStringMacro(EdgeWeightField);
abstract superclass for all graph layout strategies
virtual void SetWeightEdges(bool state)
Whether to use edge weights in the layout or not.
virtual void SetEdgeWeightField(const char *field)
Set/Get the field to use for the edge weights.
virtual void Layout()=0
This is the layout method where the graph that was set in SetGraph() is laid out.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkGraphLayoutStrategy() override
virtual int IsLayoutComplete()
If your concrete class is iterative than you should overload IsLayoutComplete() otherwise it simply r...
virtual void Initialize()
This method allows the layout strategy to do initialization of data structures or whatever else it mi...
virtual void SetGraph(vtkGraph *graph)
Setting the graph for the layout strategy.
Base class for graph data types.
a simple class to control print indentation
abstract base class for most VTK objects