public void Restart(int maxRestarts = -1, int levels = 0) { var target = FindNodeNLevelsUp(levels); Nodes.AddRestart(target, maxRestarts); }