Graph theory of tower tasks.