-added graph prune configurable option