[docs] Change inner graph bounds only on re-render

Your solution caused very high CPU usage, even if graph was stabilized.