how to connect two entities in ERD by using click event

117 views
Skip to first unread message

maqthadar khan

unread,
May 21, 2012, 11:08:17 AM5/21/12
to JointJS
hi...iam new to this joint js...i want to know how to connect two
entities by clicking on them..for ex.there are two rectangles
dynamically created and when we click these two rectangles there
should form a path between them dynamically through event
functions.can any one tell me ..my code is
rec.wrapper.click(function()
{
firstobject=this.node;
the above statement is not working...
Reply all
Reply to author
Forward
0 new messages