Generate a process flow diagram