The state diagram for the priority encoder

This state diagram has been coloured to help the user visualise groupings. The colours play no other part in this application.

Most components of this diagram have been categorised in order to allow fast manipulation. The category system plays no other part in this application (for a description of how the category system is used in this application click here).