Text this: I. Combinatorial Theory of Nonlinear Graphs, Applied to the Virial Equation of State. II. Chemical Thermodynamics of Open Systems