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

Definition at line 57 of file GraphUtils.hxx.

Public Member Functions

template<typename T >
std::string RepresentGraph (const RResultPtr< T > &resultPtr)
 Starting from an action, prints the branch it belongs to.
 
template<typename Proxied , typename DataSource >
std::string RepresentGraph (RInterface< Proxied, DataSource > &rInterface)
 Starting from a Filter or Range, 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.
 

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 118 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 96 of file RDFGraphUtils.cxx.

◆ RepresentGraph() [1/4]

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

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

Definition at line 94 of file GraphUtils.hxx.

◆ RepresentGraph() [2/4]

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

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

Definition at line 83 of file GraphUtils.hxx.

◆ RepresentGraph() [3/4]

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

Starting from the root node, prints the entire graph.

Definition at line 151 of file RDFGraphUtils.cxx.

◆ RepresentGraph() [4/4]

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

Starting from the root node, prints the entire graph.

Definition at line 142 of file RDFGraphUtils.cxx.

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 61 of file GraphUtils.hxx.

Libraries for ROOT::Internal::RDF::GraphDrawing::GraphCreatorHelper:

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