I need bottom nodes to start where their respective top nodes instead of being centered below them.
Output:
Code:
\begin{tikzpicture}
\node[align=left,draw=black,rounded corners](colOne_rowOne)
{
this is line 1\\
this is line 2, this is line 2
};
\node[below=of colOne_rowOne,align=left,draw=black,rounded corners](colOne_rowTwo)
{
this is line
};
\node[right=of colOne_rowOne,align=left,draw=black,rounded corners](colTwo_rowOne)
{
this is line 1\\
this is line 2, this is line 2
};
\node[below=of colTwo_rowOne,align=left,draw=black,rounded corners](colTwo_rowTwo)
{
this is line
};
\end{tikzpicture}
Best Answer
While @Zarko's answer is working in this case, I think it is cleaner to use anchors for this:
Anchors are fitted for this task: they tell which point of the current node should be positioned at the given coordinate. Then you can use the
node distance
key to change the distances between the nodes.