Adding inputs + new graph + better resizing