
Hello,
I started a project with some days ago.
What I try to do is to build a network graph. I want to have nodes with a glyph which have a text and the size adapted to the text. The change for each node.
What I have already done is to use Rect as glyph and to add label with Labelset. I specified a width for the glyph which depends of the text length, and added a x offset for the label. This works when the graph width is fixed, but when the width is not what I have tested, text can go out of the rectangle. Thus, this doesn’t seems to be a proper way.
I also tried Text instead of Rect, but I didn’t see any way to add background or surrounding rectangle. It doesn’t seems neither that css properties can be added.
Do you see a good way to do what I expect?
