20namespace shamrock::solvergraph {
23 for (
auto &node : nodes) {
32 ss <<
"subgraph cluster_" + std::to_string(
get_uuid()) +
" {\n";
33 for (
auto &node : nodes) {
34 ss << node->get_dot_graph_partial();
37 for (
int i = 0; i < nodes.size() - 1; i++) {
38 ss << nodes[i]->get_dot_graph_node_end() <<
" -> "
39 << nodes[i + 1]->get_dot_graph_node_start() <<
" [weight=3];\n";
51 for (
auto &node : nodes) {
52 ss << node->get_tex_partial() <<
"\n";
u64 get_uuid() const
Get the uuid of the class.
std::string _impl_get_tex() const
get the tex of the node
std::string _impl_get_label() const
get the label of the node
void _impl_evaluate_internal()
evaluate the node
std::string _impl_get_dot_graph_partial() const
get the dot graph of the node partial