You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The width of the bricks should depend on the width of the brick label and the maximum width of its argument labels (if there exist any). The flexible width of the brick based on the said widths are required for the brick outline generation.
Render labels in the brick React components
Collect the widths using getBBox
Calculate the required flexible width of the brick using the label widths
Set labelWidth property in the brick model classes
Generate path while considering the labelWidth
Draw path using the generated path dimensions in the brick React components
Position labels accordingly within the boundaries of the path
The text was updated successfully, but these errors were encountered:
The width of the bricks should depend on the width of the brick label and the maximum width of its argument labels (if there exist any). The flexible width of the brick based on the said widths are required for the brick outline generation.
getBBox
labelWidth
property in the brick model classeslabelWidth
The text was updated successfully, but these errors were encountered: