diff options
author | Jeffrey H. Kingston <jeff@it.usyd.edu.au> | 2010-09-14 20:40:57 +0000 |
---|---|---|
committer | Jeffrey H. Kingston <jeff@it.usyd.edu.au> | 2010-09-14 20:40:57 +0000 |
commit | 26230a416563decd82a0af827c0987b8628c5ef9 (patch) | |
tree | ff226c95db8ba7104bc0f8b1d16a3a4b481c6949 /doc/user/dia_link | |
parent | 51fe0cfa3e3ba27f55ff7d14a7fe077cc31ed0b7 (diff) | |
download | lout-26230a416563decd82a0af827c0987b8628c5ef9.tar.gz |
Lout 3.34.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@37 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'doc/user/dia_link')
-rw-r--r-- | doc/user/dia_link | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/user/dia_link b/doc/user/dia_link index f3a80fb..fb44c8c 100644 --- a/doc/user/dia_link +++ b/doc/user/dia_link @@ -244,6 +244,10 @@ of possible values for @Code "arrowstyle" is B { @Diag vstrut { no } { A:: @Circle |2c B:: @Circle // @Link from { A } to { B } arrow { yes } arrowstyle { solid } } } @Rowa + A { solidwithbar } + B { @Diag vstrut { no } { A:: @Circle |2c B:: @Circle + // @Link from { A } to { B } arrow { yes } arrowstyle { solidwithbar } } } +@Rowa A { halfopen } B { @Diag vstrut { no } { A:: @Circle |2c B:: @Circle // @Link from { A } to { B } arrow { yes } arrowstyle { halfopen } } } @@ -285,6 +289,18 @@ path, at the appropriate width (although never dashed or dotted), from its base to its point, and hence can and does ensure that the link path does not overstrike and thicken the point of the arrow. } +The arrow with style @Code solidwithbar has a bar at the tip of the +arrowhead, whose length equals the width of the arrow and whose +width is {@Code pathwidth}, like this: +@ID @Diag { +A:: @Box margin { 0i } outlinestyle { noline } 3c @Wide +// +@Link from { A@W } to { A@CTR } arrow { forward } arrowstyle { solidwithbar } +@Link from { A@CTR } to { A@E } arrow { back } backarrowstyle { solidwithbar } +} +This example shows that half of the bar extends beyond the area +allocated to the arrow, so that if two of these arrows meet from +opposite directions, their bars will exactly overstrike. @PP Corresponding with {@Code arrowstyle}, {@Code arrowwidth}, and {@Code arrowlength}, there are {@Code backarrowstyle}, |