window + painter => graph