Systems of inequalities and graphs