[graph] fix updateGraph function so that labels are rendered properly

This was visible in the screenshot, where forceAtlas is not started
initially and there were no labels, even though the setting was correct.
parent e9280bbd
Pipeline #7865 passed with stages
in 21 minutes and 44 seconds