Build input graphic