improve graphing template inputs
improve template inputs