You probably know that you can style your JointJS elements in many different ways by providing your own SVG markup. But did you know that you can use the same custom markup not only to define elements but also ports or link labels? Have a look at this example.
Demo instructions
Note that the same markups that are used to define elements are also used for ports and link labels.
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.