答案1
你需要正确分析图表。首先,你可以用相同的样式定义每列的所有节点。你可以使用定位来放置节点。主列很容易绘制,对于其他列,我向你展示了一些困难,如[left= of m1.south west,anchor=north east]
和[left= of $(m2.west)!.5!(m3.west)$ ]
。
\documentclass[11pt]{scrartcl}
\usepackage{tikz}
\usetikzlibrary{%
arrows,positioning,
calc
}
\begin{document}
\small
\begin{tikzpicture}
% main column nb 3
\begin{scope}[node distance=1.5em,
every node/.style={align=center,text width=10em,draw,ultra thick}]
\node (m1) {Soc. Anonima\\
Marca Corona\\
1934};
\node (m2) [above= of m1] {MMMMMMMMMMM\\
xxxxxxxxxxxxx\\
1932};
\node (m3) [above= of m2] {MMMMMMMMMMM\\
xxxxxxxxxxxxx\\
1920};
\node (m4) [above= of m3] {MMMMMMMMMMM\\
xxxxxxxxxxxxx\\
1910};
\node (m5) [above=4.5em of m4] {MMMMMMMMMMM\\
xxxxxxxxxxxxx\\
1869};
\end{scope}
% main column nb 2
\begin{scope}[node distance=.75em,every node/.style={align=center,text width=10em,draw}]
\node (l1) [left= of m1.south west,anchor=north east] {SAIME\\
\ \\
1932};
\node (l2) [left= of $(m2.west)!.5!(m3.west)$ ] {LLLLLLLLLL\\
xxxxxxxxxxxxx\\
1926};
\node (l3) [left= of m4] {LLLLLLLLLL\\
xxxxxxxxxxxxx\\
1911};
\node (l4) [left= of m5] {LLLLLLLLLL\\
xxxxxxxxxxxxx\\
1869};
\end{scope}
%edges
\draw[ultra thick] (m1)--(m2) (m2)--(m3) (m3)--(m4) (m4)--(m5) ;
\draw[dashed] (l1) |- (m2);
\coordinate [above=.5em of m4] (line);
\draw[dotted] ($(line) + (-8,0)$) -- ($(line) + (8,0)$);
\end{tikzpicture}
\end{document}