LaTeX TikZ BPMN 2.0 Gateways

LaTex package for drawing Business Process Model and Notation (BPMN) 2.0 gateways.

\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}

\usepackage{tikz}
\usetikzlibrary{arrows, shapes, trees, positioning, decorations.markings, patterns}

\usepackage{bpmn-gateways}

\author{Jan Kubovy}
\title{BPMN Gateways}

\begin{document}

\begin{tikzpicture}[node distance=2cm,minimum size=1cm]
  \node [Gateway,draw] (g) {};
  \node [JoinGateway,draw,right of=g] (jg) {};
  \node [SplitGateway,draw,right of=jg] (sg) {};

  \node [ParallelGateway,draw,below of=g] (pg) {};
  \node [ParallelJoinGateway,draw,right of=pg] (pjg) {};
  \node [ParallelSplitGateway,draw,right of=pjg] (psg) {};

  \node [ExclusiveGateway,draw,below of=pg] (eg) {};
  \node [ExclusiveJoinGateway,draw,right of=eg] (ejg) {};
  \node [ExclusiveSplitGateway,draw,right of=ejg] (esg) {};

  \node [InclusiveGateway,draw,below of=eg] (ig) {};
  \node [InclusiveJoinGateway,draw,right of=ig] (ijg) {};
  \node [InclusiveSplitGateway,draw,right of=ijg] (isg) {};

  \node [ComplexGateway,draw,below of=ig] (cg) {};
  \node [ComplexJoinGateway,draw,right of=cg] (cjg) {};
  \node [ComplexSplitGateway,draw,right of=cjg] (csg) {};

  \node [EventBasedGateway,draw,below of=cg] (ebg) {};
  \node [EventBasedJoinGateway,draw,right of=ebg] (ebjg) {};
  \node [EventBasedSplitGateway,draw,right of=ebjg] (ebsg) {};
\end{tikzpicture}

\end{document}

Download the LaTeX package:bpmn-gateways.sty

4 Comments

  1. Thank you for sharing this code. I couldn’t reproduce it here. The variants “Split” and “Join” do not work.

Leave a Reply

Your email address will not be published. Required fields are marked *