How to configure an inspector field to control multiple attributes at once? This demo shows one of the options: to define a custom element which binds a high-level attribute (textAlignment) to multiple presentation attributes (textAnchor, textVerticalAnchor. x, y).
Click on the object and change the text alignment and margin to see how the element's text behavior changes.
Only available with the JointJS+ commercial license in the apps/ directory of your package. Don't have a license yet? Start a trial and use the source code of all our demos for free, with no strings attached, for 30 days.