I am using for the first time TikZ and I am creating a flowchart. I would like to insert some trapezia for LPC, HPC, HPT and LPT, as shown in the image below. The problem is that, if I simply substitute box
with compr
or turb
,
\tikzset{turb/.style={draw, trapezium, thick, rotate=90, minimum height=1em, minimum width=6em}} %HPT and LPT
\tikzset{compr/.style={draw, trapezium, thick, rotate=-90, minimum height=1em, minimum width=6em}} %LPC and HPC
all boxes become overlapped. How can I solve that? Thank you.
\documentclass[a4paper,11pt]{article}
\usepackage{tikz}
\usepackage{graphicx}
\usepackage{caption}
\usetikzlibrary{shapes,arrows,fit,calc,positioning}
\tikzset{box/.style={draw, rectangle, rounded corners, thick, text width=6em, text centered, minimum height=3em}}
\tikzset{line/.style={draw, thick, -latex'}}
\tikzset{combustor/.style={draw, ellipse, thick, minimum height=30pt, minimum width=50pt}}
\tikzset{turb/.style={draw, trapezium, thick, rotate=90, minimum height=1em, minimum width=6em}} %HPT and LPT
\tikzset{compr/.style={draw, trapezium, thick, rotate=-90, minimum height=1em, minimum width=6em}} %LPC and HPC
\begin{document}
\begin{figure}
\centering
\begin{tikzpicture}[auto,scale=0.6, every node/.style={scale=0.6}]
%place nodes
\node [box] (dev2) {Deviatore 2};
\node [box, below=0.5cm of dev2] (HPC) {HPC};
\node [combustor, right=0.5cm of HPC] (Comb) {Combustore};
\node [box, right=0.5cm of Comb] (HPT) {HPT};
\node [box, right=0.5cm of HPT] (LPT) {LPT};
\node [box, right=0.5cm of LPT] (nozzle1) {Nozzle 1};
\node [box, left=0.5cm of HPC] (LPC) {LPC};
\node [box, below=0.5cm of LPC] (dev1) {Deviatore 1};
\node [box, right=0.5cm of dev1] (bypass) {Bypass};
\node [box, right=0.5cm of bypass] (nozzle2) {Nozzle 2};
\node [box, below=0.5cm of dev1] (fan) {Fan};
\node [box, below=0.5cm of fan] (diffusore) {Diffusore};
%draw path
\path [line] (diffusore) -- (fan);
\path [line] (fan) -- (dev1);
\path [line] (dev1) -- (bypass);
\path [line] (bypass) -- (nozzle2);
\path [line] (dev1) -- (LPC);
\path [line] (LPC) -- (HPC);
\path [line] (HPC) -- (dev2);
\path [line] (dev2) -| (HPT);
\path [line] (HPC) -- (Comb);
\path [line] (Comb) -- (HPT);
\path [line] (HPT) -- (LPT);
\path [line] (LPT) -- (nozzle1);
\path [line] (dev2) -| (LPT);
\end{tikzpicture}
\caption{My first flowchart}\label{fig:flowchart}
\end{figure}
\end{document}