diff --git a/src/widgets/GraphvizLayout.cpp b/src/widgets/GraphvizLayout.cpp index f2a53b3c..eb1fe4e3 100644 --- a/src/widgets/GraphvizLayout.cpp +++ b/src/widgets/GraphvizLayout.cpp @@ -94,7 +94,7 @@ void GraphvizLayout::CalculateLayout(std::unordered_map &block std::unordered_map nodes; for (const auto &block : blocks) { - nodes[block.first] = agnode(g, nullptr, TRUE); + nodes[block.first] = agnode(g, nullptr, true); } std::vector strc; @@ -143,7 +143,7 @@ void GraphvizLayout::CalculateLayout(std::unordered_map &block if (v == nodes.end()) { continue; } - auto e = agedge(g, u, v->second, nullptr, TRUE); + auto e = agedge(g, u, v->second, nullptr, true); edges[{ blockIt.first, edge.target }] = e; if (loopEdges.find({ blockIt.first, edge.target }) != loopEdges.end()) { agxset(e, constraintAttr, STR("0"));