Like the title says, is it possible to position a node a certain distance away from another node at a certain angle from that node?
TikZ-PGF – Positioning a Node a Certain Distance and Angle from Another Node
nodespositioningtikz-pgf
nodespositioningtikz-pgf
Like the title says, is it possible to position a node a certain distance away from another node at a certain angle from that node?
Best Answer
Yes, TikZ can use polar coordinates. Not sure exactly what is the best way of defining the second node, here is one way.
In
(30:2)
30 is the angle, 2 the distance. 0° is to the right, positive direction is counterclockwise, so nodeB
will be above and to the right ofA
.