Is there anyway to save the sizes of a node if it is given a custom geoString for how it’s displayed?
When I’m pulling out the model from the diagram to be saved to the database, I’m seeing the following values within when I console.log() them:
<div ="console-message-wrapper="" console-adjacent-user-command-result"="" style="-sizing: border-; border-bottom-style: none; display: flex; color: rgb48, 57, 66; font-family: 'dejavu sans mono', monospace; font-size: 11.111111640930176px; line-height: normal; : rgb255, 255, 255;"><div ="console-user-command"="" style="-sizing: border-; clear: right; : relative; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb240, 240, 240; padding: 1px 22px 1px 0px; margin-left: 24px; min-height: 16px;"><span ="console-message-text="" source-code"="" style="-sizing: border-; white-space: pre-wrap; color: rgb0, 128, 255; font-size: 11px !imant;">console.log(oNode.height);</span><div ="console-message-wrapper"="" style="-sizing: border-; display: flex; color: rgb48, 57, 66; font-family: 'dejavu sans mono', monospace; font-size: 11.111111640930176px; line-height: normal; : rgb255, 255, 255;"><div ="console-message="" console-log-level="" console-user-command-result"="" style="-sizing: border-; clear: right; : relative; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb240, 240, 240; padding: 1px 22px 1px 0px; margin-left: 24px; min-height: 16px; flex: 1 1 auto;"><span ="console-message-text="" source-code"="" style="-sizing: border-; white-space: pre-wrap; font-size: 11px !imant;"><span style="-sizing: border-;"><span ="console-atted-="" source-code"="" style="-sizing: border-; : relative; display: inline-block; vertical-align: top; color: inherit; font-size: 11px !imant;"><span ="console--preview"="" style="-sizing: border-; font-style: italic;">Object {<span ="name"="" style="-sizing: border-; color: rgb136, 19, 145;">class</span>: <span ="console-atted-"="" style="-sizing: border-; color: rgb196, 26, 22; white-space: pre; unicode-bidi: -webkit-isolate;">"NaN"</span>}</span></span></span></span>
<div ="console-message-wrapper="" console-adjacent-user-command-result"="" style="-sizing: border-; border-bottom-style: none; display: flex; color: rgb48, 57, 66; font-family: 'dejavu sans mono', monospace; font-size: 11.111111640930176px; line-height: normal; : rgb255, 255, 255;"><div ="console-user-command"="" style="-sizing: border-; clear: right; : relative; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb240, 240, 240; padding: 1px 22px 1px 0px; margin-left: 24px; min-height: 16px;"><span ="console-message-text="" source-code"="" style="-sizing: border-; white-space: pre-wrap; color: rgb0, 128, 255; font-size: 11px !imant;">console.log(oNode.width);</span><div ="console-message-wrapper"="" style="-sizing: border-; display: flex; color: rgb48, 57, 66; font-family: 'dejavu sans mono', monospace; font-size: 11.111111640930176px; line-height: normal; : rgb255, 255, 255;"><div ="console-message="" console-log-level="" console-user-command-result"="" style="-sizing: border-; clear: right; : relative; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb240, 240, 240; padding: 1px 22px 1px 0px; margin-left: 24px; min-height: 16px; flex: 1 1 auto;"><span ="console-message-text="" source-code"="" style="-sizing: border-; white-space: pre-wrap; font-size: 11px !imant;"><span style="-sizing: border-;"><span ="console-atted-="" source-code"="" style="-sizing: border-; : relative; display: inline-block; vertical-align: top; color: inherit; font-size: 11px !imant;"><span ="console--preview"="" style="-sizing: border-; font-style: italic;">Object {<span ="name"="" style="-sizing: border-; color: rgb136, 19, 145;">class</span>: <span ="console-atted-"="" style="-sizing: border-; color: rgb196, 26, 22; white-space: pre; unicode-bidi: -webkit-isolate;">"NaN"</span>}</span></span></span></span>
Is this purely an issue with using custom SVG strings or is there a way around this?
Thanks in advance.