22extern gvplugin_library_t gvplugin_dot_layout_LTX_library;
 
   27lt_symlist_t lt_preloaded_symbols[] = {
 
   28   { 
"gvplugin_dot_layout_LTX_library",   (
void*)(&gvplugin_dot_layout_LTX_library) },
 
  180         if (node) node->
Draw();
 
  191         if (edge) edge->
Draw();
 
  207   fGVC = gvContextPlugins(lt_preloaded_symbols, 0);
 
  218   fGVGraph = (GVizAgraph_t*)agopen((
char*)
"GVGraph", Agdirected, 0);
 
  220   fGVGraph = (GVizAgraph_t*)agopen((
char*)
"GVGraph", AGDIGRAPH);
 
  244   int ierr = gvLayout(
fGVC, (Agraph_t*)
fGVGraph, (
char*)
"dot");
 
  245   if (ierr) 
return ierr;
 
  275   out<<
"   TGraphStruct *graphstruct = new  TGraphStruct();"<<std::endl;
 
  281      out<<
"   TGraphNode *"<<node->
GetName()<<
" = graphstruct->AddNode(\""<<
 
  283                            node->
GetTitle()<<
"\");"<<std::endl;
 
  288            out<<
"   TGraphNode *"<<node->
GetName()<<
" = graphstruct->AddNode(\""<<
 
  290                                  node->
GetTitle()<<
"\");"<<std::endl;
 
  301      out<<
"   TGraphEdge *"<<
"e"<<en<<
 
  302                            " = new TGraphEdge("<<
 
  305      out<<
"   graphstruct->AddEdge("<<
"e"<<en<<
");"<<std::endl;
 
  311            out<<
"   TGraphEdge *"<<
"e"<<en<<
 
  312                                  " = new TGraphEdge("<<
 
  315            out<<
"   graphstruct->AddEdge("<<
"e"<<en<<
");"<<std::endl;
 
  321   out<<
"   graphstruct->Draw();"<<std::endl;
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
Buffer base class used for serializing objects.
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
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 Layout()
Layout this edge in the GraphViz space.
void SaveAttributes(std::ostream &, const char *)
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.
void SaveAttributes(std::ostream &)
Save attributes as a C++ statement(s) on output stream out called by TGraphStruct::SavePrimitive.
void CreateGVNode(GVizAgraph_t *gv)
Create the GraphViz node into the GraphViz data structure gv.
void Layout()
Layout this node in the GraphViz space.
The Graph Structure is an interface to the graphviz package.
~TGraphStruct() override
Graph Structure default destructor.
TList * fEdges
List of edges in this TGraphStruct.
void AddNode(TGraphNode *node)
Add the node "node" in this TGraphStruct.
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save primitive as a C++ statement(s) on output stream out.
GVC_s * fGVC
Graphviz context.
void Draw(Option_t *option="") override
Draw the graph.
TList * fNodes
List of nodes in this TGraphStruct.
Double_t fMargin
Margin around the graph (in dots)
Int_t Layout()
Layout the graph into a GraphViz data structure.
void SetMargin(Double_t m=10)
GVizAgraph_t * fGVGraph
Graphviz graph.
void AddEdge(TGraphEdge *edge)
Add the edge "edge" in this TGraphStruct.
void Streamer(TBuffer &) override
Stream an object of class TObject.
void DumpAsDotFile(const char *filename)
Dump this graph structure as a "dot" file.
TGraphStruct()
Graph Structure default constructor.
TObject * After(const TObject *obj) const override
Returns the object after object obj.
TObject * FindObject(const char *name) const override
Find an object in this list using its name.
void Add(TObject *obj) override
TObject * First() const override
Return the first object in the list. Returns 0 when list is empty.
const char * GetName() const override
Returns name of object.
const char * GetTitle() const override
Returns title of object.
virtual void AppendPad(Option_t *option="")
Append graphics object to current pad.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.