]> granicus.if.org Git - graphviz/commitdiff
Fix shape appendix. A single diamond file was used for both arrows and shapes
authorerg <devnull@localhost>
Fri, 8 Jan 2010 18:37:45 +0000 (18:37 +0000)
committererg <devnull@localhost>
Fri, 8 Jan 2010 18:37:45 +0000 (18:37 +0000)
doc/dotguide/Makefile
doc/dotguide/diamond.dot
doc/dotguide/diamondarrow.dot [new file with mode: 0644]

index d16bd957d5484bb765ebdc2e3c632769ec488b60..f2c5e28fcfbd0bd213002e828b36d956775d0765 100644 (file)
@@ -8,7 +8,7 @@ SHAPEFILES = \
     triangle.pdf tripleoctagon.pdf \
 
 ARROWHEADFILES = \
-    normal.pdf dot.pdf odot.pdf \
+    normal.pdf diamondarrow.pdf odot.pdf \
     inv.pdf invdot.pdf invodot.pdf \
     crow.pdf vee.pdf tee.pdf \
     no_arrow.pdf diamond.pdf
index 66ec0cf9a0b8a29da109c77a04638360386d4eeb..78fbc18271448675ea558705c71a56df73950e9e 100644 (file)
@@ -1,6 +1,5 @@
 digraph G {
-  rankdir=LR;
-  T [shape=point];
-  H [label=""];
-  T -> H [arrowsize=1.5,arrowhead=diamond];
+ node [style=filled,shape=diamond];
+ node [label=""];
+ box;
 }
diff --git a/doc/dotguide/diamondarrow.dot b/doc/dotguide/diamondarrow.dot
new file mode 100644 (file)
index 0000000..66ec0cf
--- /dev/null
@@ -0,0 +1,6 @@
+digraph G {
+  rankdir=LR;
+  T [shape=point];
+  H [label=""];
+  T -> H [arrowsize=1.5,arrowhead=diamond];
+}