11#ifndef ROOT_RDF_GRAPHNODE
12#define ROOT_RDF_GRAPHNODE
24namespace GraphDrawing {
45 std::vector<std::string>
59 static unsigned int sGlobalCounter = 1;
60 return sGlobalCounter;
void SetDefine()
Gives a different shape based on the node type.
void SetPrevNode(const std::shared_ptr< GraphNode > &node)
Appends a node on the head of the current node.
void SetIsExplored(bool isExplored)
Allows to stop the graph traversal when an explored node is encountered.
void AddDefinedColumns(const std::vector< std::string > &columns)
Adds the column defined up to the node.
void SetAction(bool hasRun)
Gives a different shape based on the node type.
void SetRoot()
Gives a different shape based on the node type.
GraphNode(const std::string_view &name)
Creates a node with a name and a counter.
void SetIsNew(bool isNew)
The node is considered just created.
void SetRange()
Gives a different shape based on the node type.
static unsigned int & GetStaticGlobalCounter()
Returns a static variable to allow each node to retrieve its counter.
std::vector< std::string > fDefinedColumns
Columns defined up to this node.
void SetFilter()
Gives a different shape based on the node type.
void SetCounter(unsigned int counter)
Manually sets the counter to a node.
unsigned int fCounter
Nodes may share the same name (e.g.
static void ClearCounter()
Resets the counter.
bool fIsNew
A just created node.
std::vector< std::string > GetDefinedColumns()
Gets the column defined up to the node.
bool fIsExplored
When the graph is reconstructed, the first time this node has been explored this flag.
std::shared_ptr< GraphNode > fPrevNode
basic_string_view< char > string_view
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...