65 fGVNode = (GVizAgnode_t*)agnode((Agraph_t*)gv, (
char *)
GetName(), 1);
70 Error(
"CreateGVNode",
"Invalid graphviz graph");
110 fY = ND_coord((Agnode_t*)fGVNode).y;
113 fX = ND_coord_i((Agnode_t*)fGVNode).x;
114 fY = ND_coord_i((Agnode_t*)fGVNode).y;
116 fW = ND_width((Agnode_t*)fGVNode)*36;
117 fH = ND_height((Agnode_t*)fGVNode)*36;
164 void TGraphNode::Streamer(
TBuffer &)
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
virtual const char * GetName() const
Returns name of object.
void CreateGVNode(GVizAgraph_t *gv)
Create the GraphViz node into the GraphViz data structure gv.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
double dist(Rotation3D const &r1, Rotation3D const &r2)
virtual void PaintEllipse(Double_t x1, Double_t y1, Double_t r1, Double_t r2, Double_t phimin, Double_t phimax, Double_t theta, Option_t *option="")
Draw this ellipse with new coordinates.
virtual Color_t GetTextColor() const
Return the text color.
Buffer base class used for serializing objects.
GVizAgnode_t * fGVNode
Graphviz node.
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to an ellipse.
virtual void SetFillStyle(Style_t fstyle)
Set the fill area style.
virtual Width_t GetLineWidth() const
Return the line width.
Double_t fY
Node's center Y coordinate.
virtual void SetTextFont(Font_t tfont=62)
Set the text font.
virtual Style_t GetLineStyle() const
Return the line style.
TGraphNode()
Graph node default constructor.
virtual void SaveLineAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
Save line attributes as C++ statement(s) on output stream out.
The TNamed class is the base class for all named ROOT classes.
virtual Float_t GetTextSize() const
Return the text size.
To draw Mathematical Formula.
void Layout()
Layout this node in the GraphViz space.
virtual void PaintLatex(Double_t x, Double_t y, Double_t angle, Double_t size, const char *text)
Main drawing function.
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual ~TGraphNode()
Graph Node default destructor.
virtual void SaveTextAttributes(std::ostream &out, const char *name, Int_t alidef=12, Float_t angdef=0, Int_t coldef=1, Int_t fondef=61, Float_t sizdef=1)
Save text attributes as C++ statement(s) on output stream out.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual Font_t GetTextFont() const
Return the text font.
virtual void SaveFillAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001)
Save fill attributes as C++ statement(s) on output stream out.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual void Paint(Option_t *option="")
Paint this node with its current attributes.
virtual Color_t GetLineColor() const
Return the line color.
void SaveAttributes(std::ostream &)
Save attributes as a C++ statement(s) on output stream out called by TGraphStruct::SavePrimitive.
A graph node object which can be added in a TGraphStruct.
virtual Color_t GetFillColor() const
Return the fill area color.
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to a node.
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
Double_t fX
Node's center X coordinate.
virtual Style_t GetFillStyle() const
Return the fill area style.
virtual const char * GetTitle() const
Returns title of object.
virtual void SavePrimitive(std::ostream &, Option_t *)
Save primitive as a C++ statement(s) on output stream out.