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
Nodes are scaled based on whether they are a multimer, or have state/infos. Ideally these should act as functional transforms on the shape arguments instead of a sequence of if statements.
Cases that also need to be handled:
scale size based on the number of state/infos
The text was updated successfully, but these errors were encountered:
Determine node width deterministically without using / reading / setting node.width()
Create a function in element.js:dimensions, that does the following:
w0 = Compute sum total width of all state vars based on length of each label
w1 = Computer sum total width of all units of information based on length of each label
wN = width of node = max(w0, w1)
This function will be used to deterministically compute how wide the node needs to be to accommodate each state var / unit of information and will set the node width before drawing any aux items.
Once width is set, draw each aux item without worrying about width overflow
Nodes are scaled based on whether they are a multimer, or have state/infos. Ideally these should act as functional transforms on the shape arguments instead of a sequence of if statements.
Cases that also need to be handled:
The text was updated successfully, but these errors were encountered: