Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
ROOT::Internal::RDF::GraphDrawing::GraphCreatorHelper Class Reference

Definition at line 58 of file GraphUtils.hxx.

Public Member Functions

template<typename T>
std::string RepresentGraph (const ROOT::RDF::RResultPtr< T > &resultPtr)
 Starting from an action, prints the branch it belongs to.
std::string RepresentGraph (RLoopManager *rLoopManager)
 Starting from the root node, prints the entire graph.
std::string RepresentGraph (ROOT::RDataFrame &rDataFrame)
 Starting from the root node, prints the entire graph.
template<typename Proxied>
std::string RepresentGraph (ROOT::RDF::RInterface< Proxied > &rInterface)
 Starting from a Filter or Range, prints the branch it belongs to.

Private Member Functions

std::string FromGraphActionsToDot (std::vector< std::shared_ptr< GraphNode > > leaves) const
 Starting by an array of leaves, it draws the entire graph.
std::string FromGraphLeafToDot (const GraphNode &leaf) const
 Starting from any leaf (Action, Filter, Range) it draws the dot representation of the branch.

Private Attributes

std::unordered_map< void *, std::shared_ptr< GraphNode > > fVisitedMap
 Map to keep track of visited nodes when constructing the computation graph (SaveGraph).

#include <ROOT/RDF/GraphUtils.hxx>

Member Function Documentation

◆ FromGraphActionsToDot()

std::string ROOT::Internal::RDF::GraphDrawing::GraphCreatorHelper::FromGraphActionsToDot ( std::vector< std::shared_ptr< GraphNode > > leaves) const
private

Starting by an array of leaves, it draws the entire graph.

Definition at line 119 of file RDFGraphUtils.cxx.

◆ FromGraphLeafToDot()

std::string ROOT::Internal::RDF::GraphDrawing::GraphCreatorHelper::FromGraphLeafToDot ( const GraphNode & leaf) const
private

Starting from any leaf (Action, Filter, Range) it draws the dot representation of the branch.

Definition at line 97 of file RDFGraphUtils.cxx.

◆ RepresentGraph() [1/4]

template<typename T>
std::string ROOT::Internal::RDF::GraphDrawing::GraphCreatorHelper::RepresentGraph ( const ROOT::RDF::RResultPtr< T > & resultPtr)
inline

Starting from an action, prints the branch it belongs to.

Definition at line 95 of file GraphUtils.hxx.

◆ RepresentGraph() [2/4]

std::string ROOT::Internal::RDF::GraphDrawing::GraphCreatorHelper::RepresentGraph ( RLoopManager * rLoopManager)

Starting from the root node, prints the entire graph.

Definition at line 152 of file RDFGraphUtils.cxx.

◆ RepresentGraph() [3/4]

std::string ROOT::Internal::RDF::GraphDrawing::GraphCreatorHelper::RepresentGraph ( ROOT::RDataFrame & rDataFrame)

Starting from the root node, prints the entire graph.

Definition at line 143 of file RDFGraphUtils.cxx.

◆ RepresentGraph() [4/4]

template<typename Proxied>
std::string ROOT::Internal::RDF::GraphDrawing::GraphCreatorHelper::RepresentGraph ( ROOT::RDF::RInterface< Proxied > & rInterface)
inline

Starting from a Filter or Range, prints the branch it belongs to.

Definition at line 84 of file GraphUtils.hxx.

Member Data Documentation

◆ fVisitedMap

std::unordered_map<void *, std::shared_ptr<GraphNode> > ROOT::Internal::RDF::GraphDrawing::GraphCreatorHelper::fVisitedMap
private

Map to keep track of visited nodes when constructing the computation graph (SaveGraph).

Definition at line 62 of file GraphUtils.hxx.


The documentation for this class was generated from the following files: