contingency graph