You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jsp...@googlegroups.com
I am trying to plumb svg elements but the plumbing isn't quite working. It doesn't render the endpoints but it does render the connector. The connector is rendered to scale and with the right dimensions but not at the right x,y coordinates.
Any help you can provide is greatly appreciated. For what it is worth, once this issue is fixed I have a 100% working solution for zoom and pan of the entire canvas (using https://github.com/talos/jquery-svgpan works like a charm).
Thanks,
Alan
Alan Lindsay
unread,
Feb 7, 2013, 7:54:55 PM2/7/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jsp...@googlegroups.com
Here are a couple images that show the problem. You can also see that the zoom and pan works perfectly on the svg elements and connectors.
The correct connection is between two divs. The incorrect connection is between two svg rect elements:
Here is it zoomed out:
Alan Lindsay
unread,
Mar 13, 2013, 7:06:56 PM3/13/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jsp...@googlegroups.com
Can you give any indication as to whether or not you plan on adding support for connecting svg elements in the future?
Alan
Simon Porritt
unread,
Mar 13, 2013, 9:25:46 PM3/13/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jsp...@googlegroups.com
as far as i know, jsplumb does connect svg elements correctly.
note that here what is connected is two svg elements, not rect elements. you couldn't make a rect draggable using jquery. it does not use the same values for positioning as a regular dom element. but an svg element does.
Alan Lindsay
unread,
Apr 9, 2013, 1:36:00 PM4/9/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message