我正在尝试制作我的主题的概览图。在流程图/思维导图等概念中,我想直观地看到不同的结果如何相互作用。我用 itkz-cd 制作了一个版本,看起来不是特别好看。它完成了工作,并且足够灵活,可以满足我的需要(而且我有点习惯它了)。
我的问题是:你们知道这种任务的其他替代方案吗?它不一定是基于 Tex 的,但当然最好!
示例(用宜川深网): 请不要考虑细节,这只是一个草稿:)
答案1
作为起点。通过使用包matrix
中的库tikz
:
\documentclass[border=3.141592mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,
matrix}
\begin{document}
\begin{tikzpicture}[
every path/.style = {-Straight Barb}
]
\matrix (m) [matrix of nodes,
nodes in empty cells,
nodes = {text width=6em, align=center, anchor=center, inner sep=1pt,
anchor=center, font=\small\linespread{0.84}\relax},
column sep=11mm,
row sep= 3mm
]
{
text two lines long
& & & text two lines long \\
%
& text two lines long
& text two lines long
& short text \\
%
text two lines long
& & text two lines long
& text two lines long \\
%
text two lines long
& text two lines long
& & text two lines long \\
%
text two lines long
& very long text in three lines
& & \\
%
& & text two lines long
& \\
};
\draw (m-2-2) edge (m-1-1)
(m-3-1) edge (m-3-3) (m-3-4) edge (m-3-3)
(m-3-1) edge (m-1-1)
(m-3-1) edge (m-4-2) (m-3-4) edge (m-2-3)
(m-4-2) edge (m-2-2) (m-4-2) edge (m-3-3)
(m-4-1) edge (m-4-2)
(m-3-3) edge (m-6-3)
(m-5-1) edge (m-4-2)
(m-5-1) edge (m-5-2)
(m-5-1) edge[bend right=15] (m-6-3)
%
(m-2-3) edge (m-1-4)
(m-2-4) edge (m-1-4) (m-2-4) edge (m-3-4)
(m-4-4) edge (m-3-4)
;
\end{tikzpicture}
\end{document}
编辑: 正确的图像代码(添加丢失的部分代码)