MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / build_html_label

Function build_html_label

src/graphviz.cpp:71–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71std::string build_html_label(const graphviz_node_content& content)
72{
73 std::ostringstream ss;
74
75 ss << html_table_start(content.html_style);
76 ss << html_cell(html_bold(content.title));
77
78 std::for_each(content.body_lines.begin(),
79 content.body_lines.end(),
80 [&ss](const std::string& line) { ss << html_cell(line); });
81
82 ss << html_table_end();
83 return ss.str();
84}
85
86std::string build_node_style(const graphviz_node_style& node_style)
87{

Callers 1

print_graphMethod · 0.85

Calls 8

html_table_startFunction · 0.85
html_cellFunction · 0.85
html_boldFunction · 0.85
html_table_endFunction · 0.85
for_eachFunction · 0.50
beginMethod · 0.45
endMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected