Given a node, returns the node that will contain it. By default that is the parent of the node, but subclasses may override this method to visualize other parent-like relationships.
The attributes to add to each edge.
The attributes to add to the graph.
The attributes to add to each node.
Static
cfgStatic
cfgStatic
cfgStatic
cfgStatic
cfgStatic
codeStatic
falseStatic
functionStatic
functionStatic
functionStatic
jumpStatic
keywordStatic
locationStatic
locationStatic
symbolStatic
trueAdds attributes to each edge. Only overrides the attributes that are explicitly set by the function, leaving the others unchanged.
For completely overriding the previous attributes, just set getEdgeAttrs directly.
The function that adds attributes to each edge.
The same formatter, for chaining.
Adds attributes to the graph. Only overrides the attributes that are explicitly set by the function, leaving the others unchanged.
For completely overriding the previous attributes, just set getGraphAttrs directly.
The function that adds attributes to the graph.
The same formatter, for chaining.
Adds attributes to each node. Only overrides the attributes that are explicitly set by the function, leaving the others unchanged.
For completely overriding the previous attributes, just set getNodeAttrs directly.
The function that adds attributes to each node.
The same formatter, for chaining.
Retrieves all nodes that are contained by a node. This method is based on getContainer.
The node to get the contained nodes of.
The nodes that are contained by the given node.
Converts a graph to a DOT string.
The graph to convert.
The resulting DOT string.
Checks if a node is contained by another node. This is based on getContainer.
The node to check.
Whether the node is contained by another node.
Checks if a node contains other nodes. This is based on getContainer.
The node to check.
Whether the node contains other nodes.
Converts a graph into a DOT graph.
The graph to convert.
The resulting DOT graph.
Static
defaultPrioritizes the parent of the node as the container. Otherwise, for a ControlFlowNode, its function is used.
The node to find the container of.
The parent of the node.
Static
defaultStatic
defaultStatic
defaultStatic
renderStatic
renderStatic
renderStatic
renderStatic
renderStatic
renderStatic
render
Creates a new clava flow DOT formatter.