[Tex/LaTex] Node shapes in TikZ

diagramsnodestikz-pgf

I want to draw a block diagram for a software app and I need two shapes which I couldn't find on the Internet. The shapes are a parallelogram and a rectangle with double side margins.

One is for data and the other for a predefined process. They look like this:

blockdiagram-flowchart-symbols

Does anyone know how could I draw those two shapes (maybe using TikZ)?

Best Answer

The double side margin rectangle can be created using a rectangle split, the parallelogram using a trapezium:

\documentclass{minimal}
\usepackage{tikz}
\usetikzlibrary{shapes,shapes.multipart}
\begin{document}

\begin{tikzpicture}
\node [draw,trapezium,trapezium left angle=70,trapezium right angle=-70,minimum height=1cm] {Data};

\node at (0,-2)[draw,rectangle split, rectangle split horizontal,rectangle split parts=3,minimum height=1cm] {\nodepart{two}\shortstack{Predefined\\Process}};

\end{tikzpicture}
\end{document}

parallelogram, split rectangle