fix #27 - graph depth = 0