Cerata
A library to generate structural hardware designs
cerata::dot Namespace Reference

Contains everything related to the DOT back-end. More...

Classes

struct  Config
 DOT output configuration. Determines what Cerata constructs will be used for generation. More...
 
class  DOTOutputGenerator
 OutputGenerator for DOT graphs. More...
 
struct  Grapher
 Dot graph output generator. More...
 
struct  Palette
 A color Palette. More...
 
struct  Style
 Dot style configuration. More...
 
struct  StyleBuilder
 Convenience structure to build up dot styles. More...
 

Functions

std::string NodeName (const Node &node, const std::string &suffix="")
 Return the DOT name of a node.
 
std::string tab (uint n)
 Return indent string.
 
std::string tab (int n)
 Return indent string.
 
std::string sanitize (std::string in)
 Sanitize a string for usage in DOT.
 
std::string awq (const std::string &attribute, const std::string &style)
 Assign with quotes.
 

Detailed Description

Contains everything related to the DOT back-end.