muda
graphviz_options.h
1 #pragma once
2 #include <string>
3 namespace muda
4 {
6 {
7  public:
8  bool show_vars = true;
9  bool show_nodes = true;
10  bool as_subgraph = false;
11  bool show_all_graph_nodes_in_a_closure = false;
12  int graph_id = 0;
13 
14  // styles
15  std::string node_style =
16  R"(shape="egg", color="#82B366", style="filled", fillcolor="#D5E8D4",)";
17 
18  std::string all_nodes_closure_style =
19  R"(shape="Mrecord", color="#82B366", style="filled", fillcolor="#D5E8D4",)";
20 
21  std::string var_style =
22  R"(shape="rectangle", color="#F08705", style="filled,rounded", fillcolor="#F5AF58",)";
23 
24  std::string read_write_style = R"(color="#F08E81", arrowhead = diamond,)";
25 
26  std::string read_style = R"(color="#64BBE2", arrowhead = dot, )";
27 
28  std::string arc_style = R"(color="#82B366", )";
29 
30  std::string event_style =
31  R"(shape="rectangle", color="#8E44AD", style="filled,rounded", fillcolor="#BB8FCE",)";
32 
33  std::string graph_viewer_style =
34  R"(shape="rectangle", color="#82B366", style="filled,rounded", fillcolor="#D5E8D4",)";
35 
36  std::string cluster_style =
37  R"(fontcolor="#82B366" fontsize=18; color = "#82B366"; style = "dashed";)";
38 
39  std::string cluster_var_style = R"(color="#F08705"; style="dashed";)";
40 
41  std::string graph_font = R"(graph [fontname = "helvetica"];
42 node [fontname = "helvetica"];
43 edge [fontname = "helvetica"];)";
44 };
45 } // namespace muda
Definition: assert.h:13
Definition: graphviz_options.h:5