Sunday, 2 June 2013

Drawing a polyline between two nodes in tikz

Drawing a polyline between two nodes in tikz

I am a beginner with tikz and finding the following really difficult to do.

I have defined and drawn node1 and node2 in tikz. You can figure it out easily from the picture. What I intend to do is
Draw a dashed line from (node1.south) to P1.
Draw a dashed line from P1 to P2.
Draw a pointed dashed line from P2 to (node2.north).
where the point P1 is (node1.south)+(0,-y). y is a positive integer which I am free to choose depending on y-axis distance between node1 and node2.
and I define the point P2 as the point where a horizontal left-ward line from P1 meets the vertical upward line from (node2.north).
This thing roughly accomplished in google drawing is shown.

No comments:

Post a Comment