javascriptjointjsrappid

Has anyone had any success marking ports available when dragging shapes in jointjs?


Ports have the ability to be marked as available when a link is being dragged on the paper (markAvailable documentation). I would like to have the ports displayed whenever I mousedown over a shape. Is there any easy way to do this?


Solution

  • Found my element on the graph, manually manipulated the attributes of said element, then reset the canvas. Kind of dirty but its working for me.