dag: use row instead of commit generation during node laying out