I wish to add the new line character in the node, however, I tried several ways, all cannot work.
\node[draw, minimum width = 2em, minimum height=1em] (a) {get \\ flight(gf)};
|
I wish to add the new line character in the node, however, I tried several ways, all cannot work.
|
||||
|
From the manual for TikZ and pgf, version 2.10: In Section 16.4.3 Text Parameters: Alignment and Width for Multi-Line Text
and later
|
||||
|
|
align=centerto the node's options. – Qrrbrbirlbel Feb 15 at 2:14text width=<length>– Harish Kumar Feb 15 at 2:17