Keep relative font size while zooming

Hello,

Currently, when you zoom on a diagram, everything gets bigger, including the font size on text nodes. Is there a way to keep the font size relative as you zoom, e.g. stay at 14px even if the other graph nodes get bigger? For example, on Google Maps, as you zoom, font stays the same.

You could scale the TextBlocks on when the viewport bounds change due to a change in Diagram.scale, like we do with the static Title in this example: https://gojs.net/latest/intro/legends.html#StaticParts

That would cause the Nodes to remeasure, however, which may produce unintended effects unless you are making sure your Node does not rely on the TextBlock for sizing

See also the sample: https://gojs.net/latest/samples/constantSize.html
Although that sample scales the whole Node, rather than just a TextBlock in each Node.