See the Pen
JointJS+: Text Position Based On Space Availability by JointJS (@jointjs)
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.
Available in the JointJS open-source library which helps developers create simple visual applications in less time.