8 Jul 15:51
Re: feature request
Goebel, Juergen <juergen.goebel <at> eads.com>
2009-07-08 13:51:12 GMT
2009-07-08 13:51:12 GMT
Fabien.Dagnat <at> telecom-bretagne.eu wrote:
> \documentclass{article}
> \usepackage{tikz}
> \usetikzlibrary{calc}
> \def\pos{0.5}
> \def\drawHVH(#1)(#2){
> \draw ($\pos*(#2) + (#1) - \pos*(#1)$) node[coordinate]
> (middle) {};%
> \draw (#1) -| (middle) |- (#2);
> }
> \begin{document}
>
> \begin{tikzpicture}
> \node[circle,draw] (a) at (0,0) {A};
> \node[circle,draw] (b) at (5,3) {B};
> \node[circle,draw] (c) at (-5,-3) {C};
> \drawHVH(a)(b)
> \def\pos{0.8}
> \drawHVH(a)(c)
> \end{tikzpicture}
> \end{document}
Thanks a lot (also to Robert)!
> You can easily adapt it for the other case...
ACK.
> To get your solution you
(Continue reading)
RSS Feed