CRTP base that emits a Graphviz DOT representation of a graph.
Synopsis
Declared in <llvm/Support/GraphWriter.h>
template<
typename GraphType,
typename Derived>
class GraphWriterBase;
Member Functions
Name |
Description |
|
Construct a graph writer for |
|
Destroy the graph writer. |
Output an edge from a simple node into the graph. |
|
Output a simple (non‐record) node. |
|
Get the raw output stream into the graph file. |
|
Return true if |
|
Write the DOT edge from |
|
Write the closing brace that ends the DOT digraph. |
|
Write the complete DOT graph, including header, nodes, and footer. |
|
Write the opening DOT digraph header and graph properties. |
|
Write the DOT record for |
|
Write every non‐hidden node in the graph. |
Protected Type Aliases
Name |
Description |
DOT customization traits for |
|
Graph traversal traits for |
|
Reference type for a node in the graph. |
|
Iterator over children of a node. |
|
Iterator over all nodes in the graph. |
Protected Member Functions
Name |
Description |
Cast |
|
Write edge source labels for |
Protected Data Members
Name |
Description |
Instance of the DOT traits used while writing. |
|
Graph being written. |
|
Stream that receives the emitted DOT text. |
|
Whether nodes are emitted with HTML‐like labels. |
Derived Classes
Name |
Description |
Default DOT graph writer for a graph type. |
Template Parameters
Name |
Description |
GraphType |
Graph type modeled by |
Derived |
Concrete writer type that customizes emission hooks. |
Created with MrDocs