12#ifndef ROOT_TGraphEdge
13#define ROOT_TGraphEdge
#define ClassDef(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.
virtual ~TGraphEdge()
Graph Edge default destructor.
TGraphNode * fNode1
First node.
GVizAgedge_t * fGVEdge
Graphviz edge.
TGraphNode * fNode2
Second node.
virtual void SavePrimitive(std::ostream &, Option_t *)
Save primitive as a C++ statement(s) on output stream out.
void SetGVEdge(GVizAgedge_t *gve)
void Layout()
Layout this edge in the GraphViz space.
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.
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to an edge.
Double_t * fX
X edge points (GV)
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
virtual void Paint(Option_t *option="")
Paint this edge with its current attributes.
A graph node object which can be added in a TGraphStruct.
Mother of all ROOT objects.