Wie zeichnet man ein schematisches Industriediagramm in LaTeX?

Wie zeichnet man ein schematisches Industriediagramm in LaTeX?

Ist es möglich, das folgende Diagramm in LaTeX zu erstellen? Mich interessiert der Hauptteil, jede Farbe innerhalb des Kastens ist in Ordnung.

Bildbeschreibung hier eingeben

Antwort1

\documentclass{standalone}
\usepackage{tikz}

\usetikzlibrary{positioning}
\usetikzlibrary{decorations.pathreplacing}

\begin{document}


\begin{tikzpicture} [align=left] 
    \node [draw] (home) {Home\\(capital-abundant)};
    \draw (home.east) -- ++(2,0) node [above] (cloth) {Cloth}
        -- ++(2,0) node [above] (food) {Food} -- ++(1,0) node [coordinate] (topend) {};
    \node[below=of home] (mid) {};
    \draw[dashed] (cloth |- mid) -- (topend |- mid);
    \node [draw, below=of mid] (foreign) {Foreign\\(labor-abundant)};
    \draw (foreign.east) -- (topend |- foreign);
    \draw[->] (cloth) -- (cloth |- foreign);
    \draw[->] (food |- mid) -- (food);
    \node [coordinate,right=0.1cm of cloth] (c1) {};
    \draw[->] (c1 |- foreign) -- (c1 |- mid);
    \draw[decorate,decoration={brace, amplitude=4pt}] 
            (topend) -- (topend |- mid) node[midway, right=3pt]{Interindustry};
    \draw[decorate,decoration={brace, amplitude=4pt}] 
            (topend |- mid) -- (topend |- foreign) node[midway, right=3pt]{Intraindustry};
\end{tikzpicture}

\end{document}

Vorschau

verwandte Informationen