I am studying Draw a rectangle with rounded ends in TikZ but it appears that the dimensions of the rectangle are dependent on the text in the node.
How can I draw a rounded rectangle specifying dimensions:
in a node
How to change
\node (1) [draw, rounded rectangle] {some text};
?not in a node
How to change
\draw (0,0) rectangle (4,4);
\draw[rounded corners](0,0)rectangle(4,4)
work !