added trigger positions, fixed graph render