tikz がノードを接続するのはなぜですか?

tikz がノードを接続するのはなぜですか?

私が使う

\usepackage{pdflscape}
\usepackage{tikz}
\usetikzlibrary{automata}

私のコードは次のようになります

\begin{figure}
\centering
\begin{tikzpicture}
\node[draw,align=center,text width=0.16\textwidth] at (-0.34\textwidth,0) {Applet};
\node[draw,align=center,text width=0.16\textwidth] at (-0.17\textwidth,0) {Applet};
\node[draw,align=center,text width=0.16\textwidth] at (0,0) {Applet};
\node[draw,align=center,text width=0.5\textwidth] at (-0.17\textwidth,-0.7) {Java Card Operating System};
\node[draw,align=center,text width=0.3\textwidth] at (0.27\textwidth,-0.35) { Native \\ Application \vspace{8pt}};
\node[draw,align=center,text width=0.84\textwidth] at (0,-1.44) {\gls{ic} Platform};
\end{tikzpicture}
\caption{Architecture of a \gls{smartcard}}
\label{figure:smartcardarchitecture}
\end{figure}

コンパイルすると、結果の画像は次のようになりますここに画像の説明を入力してください

アプレット ボックス間の線を消すにはどうすればいいですか?

ボックスの高さを適切に揃える方法についてのガイダンスもいただければ幸いです。ただし、あまり複雑すぎないようにしてください ;-)。

答え1

' Applets が近すぎて重なっています。修正した例を比較してください。何を意味しているのかわかりません\gls...

\documentclass{article}

\usepackage{pdflscape}
\usepackage{tikz}
\usetikzlibrary{automata}

\begin{document}
and my code looks like this

\def\gls{\MakeUppercase}

\begin{figure}
\centering
\begin{tikzpicture}
\node[draw,color=red,align=center,text width=0.16\textwidth] at (-0.34\textwidth,0) {Applet};
\node[draw,align=center,text width=0.16\textwidth] at (-0.17\textwidth,0) {Applet};
\node[draw,align=center,text width=0.16\textwidth] at (0,0) {Applet};
\node[draw,align=center,text width=0.5\textwidth] at (-0.17\textwidth,-0.7) {Java Card Operating System};
\node[draw,align=center,text width=0.3\textwidth] at (0.27\textwidth,-0.35) { Native \\ Application \vspace{8pt}};
\node[draw,align=center,text width=0.84\textwidth] at (0,-1.44) {\gls{ic}
 Platform};
\end{tikzpicture}
\caption{Architecture of a \gls{smartcard}}
\label{figure:smartcardarchitecture}
\end{figure}

\end{document}

ここに画像の説明を入力してください

関連情報