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.
The source code of this demo is available as part of the JointJS+ commercial license. Don't have a license yet? Start a trial and use the source code of this and many other demos for free, with no obligations, for 30 days.