I would like to know how yEd rescales the node width to enclose the label text. When I change the font size, it automatically rescales the width of the node. I want to know the relationship between the width of the node, the font size and the number of characters, because I am parsing xgml and would like to rescale the nodes to fit the labels.
Originally I thought I could rescale the width of each node via multipliying constants, i.e. c1(fontsize) + c2(number of characters) and at times the width is greater than the automatically rescaled width on yEd which isn't too bad, however at other times it is less than the automatically rescaled width on yEd which means that it won't enclose the label of the nodes.