Update Scale of TextBlocks

Hi. I have a question, when zooming, is there a way to dynamically update the scale of all the text (TextBlock) with the zoom? Mostly by zooming out, to prevent the text from being blurred. Thanks in advance.

https://gojs.net/latest/samples/constantSize.html
But you’ll want to set the scale of the TextBlock rather than the whole Node.

Yes, I added a scale in the TextBlocks, but I don’t know how to get them to update. Would it be through myDiagram.nodes? It’s just to update the scale of the TextBlock

Did you see the “ViewportBoundsChanged” DiagramEvent listener?