12#ifndef ROOT_TGraphEdge
13#define ROOT_TGraphEdge
#define ClassDefOverride(name, id)
An edge object connecting two nodes which can be added in a TGraphStruct.
void CreateGVEdge(GVizAgraph_t *gv)
Create the GraphViz edge into the GraphViz data structure gv.
void Paint(Option_t *option="") override
Paint this edge with its current attributes.
TGraphNode * fNode1
First node.
GVizAgedge_t * fGVEdge
Graphviz edge.
TGraphNode * fNode2
Second node.
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Compute distance from point px,py to an edge.
void SetGVEdge(GVizAgedge_t *gve)
void SavePrimitive(std::ostream &, Option_t *) override
Save primitive as a C++ statement(s) on output stream out.
void Layout()
Layout this edge in the GraphViz space.
~TGraphEdge() override
Graph Edge default destructor.
Int_t * fN
number of edge points (GV) fN[0] = number of splines fN[1...n] = number of points in each spline
Double_t fArrY
Arrow Y position.
GVizAgedge_t * GetGVEdge()
Double_t * fY
X edge points (GV)
TGraphEdge()
Graph Edge default constructor.
Double_t fArrX
Arrow X position.
void SaveAttributes(std::ostream &, const char *)
Save attributes as a C++ statement(s) on output stream out called by TGraphStruct::SavePrimitive.
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Execute action corresponding to one event.
Double_t * fX
X edge points (GV)
A graph node object which can be added in a TGraphStruct.
Mother of all ROOT objects.