svf-lib 1.0.2628 → 1.0.2630
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
|
@@ -178,7 +178,13 @@ public:
|
|
|
178
178
|
|
|
179
179
|
if (!DTraits.renderGraphFromBottomUp())
|
|
180
180
|
{
|
|
181
|
-
|
|
181
|
+
std::string label = DTraits.getNodeLabel(Node, G);
|
|
182
|
+
if (label.length() > Options::MaxNodeLabelLength())
|
|
183
|
+
{
|
|
184
|
+
label = label.substr(0, Options::MaxNodeLabelLength()) + "...";
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
O << DOT::EscapeStr(label);
|
|
182
188
|
|
|
183
189
|
// If we should include the address of the node in the label, do so now.
|
|
184
190
|
std::string Id = DTraits.getNodeIdentifierLabel(Node, G);
|
|
Binary file
|