Author: Andrey Bogdanov
Divide the diagram along the grid lines into regions of exactly 4 cells. A number in a cell indicates how many of the four edges of the cell are used by region borders (the border of the diagram is also count).
Grid control: To draw a cut click at the cell edge or move mouse along the line holding the button. You can also connect the cells which belong to the same part with auxiliary line. More details about grid control are at the help page.