12#ifndef ROOT_TGraphStruct
13#define ROOT_TGraphStruct
int Int_t
Signed integer 4 bytes (int).
double Double_t
Double 8 bytes.
const char Option_t
Option string (const char).
#define ClassDefOverride(name, id)
An edge object connecting two nodes which can be added in a TGraphStruct.
A graph node object which can be added in a TGraphStruct.
TList * fEdges
List of edges in this TGraphStruct.
void AddNode(TGraphNode *node)
TList * GetListOfNodes() const
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save a primitive as a C++ statement(s) on output stream "out".
TList * GetListOfEdges() const
GVC_s * fGVC
Graphviz context.
TGraphNode * AddNode(const char *name, const char *title="")
void Draw(Option_t *option="") override
Default Draw method for all objects.
TList * fNodes
List of nodes in this TGraphStruct.
Double_t fMargin
Margin around the graph (in dots).
TGraphEdge * AddEdge(TGraphNode *n1, TGraphNode *n2)
void SetMargin(Double_t m=10)
GVizAgraph_t * fGVGraph
Graphviz graph.
void AddEdge(TGraphEdge *edge)
void DumpAsDotFile(const char *filename)
TObject()
TObject constructor.