graphing model