jointjs - Replacing port circle with custom image, devs.Model -
i new jointjs. working shapes instances of joint.shapes.devs.model , trying replace circle, representing in/out port custom image. keep current functionality possible create new arrow dragging circle, snaplinks, , rest of great functionality offered jointjs. thing replace magnet/inport/circle image. possible? if so, how?
regards
it indeed possible. best way @ how joint.shapes.devs.model defined here: https://raw.githubusercontent.com/clientio/joint/master/plugins/shapes/joint.shapes.devs.js , create own custom shape has svg <image> element in ports instead of current <circle>.
Comments
Post a Comment