{"push_id":1027717944,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"42eef5c16e9f0e6a5d9cc2ef00d4f6a79e193abc","before":"9e38619066799cba6c9a6c77ed69b3d08b15dde7","commits":[{"sha":"dfa1ff584915a5d0517c02ea1f952aeaf464e357","author":{"email":"d65828e0e5d3a7da1eeff236b882ad657281440d@concord.org","name":"Sam Fentress"},"message":"Upgrade jsPlumb -> 2.0.2\n\nWe need to move the data parameter to the actual link target so\nwe can find it when we try and create a link. (Don't actually\nknow how it was working before).\n\nWe also remove the connector style of the end points and targets,\nas this overwrites the defaults and makes a much curvier curve.\nRemoving them just uses the defaults.\n\n[#115793115]","distinct":true,"url":"https://api.github.com/repos/concord-consortium/building-models/commits/dfa1ff584915a5d0517c02ea1f952aeaf464e357"},{"sha":"42eef5c16e9f0e6a5d9cc2ef00d4f6a79e193abc","author":{"email":"d65828e0e5d3a7da1eeff236b882ad657281440d@concord.org","name":"Sam Fentress"},"message":"Make link-source useable while hovering over node\n\nThis is more annoying than it should be, because of the difficulty\nof using a hover state while another element (the jsPlumb canvas\nelement) is on top.\n\nFirst, the link circle is made to be always rendered, but with\nopacity zero. This provides a dom element for jsPlumb to attach\nthe drag source to, without needing to update jsPlumb on every\nhover state change.\n\nWe then add CSS to show the link circle on hover.\n\nWhen we mouse over the jsPlumb target, which is directly over the\nlink circle, we lose our hover state. Therefore, we attach a\nmouseover handler to the target, which adds a class to the circle\nto stay visible.\n\nWhen we start dragging away, we still want the handler to be\nvisible, so we attach a different class every time a new link\nis created.\n\nFinally, we want to make the circle invisible if we let go of the\nlink (either to attach or to abandon). This required upgrading\njsPlumb to 2.0.2, which was done in dfa1ff58491\n\n[#115793115]","distinct":true,"url":"https://api.github.com/repos/concord-consortium/building-models/commits/42eef5c16e9f0e6a5d9cc2ef00d4f6a79e193abc"}]}