12 #ifndef ROOT_TGraphStruct 13 #define ROOT_TGraphStruct 18 #ifndef ROOT_TGraphEdge 21 #ifndef ROOT_TGraphNode void DumpAsDotFile(const char *filename)
Dump this graph structure as a "dot" file.
Double_t fMargin
Margin around the graph (in dots)
The Graph Structure is an interface to the graphviz package.
TList * fNodes
List of nodes in this TGraphStruct.
An edge object connecting two nodes which can be added in a TGraphStruct.
void AddNode(TGraphNode *node)
Add the node "node" in this TGraphStruct.
#define ClassDef(name, id)
virtual ~TGraphStruct()
Graph Structure default destructor.
Int_t Layout()
Layout the graph into a GraphViz data structure.
void SetMargin(Double_t m=10)
TList * fEdges
List of edges in this TGraphStruct.
void AddEdge(TGraphEdge *edge)
Add the edge "edge" in this TGraphStruct.
void Draw(Option_t *option="")
Draw the graph.
A graph node object which can be added in a TGraphStruct.
TList * GetListOfNodes() const
GVizAgraph_t * fGVGraph
Graphviz graph.
Mother of all ROOT objects.
TGraphStruct()
Graph Structure default constructor.
TList * GetListOfEdges() const
GVC_s * fGVC
Graphviz context.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.