I am the new one to GoJS, when I run the example of Mapping Fields, the results like,
see the text, the text head be cutted, how can I fix this?
It looks like you are limiting the size that the TextBlock is allowed to have.
Perhaps you are seeing a width
and height
or desiredSize
on the TextBlock, which is smaller than the font.
Perhaps you are using a table panel that is setting certain column or row sizes.
I suggest trying to simplifying your node template and item template until the issue no longer appears, to isolate exactly what it is.