Open vphatfla opened 1 month ago
configs.label font-size is NOT working, although other options like color or direction works fine.
const nodeSize = 50 ... configs = { node: { normal: { type: 'rect', width: nodeSize * 2, height: nodeSize * 1.5, color: 'gray' }, label: { text: 'short_name', visible: true, direction: 'center', fontSize: 12, color: 'black', directionAutoAdjustment: false } }, }
Also, is the a way that force the label to break a line new when the text goes out of the rect area?
Thanks!
configs.label font-size is NOT working, although other options like color or direction works fine.
Also, is the a way that force the label to break a line new when the text goes out of the rect area?
Thanks!