This project is read-only.

Notice: This project has migrated to GitHub, and switched from a .NET console app to a TypeScript web app published at


Commandments Hierarchy Genenerator


The Torah teachers asked him, "Rabbi, what is the greatest commandment in Torah?" He answered them, "Hear, O Israel, the LORD our God, the LORD is one. You shall love the LORD your God with all your heart, and with all your soul, and with all your strength. This is the first and greatest commandment. The second, like it, is this: You shall love your neighbor as yourself. All the Torah and the Prophets hang on these two commandments."

Inspired by this statement from Yeshua (Jesus) the Messiah, I took up the idea of generating a hierarchy diagram of all Biblical commandments from these 2 greatest commandments. The goal is to visually map all 613 commandments in the Torah in a hierarchical tree form.

To carry out this goal, I needed some automated way to generate a visual hierarchy based on hierarchical commandment data. Being a geek by nature and a software developer by trade, I started this C# console app project to define the commandments as a class hierarchy, each commandment being a class by itself. This defines the data.

To generate the visual display of a tree structure, for the time being I'm using open source GraphViz tool. The GraphViz tool reads DOT language as input to generate a chart. This C# tool reflects on all commandments and outputs DOT language instructions. In the future, we may go with a different tool -- perhaps a Silverlight chart or some other more dynamic tool. For now, GraphViz is the tool of choice.

To summarize, this program:

  • Defines each biblical commandment as its own class, deriving from some other commandment. This generates the data.
  • Reflects over all commandment classes at runtime and spits out DOT language instructions.
  • Pipes the DOT language instructions into the open source GraphViz tool. This generates the chart.
  • Displays statistics on currently entered commandments, observance levels, etc, as well as the next few commandments to be entered.

Follow the project details and commentary over the next few years as we build the entire hierarchy from scratch, and have a look at the latest snapshot of our work.

Last edited Jul 8, 2015 at 4:18 AM by JudahGabriel, version 14