]> granicus.if.org Git - graphviz/commitdiff
flat edge test
authornorth <devnull@localhost>
Mon, 2 Jun 2008 20:00:31 +0000 (20:00 +0000)
committernorth <devnull@localhost>
Mon, 2 Jun 2008 20:00:31 +0000 (20:00 +0000)
rtest/graphs/flatedge.dot [new file with mode: 0644]
rtest/share/flatedge.dot [new file with mode: 0644]
rtest/tests.txt

diff --git a/rtest/graphs/flatedge.dot b/rtest/graphs/flatedge.dot
new file mode 100644 (file)
index 0000000..71ee4ba
--- /dev/null
@@ -0,0 +1,9 @@
+/* bug 1364, nonconstraint flat edge cycle */
+digraph {
+"tcp" -> "kernel_linux" [ label="linux" ];
+"usmStats" -> "usmStats-5.5" [ color=red,constraint=false ];
+"usmStats-5.5" -> "usmStats" [ color=red,constraint=false ];
+"snmpv3mibs" -> "snmpEngine";
+"snmpv3mibs" -> "usmStats-5.5";
+"snmpv3mibs" -> "usmStats" [ style=dashed ];
+}
diff --git a/rtest/share/flatedge.dot b/rtest/share/flatedge.dot
new file mode 100644 (file)
index 0000000..6d8bca2
--- /dev/null
@@ -0,0 +1,16 @@
+digraph {
+       node [label="\N"];
+       graph [bb="0,0,528,126"];
+       tcp [pos="60,108", width="0.75", height="0.50"];
+       kernel_linux [pos="60,18", width="1.67", height="0.50"];
+       usmStats [pos="184,18", width="1.28", height="0.50"];
+       "usmStats-5.5" [pos="328,18", width="1.72", height="0.50"];
+       snmpv3mibs [pos="328,108", width="1.67", height="0.50"];
+       snmpEngine [pos="468,18", width="1.67", height="0.50"];
+       tcp -> kernel_linux [label=linux, pos="e,60,36 60,90 60,77 60,61 60,46", lp="74,63"];
+       usmStats -> "usmStats-5.5" [color=red, constraint=false, pos="e,281,6 222,8 238,5 254,4 271,5"];
+       "usmStats-5.5" -> usmStats [color=red, constraint=false, pos="e,222,28 281,30 264,32 248,32 232,30"];
+       snmpv3mibs -> snmpEngine [pos="e,442,35 354,91 376,77 409,56 433,41"];
+       snmpv3mibs -> "usmStats-5.5" [pos="e,328,36 328,90 328,77 328,61 328,46"];
+       snmpv3mibs -> usmStats [style=dashed, pos="e,208,33 302,92 278,77 242,55 217,39"];
+}
index 638dbb2eb6ad6b13e5290c47ee400768a46812aa..b666dd13445db4493f5762d44676d1281c1868b3 100644 (file)
@@ -8,7 +8,7 @@
 #     layout_alg output_format additional_flags
 #  
 # For example, the test
-#   shapes
+#   Shapes
 #   shapes.dot
 #   dot ps
 #   neato png "-Gsize=3,3 -Ncolor=red"
@@ -261,3 +261,7 @@ cairo
 dot ps:cairo 
 dot png:cairo 
 dot svg:cairo 
+
+flatedge
+=
+dot dot