Tikzpicture 可视化编辑器

Tikzpicture 可视化编辑器

我正在绘制如下表格:

\begin{figure}[H]
\centering

\begin{tikzpicture}[xscale=1.5]
\node at (3,-1.5) { text1 };
\node at (1,-3.5) { text2 };

\node at (-0.2,-0.1) {  };
\node at (-0.2,-0.85) {  };
\node at (-0.2,-1.85) {  };
\node at (-0.2,-2.85) { more text };
\node at (-0.2,-3.85) {  };
\node at (-0.2,-4.85) {  };

\node at (0.15,0.2) {  };
\node at (0.85,0.2) { };
\node at (1.85,0.2) { more text };

\node at (1.85,-2.85) { more text };

\node at (3.85,0.2) { };

\draw (0,0) -- (0,-5);
\draw (0,-5) -- (4,-5);
\draw (4,-5) -- (4,0);
\draw (0,0) -- (4,0);
\draw (0,0) -- (0,-1);
\draw (0,-1) -- (1,-1);
\draw (1,-1) -- (1,-2);
\draw (1,-2) -- (2,-2);
\draw (2,-2) -- (2,-3);
\draw (2,-3) -- (3,-3);
\draw (3,-3) -- (3,-4);
\draw (3,-4) -- (4,-4);
\draw (4,-4) -- (4,-5);
\end{tikzpicture}
\end{figure}

现在我甚至想制作行和列,并为生成的网格的某些部分添加阴影。

我想知道是否有某种工具可以让我以视觉方式执行此操作并返回 tikzpicture 代码。我使用了这个用于图表,但它似乎不支持 tikzpicture。

相关内容