From: Emden R. Gansner Date: Mon, 5 Jan 2015 20:58:41 +0000 (-0500) Subject: Refresh dotguide; fix bug 2505 X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~129^2~6^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee66a7866480aae509f59e7fdf7385bee5ac57d7;p=graphviz Refresh dotguide; fix bug 2505 --- diff --git a/doc/dotguide.pdf b/doc/dotguide.pdf index 52ca10792..0c5a33bc3 100644 Binary files a/doc/dotguide.pdf and b/doc/dotguide.pdf differ diff --git a/doc/dotguide/Makefile b/doc/dotguide/Makefile index 9ed63e999..1a0af6426 100644 --- a/doc/dotguide/Makefile +++ b/doc/dotguide/Makefile @@ -11,6 +11,7 @@ ARROWHEADFILES = \ normal.pdf diamondarrow.pdf dot.pdf odot.pdf \ inv.pdf invdot.pdf invodot.pdf \ crow.pdf vee.pdf tee.pdf \ + boxarrow.pdf curve.pdf icurve.pdf \ no_arrow.pdf diamond.pdf GRAPHFILES = \ @@ -47,5 +48,5 @@ dotguide.aux : dotguide.tex $(GRAPHFILES) pdflatex dotguide clean: - rm -rf *.ps *.pdf *.log + rm -rf *.ps *.pdf *.log dotguide.aux dotguide.blg dotguide.bbl diff --git a/doc/dotguide/boxarrow.dot b/doc/dotguide/boxarrow.dot new file mode 100644 index 000000000..ca8dd6775 --- /dev/null +++ b/doc/dotguide/boxarrow.dot @@ -0,0 +1,6 @@ +digraph G { + rankdir=LR; + T [shape=point]; + H [label=""]; + T -> H [arrowsize=1.5,arrowhead=box]; +} diff --git a/doc/dotguide/curve.dot b/doc/dotguide/curve.dot new file mode 100644 index 000000000..7806a1620 --- /dev/null +++ b/doc/dotguide/curve.dot @@ -0,0 +1,7 @@ +digraph G { + rankdir=LR; + T [shape=point]; + H [label=""]; + T -> H [arrowsize=1.5,arrowhead=curve]; +} + diff --git a/doc/dotguide/dotguide.tex b/doc/dotguide/dotguide.tex index 6e66130df..0d77f6fd5 100644 --- a/doc/dotguide/dotguide.tex +++ b/doc/dotguide/dotguide.tex @@ -8,7 +8,7 @@ \def\dag{{\it dag}} \def\DOT{{\it DOT}} \def\graphviz{{\it Graphviz}} -\newcommand{\lastedited}{December 11, 2014} +\newcommand{\lastedited}{January 5, 2015} \date{\lastedited} \newcommand{\mymark}{{\it dot} User's Manual, \lastedited \hfil } \markboth{\mymark}{\mymark} @@ -863,7 +863,7 @@ There are two types of ports. Ports based on the 8 compass points {\tt "n"}, {\tt "ne"}, {\tt "e"}, {\tt "se"}, {\tt "s"}, {\tt "sw"}, {\tt "w"} or {\tt "nw"} can be specified for any node. The end of the -node will then be aimed at that position on the node. Thus, if +edge will then be aimed at that position on the node. Thus, if {\tt se} port is specified, the edge will connect to the node at its southeast ``corner''. @@ -1194,7 +1194,7 @@ layout attributes appended. for {\it format} are: \begin{description} -\item[{\tt bmp}] Windoes bitMap format. +\item[{\tt bmp}] Windows bitmap format. \item[{\tt canon}] Prettyprint input; no layout is done. \item[{\tt dot}] @@ -1733,16 +1733,25 @@ these shapes can be found at the web site \end{center} \begin{center} \begin{tabular}{ccc} -\includegraphics{normal} & \includegraphics{dot} & \includegraphics{odot} \\ -normal & dot & odot \\ -\includegraphics{inv} & \includegraphics{invdot} & \includegraphics{invodot} \\ -inv & invdot & invodot \\ +\includegraphics{normal} & \includegraphics{dot} & \includegraphics{inv} \\ +normal & dot & inv \\ \includegraphics{crow} & \includegraphics{tee} & \includegraphics{vee} \\ crow & tee & vee \\ -\includegraphics{diamond} & \includegraphics{no_arrow} & \\ -diamond & none & \\ +\includegraphics{diamondarrow} & \includegraphics{no_arrow} & \includegraphics{boxarrow} \\ +diamond & none & box \\ +\includegraphics{curve} & \includegraphics{icurve} & \\ +curve & icurve & \\ \end{tabular} \end{center} +Arrowhead descriptions support a simple grammar to allow more complex, derived shapes, +such as the examples below. +\begin{center} +\begin{tabular}{ccc} +\includegraphics{odot} & \includegraphics{invdot} & \includegraphics{invodot} \\ +odot & invdot & invodot \\ +\end{tabular} +\end{center} +The web page cited above describes this grammar in detail. \clearpage \section{Color Names} diff --git a/doc/dotguide/icurve.dot b/doc/dotguide/icurve.dot new file mode 100644 index 000000000..f084e770b --- /dev/null +++ b/doc/dotguide/icurve.dot @@ -0,0 +1,7 @@ +digraph G { + rankdir=LR; + T [shape=point]; + H [label=""]; + T -> H [arrowsize=1.5,arrowhead=icurve]; +} +