]> granicus.if.org Git - graphviz/commitdiff
tests: GraphvizEdge: handle primitive arrow shape 'diamond' in arrowhead/tail_outline...
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Wed, 5 Oct 2022 20:31:28 +0000 (22:31 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sat, 29 Oct 2022 09:06:44 +0000 (11:06 +0200)
tests/graphviz_edge.cpp

index 6f7a36a564a8df962c4cb6b92d1ce320dead6fa0..99960a1a07cc7b28b438bb32f443ddce309c908b 100644 (file)
@@ -20,17 +20,19 @@ void GraphvizEdge::add_outline_overlap_bbox(const GraphvizNode &node,
 
 static const std::unordered_set<std::string_view>
     supported_primitive_arrow_shapes = {
-        "box",    //
-        "dot",    //
-        "inv",    //
-        "normal", //
+        "box",     //
+        "diamond", //
+        "dot",     //
+        "inv",     //
+        "normal",  //
 };
 
 static const std::unordered_set<std::string_view>
     polygon_based_primitive_arrow_shapes = {
-        "box",    //
-        "inv",    //
-        "normal", //
+        "box",     //
+        "diamond", //
+        "inv",     //
+        "normal",  //
 };
 
 static const std::unordered_set<std::string_view>