style specific port in jointjs
问题 1) I'm using JointJS diagramming lib. I want to change the css of a particular inPort when using joint.shapes.devs . For linking sourcePort to the target I'm using source: { id: source.id, selector: source.getPortSelector(sourcePort)} It's giving me accurate source port, but how to apply css on this particular port after knowing it as my source connector? Is there a way? 2) Can we fit/wrap the label automatically inside the element if its width is longer than the element-width? I'm using