Example use of joint.js