Micha wrote:
This is more latex than lyx but I was hoping someone here knows the answer

I'm trying to see if it's possible to connect two points on the graph with the pgf fancy arrows from the shape library. That is
\node at (1,1) [double arrow, fill, color=green!70!black] {arrow};

I managed to put an arrow at a point (1,1 at the previous example) but I don't see how to get each end to rest at a give point (I need a path and not a point). Is it even possible, and if so, is it possible to do it with 90 degree bends? i.e

A
^
|
|
|--------B

Thanks


The A-B diagram can be done with a \draw command using standard arrow heads, or arrow heads from the arrow tip library (TiKZ/PGF manual, section 22). The arrow shapes library defines stand-alone shape objects; I don't think they can be used directly as arrow tips, and I don't think they can be stretched and bent (other than by redesigning them).

Section 58 of the TiKZ/PGF manual explains how to design your own arrow heads, if you are so inclined. I don't know if there's a way to use a defined shape directly, but you could presumably use the source code for the arrow in the shape library to guide you in designing a similar arrow head.

/Paul

Reply via email to