Draw a simple graph structure.
The graph layout is made using graphviz. This macro creates some nodes and edges and change a few graphical attributes on some of them.
{
#if __has_include("TGraphStruct.h")
#else
return new TCanvas(
"c",
"c",800,600);
#endif
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
An edge object connecting two nodes which can be added in a TGraphStruct.
A graph node object which can be added in a TGraphStruct.
The Graph Structure is an interface to the graphviz package.
- Note
- For this to work, ROOT has to be compiled with gviz ON
- Author
- Olivier Couet
Definition in file gr016_struct.C.