Graphical risk and liability allocation models in construction contracts