Limiting number of nodes in a row

Is there any way to limit the number of nodes in a row in dot? For example, I have 100 nodes and I want to limit it to 5 nodes per row so the result will contain 20 rows.

Recent comments