Cerata
A library to generate structural hardware designs
|
Dot style configuration. More...
#include <style.h>
Classes | |
struct | EdgeStyle |
Style for edges. More... | |
struct | NodeGroup |
Node group configuration. More... | |
struct | NodeStyle |
Node style. More... | |
struct | SubGraph |
Subgraph style. More... | |
Public Types | |
using | str = std::string |
Short-hand for std::string. | |
Public Member Functions | |
std::string | GenHTMLTableCell (const Type &t, const std::string &name, int level=0) |
Generate a HTML table cell from a type. | |
std::string | GetLabel (const Node &n) |
Get the label for a node. | |
std::string | GetStyle (const Node &n) |
Get the style for a node. | |
Static Public Member Functions | |
static std::string | GenDotRecordCell (const Type &t, const std::string &name, int level=0) |
Generate a DOT record cell from a type. | |
static Style | normal () |
Default style. | |
Public Attributes | |
struct cerata::dot::Style::SubGraph | subgraph |
Style for sub graphs. | |
struct cerata::dot::Style::NodeGroup | nodegroup |
Style for group of nodes. | |
struct cerata::dot::Style::EdgeStyle | edge |
Style for edges. | |
struct cerata::dot::Style::NodeStyle | node |
Style for nodes. | |
Config | config |
Configuration of what types of constructs to show or hide for this style. | |