UNPKG

jointjs

Version:

JavaScript diagramming library

4 lines (2 loc) 249 B
<p>Same as <code>refX</code>. Useful when one needs to position an element absolutely and relatively at the same time.</p> <pre><code>{ refX: '50%', refX2: 20 } // moves the element by 50% of the referenced width plus extra 20 pixels.</code></pre>